summaryrefslogtreecommitdiffstats
path: root/ansible/playbooks
diff options
context:
space:
mode:
authorChristophe Siraut <csiraut@entrouvert.com>2019-06-27 11:14:26 (GMT)
committerChristophe Siraut <csiraut@entrouvert.com>2019-06-27 15:25:11 (GMT)
commit48641cd9c155a54e7beb69895ac486ac5e7177b7 (patch)
tree83b181286f016bd459eae2404878e145595b3b6e /ansible/playbooks
downloadmisc-csiraut-48641cd9c155a54e7beb69895ac486ac5e7177b7.zip
misc-csiraut-48641cd9c155a54e7beb69895ac486ac5e7177b7.tar.gz
misc-csiraut-48641cd9c155a54e7beb69895ac486ac5e7177b7.tar.bz2
misc
Diffstat (limited to 'ansible/playbooks')
-rw-r--r--ansible/playbooks/check_network.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/ansible/playbooks/check_network.yaml b/ansible/playbooks/check_network.yaml
new file mode 100644
index 0000000..95cffbf
--- /dev/null
+++ b/ansible/playbooks/check_network.yaml
@@ -0,0 +1,8 @@
+---
+- hosts: node2.dev.saas.entrouvert.org
+ tasks:
+ - assert:
+ that:
+ - "inventory_hostname == ansible_fqdn"
+ - "ansible_eno1.macaddress == 'ac:1f:6b:44:55:84'"
+ - "ansible_default_ipv4 == 'ansible_default_ipv4'"