lets reconfigure ansible with ansible
This commit is contained in:
@@ -44,3 +44,9 @@ ansible cibles -o -m community.general.sudoers -a 'name="ansible" user=ansible c
|
||||
```bash
|
||||
ansible cibles -u formation -k -m ansible.posix.authorized_key -a 'key={{ lookup( "file", "~/.ssh/id_rsa.pub") }} user=ansible'
|
||||
```
|
||||
|
||||
```bash
|
||||
ansible localhost -m community.general.ini_file -a 'option=remote_user value=ansible section=defaults path=/etc/ansible/ansible.cfg'
|
||||
ansible localhost -m community.general.ini_file -a 'option=ask_pass value=False section=defaults path=/etc/ansible/ansible.cfg'
|
||||
ansible localhost -m community.general.ini_file -a 'option=become_ask_pass value=False section=privilege_escalation path=/etc/ansible/ansible.cfg'
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user