4 231
modifications
Ligne 39 : | Ligne 39 : | ||
Si nous voulons supprimer ce fichier : | Si nous voulons supprimer ce fichier : | ||
<pre>ansible -i ~/hosts -m file -a "path=/tmp/test state=absent" all</pre> | <pre>ansible -i ~/hosts -m file -a "path=/tmp/test state=absent" all</pre> | ||
=Vérifier si tous les outils ansible sont bien installés (ansible_facts checking)= | |||
<pre>ansible -i ~/hosts --user=root -m setup vm1.domain.tld</pre> | |||
=playbook= | =playbook= |