app/models/setting/ansible.rb in foreman_ansible-2.2.14 vs app/models/setting/ansible.rb in foreman_ansible-2.3.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + class Setting # Provide settings related with Ansible class Ansible < ::Setting class << self # It would be more disadvantages than advantages to split up @@ -57,21 +59,21 @@ ), set( 'ansible_post_provision_timeout', N_('Timeout (in seconds) to set when Foreman will trigger a '\ 'play Ansible roles task after a host is fully provisioned. '\ - 'Set this to the maximum time you expect a host to take until'\ - ' it is ready after a reboot.'), + 'Set this to the maximum time you expect a host to take '\ + 'until it is ready after a reboot.'), '360', N_('Post-provision timeout') ), set( 'top_level_ansible_vars', N_('Whether to put Ansible parameters in the "hostvars" '\ 'top-level key of the inventory. By default it is true, so '\ - 'that Host Parameters can be used directly in the playbooks.'\ - 'When false, Host Parameters can only be accessed through'\ - 'foreman_params["host_parameter"] in the playbooks.'), + 'that Host Parameters can be used directly in the '\ + 'playbooks. When false, Host Parameters can only be accessed '\ + 'through foreman_params["host_parameter"] in the playbooks.'), true, N_('Top level Ansible variables') ), set( 'ansible_interval',