add private_key_file option
This commit is contained in:
@@ -52,4 +52,8 @@ ansible cibles -u formation -k -m ansible.posix.authorized_key -a 'key={{ lookup
|
|||||||
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=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=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'
|
ansible localhost -m community.general.ini_file -a 'option=become_ask_pass value=False section=privilege_escalation path=/etc/ansible/ansible.cfg'
|
||||||
|
ansible localhost -m community.general.ini_file -a 'option=private_key_file value=CHANGEME section=defaults path=/etc/ansible/ansible.cfg'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
l'ajout de l'option _private_key_file_ est nécessaire si la paire de clé générée pendant l'atelier n'est pas "standard" (!= ~formation/.ssh/id_rsa )
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user