This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ansible:ansible_install [2023/08/29 19:48] manu |
ansible:ansible_install [2024/07/26 14:36] (current) manu |
||
---|---|---|---|
Line 10: | Line 10: | ||
~/.ansible.cfg (in the home directory) | ~/.ansible.cfg (in the home directory) | ||
/etc/ansible/ansible.cfg | /etc/ansible/ansible.cfg | ||
+ | |||
+ | You can generate an Ansible configuration file, ansible.cfg, that lists all default settings as follows: | ||
+ | ansible-config init --disabled > ansible.cfg | ||
+ | |||
+ | Include available plugins to create a more complete Ansible configuration as follows: | ||
+ | ansible-config init --disabled -t all > ansible.cfg | ||
As specific user | As specific user | ||
Line 18: | Line 24: | ||
ansible 2.9.15 | ansible 2.9.15 | ||
config file = /etc/ansible/ansible.cfg | config file = /etc/ansible/ansible.cfg | ||
- | configured module search path = ['/home/tux/.ansible/plugins/ | + | configured module search path = ['/home/tux/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] |
- | modules', '/usr/share/ansible/plugins/modules'] | + | ansible python module location = /usr/lib/python3.6/site-packages/ansible |
- | ansible python module location = /usr/lib/python3.6/site- | + | |
- | packages/ansible | + | |
executable location = /usr/bin/ansible | executable location = /usr/bin/ansible | ||
python version = 3.6.8 (default, Apr 16 2020, 01:36:27) | python version = 3.6.8 (default, Apr 16 2020, 01:36:27) |