Deploy network interfaces from LDAP

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
2021-06-04 17:02:54 +02:00
parent 50cb4cfc75
commit f1ac6f269b
18 changed files with 367 additions and 0 deletions

View File

@ -2,6 +2,7 @@
---
- import_playbook: root.yml
- import_playbook: network_interfaces.yml
- import_playbook: apt.yml
- import_playbook: ntp.yml
- import_playbook: ldap-client.yml

7
plays/network_interfaces.yml Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env ansible-playbook
---
- hosts: vm,!routeur
vars:
network_interfaces: "{{ glob_network_interfaces | default({}) | combine(loc_network_interfaces | default({})) }}"
roles:
- network-interfaces