missing newline

This commit is contained in:
2022-06-30 14:18:18 +02:00
parent 047f78c910
commit b8f0eb56ad

View File

@@ -25,6 +25,7 @@ ansible centos -m service -a 'name=crond state=restarted'
ansible localhost -m openssh_keypair -a 'path=/home/formation/.ssh/id_rsa owner=formation group=formation' -u formation
#l'inversion des quotes permet l'utilisation du ! dans le mot de passe
ansible cibles -u formation -k -m user -a 'user=ansible password={{ "123Soleil!"| password_hash( "sha512", inventory_hostname ) }} create_home=yes home=/home/ansible'
ansible cibles -u formation -k -m lineinfile -a 'path=/etc/sudoers.d/ansible state=present create=yes line="ansible ALL=(ALL) NOPASSWD: ALL" validate="/usr/sbin/visudo -cf %s"'