Premier commit
This commit is contained in:
commit
518c7ab04b
49 files changed
+1120
No files matched your search
@@ -0,0 +1,12 @@
|
||||
- name: Register
|
||||
hosts: all
|
||||
tasks:
|
||||
- name: "DNS configuration"
|
||||
ansible.builtin.shell:
|
||||
cmd: cat /etc/resolv.conf
|
||||
register: dns_conf
|
||||
|
||||
- name: Afficher la sortie de la commande
|
||||
ansible.builtin.debug:
|
||||
msg: "La configuration DNS est : {{ dns_conf.stdout }}"
|
||||
|
||||
Reference in new issue
Block a user