2015-05-28 11:32:57 +02:00
|
|
|
---
|
|
|
|
# ansible PKG state: latest, installed, absent
|
|
|
|
ansible_pkg_state: latest
|
|
|
|
ansible_cfg_file: /etc/ansible/ansible.cfg
|
|
|
|
# options: smart, implicit, explicit.
|
|
|
|
ansible_gathering: smart
|
|
|
|
ansible_command_warnings: True
|
2016-03-15 20:25:54 +01:00
|
|
|
ansible_control_path: '%(directory)s/ansible-ssh-%%h-%%p-%%r'
|
2015-05-28 11:32:57 +02:00
|
|
|
#
|
|
|
|
# Note: it breaks sudo if there's 'requiretty' inside the sudoers file
|
|
|
|
ansible_pipelining: True
|
2016-03-15 20:25:54 +01:00
|
|
|
|
|
|
|
# Plugins base directory
|
|
|
|
ansible_plugins_base_dir: /usr/share/ansible/plugins
|
|
|
|
ansible_plugins_dirs:
|
|
|
|
- '{{ ansible_plugins_base_dir }}/action'
|
|
|
|
- '{{ ansible_plugins_base_dir }}/callback'
|
|
|
|
- '{{ ansible_plugins_base_dir }}/connection'
|
|
|
|
- '{{ ansible_plugins_base_dir }}/lookup'
|
|
|
|
- '{{ ansible_plugins_base_dir }}/vars'
|
|
|
|
- '{{ ansible_plugins_base_dir }}/filter'
|
|
|
|
- '{{ ansible_plugins_base_dir }}/test'
|
|
|
|
|
|
|
|
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: 'control_path', value: '{{ ansible_control_path }}', state: 'present' }
|
|
|
|
- { section: 'defaults', option: 'ansible_managed', value: 'Ansible managed: {file} on {host}', state: 'present' }
|
|
|
|
- { section: 'defaults', option: 'bin_ansible_callbacks', value: False, state: 'present' }
|
|
|
|
- { section: 'defaults', option: 'fact_caching', value: 'memory', state: 'present' }
|
|
|
|
- { section: 'defaults', option: 'retry_files_enabled', value: True, state: 'present' }
|
|
|
|
- { section: 'defaults', option: 'retry_files_save_path', value: '~/.ansible_retry', state: 'present' }
|
|
|
|
- { section: 'ssh_connection', option: 'control_path', value: '{{ ansible_control_path }}', state: 'present' }
|
|
|
|
- { section: 'ssh_connection', option: 'pipelining', value: '{{ ansible_pipelining }}', state: 'present' }
|