ControlPersist=600s parameter in ansible on shell

This commit is contained in:
Tommaso Piccioli 2017-05-08 18:42:27 +02:00
parent ba2d9ab5b2
commit 89a6d45d6e
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ ansible_config_options:
- { section: 'defaults', option: 'gathering', value: '{{ ansible_gathering }}', 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: '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: 'ansible_managed', value: 'Ansible managed: {file} on {host}', state: 'present' }
- { section: 'defaults', option: 'action_plugins', value: '{{ ansible_plugins_base_dir }}/action', state: 'present' }