app/models/setting/ansible.rb in foreman_ansible-1.4.6 vs app/models/setting/ansible.rb in foreman_ansible-1.5.0

- old
+ new

@@ -8,10 +8,11 @@ # rubocop:disable AbcSize # rubocop:disable MethodLength # rubocop:disable BlockLength def load_defaults return unless super + Setting::BLANK_ATTRS.push('ansible_ssh_private_key_file') transaction do [ set( 'ansible_port', N_('Use this port to connect to hosts '\ @@ -97,10 +98,9 @@ ) ].compact.each do |s| create(s.update(:category => 'Setting::Ansible')) end end - Setting::BLANK_ATTRS.push('ansible_ssh_private_key_file') true end def humanized_category N_('Ansible')