mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
split installing out of main.yml
This commit is contained in:
parent
8cad64c34a
commit
ea44bcaf05
2 changed files with 36 additions and 28 deletions
34
roles/network/tasks/installing.yml
Normal file
34
roles/network/tasks/installing.yml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# only needs to be done once
|
||||||
|
- include: named.yml
|
||||||
|
tags:
|
||||||
|
- named
|
||||||
|
- network
|
||||||
|
when: named_install
|
||||||
|
|
||||||
|
- include: dhcpd.yml
|
||||||
|
tags:
|
||||||
|
- dhcpd
|
||||||
|
- network
|
||||||
|
when: dhcpd_install
|
||||||
|
|
||||||
|
- include: dnsmasq.yml
|
||||||
|
tags:
|
||||||
|
- dnsmasq
|
||||||
|
- network
|
||||||
|
when: dnsmasq_install
|
||||||
|
|
||||||
|
- include: squid.yml
|
||||||
|
tags:
|
||||||
|
- squid
|
||||||
|
- network
|
||||||
|
when: squid_install
|
||||||
|
|
||||||
|
- include: wondershaper.yml
|
||||||
|
tags:
|
||||||
|
- wondershaper
|
||||||
|
- network
|
||||||
|
|
||||||
|
- include: iptables.yml
|
||||||
|
tags:
|
||||||
|
- iptables
|
||||||
|
- network
|
|
@ -52,39 +52,13 @@
|
||||||
##### end hostname setup
|
##### end hostname setup
|
||||||
##### start install portion
|
##### start install portion
|
||||||
# only needs to be done once
|
# only needs to be done once
|
||||||
- include: named.yml
|
- include: installing.yml
|
||||||
tags:
|
tags:
|
||||||
|
- network
|
||||||
- named
|
- named
|
||||||
- network
|
|
||||||
when: named_install
|
|
||||||
|
|
||||||
- include: dhcpd.yml
|
|
||||||
tags:
|
|
||||||
- dhcpd
|
- dhcpd
|
||||||
- network
|
|
||||||
when: dhcpd_install
|
|
||||||
|
|
||||||
- include: dnsmasq.yml
|
|
||||||
tags:
|
|
||||||
- dnsmasq
|
- dnsmasq
|
||||||
- network
|
|
||||||
when: dnsmasq_install
|
|
||||||
|
|
||||||
- include: squid.yml
|
|
||||||
tags:
|
|
||||||
- squid
|
- squid
|
||||||
- network
|
|
||||||
when: squid_install
|
|
||||||
|
|
||||||
- include: wondershaper.yml
|
|
||||||
tags:
|
|
||||||
- wondershaper
|
|
||||||
- network
|
|
||||||
|
|
||||||
- include: iptables.yml
|
|
||||||
tags:
|
|
||||||
- iptables
|
|
||||||
- network
|
|
||||||
|
|
||||||
- include: avahi.yml
|
- include: avahi.yml
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue