forked from ISTI-ansible-roles/ansible-roles
ControlPersist=600s parameter in ansible on shell
This commit is contained in:
parent
ba2d9ab5b2
commit
89a6d45d6e
|
@ -25,6 +25,7 @@ ansible_config_options:
|
||||||
- { section: 'defaults', option: 'gathering', value: '{{ ansible_gathering }}', state: 'present' }
|
- { section: 'defaults', option: 'gathering', value: '{{ ansible_gathering }}', state: 'present' }
|
||||||
- { section: 'defaults', option: 'host_key_checking', value: False, state: 'present' }
|
- { section: 'defaults', option: 'host_key_checking', value: False, state: 'present' }
|
||||||
- { section: 'defaults', option: 'command_warnings', value: '{{ ansible_command_warnings }}', state: 'present' }
|
- { section: 'defaults', option: 'command_warnings', value: '{{ ansible_command_warnings }}', state: 'present' }
|
||||||
|
- { section: 'defaults', option: 'ssh_args', value: '-o ControlMaster=auto -o ControlPersist=60s', state: 'present' }
|
||||||
- { section: 'defaults', option: 'control_path', value: '{{ ansible_control_path }}', state: 'present' }
|
- { section: 'defaults', option: 'control_path', value: '{{ ansible_control_path }}', state: 'present' }
|
||||||
- { section: 'defaults', option: 'ansible_managed', value: 'Ansible managed: {file} on {host}', state: 'present' }
|
- { section: 'defaults', option: 'ansible_managed', value: 'Ansible managed: {file} on {host}', state: 'present' }
|
||||||
- { section: 'defaults', option: 'action_plugins', value: '{{ ansible_plugins_base_dir }}/action', state: 'present' }
|
- { section: 'defaults', option: 'action_plugins', value: '{{ ansible_plugins_base_dir }}/action', state: 'present' }
|
||||||
|
|
Loading…
Reference in New Issue