This shows you the differences between two versions of the page.
Both sides previous 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 |