4 231
modifications
Ligne 40 : | Ligne 40 : | ||
<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)= | =Vérifier si tous les outils nécessaire à ansible sont bien installés (ansible_facts checking)= | ||
<pre>ansible -i ~/hosts --user=root -m setup vm1.domain.tld</pre> | <pre>ansible -i ~/hosts --user=root -m setup vm1.domain.tld</pre> | ||