app/models/setting/ansible.rb in foreman_ansible-4.0.3.5 vs app/models/setting/ansible.rb in foreman_ansible-4.0.4

- old
+ new

@@ -5,12 +5,10 @@ class Ansible < ::Setting class << self # It would be more disadvantages than advantages to split up # default_settings into multiple methods, this way it's already very # manageable. - # rubocop:disable AbcSize - # rubocop:disable MethodLength def default_settings [ set( 'ansible_ssh_private_key_file', N_('Use this to supply a path to an SSH Private Key '\ @@ -83,11 +81,9 @@ 'Ansible Inventory', N_('Default Ansible inventory report template') ) ] end - # rubocop:enable AbcSize - # rubocop:enable MethodLength def load_defaults Setting::BLANK_ATTRS.push('ansible_ssh_private_key_file') super end