ansible-roles/ansible_ppa/defaults/main.yml

36 lines
1.9 KiB
YAML
Raw Normal View History

---
# 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
ansible_control_path: '%(directory)s/ansible-ssh-%%h-%%p-%%r'
#
# Note: it breaks sudo if there's 'requiretty' inside the sudoers file
ansible_pipelining: True
# 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' }