mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #1402 from jvonau/reinstall
Don't auto reinstall named, dhcpd when install is False
This commit is contained in:
commit
db7793beac
1 changed files with 8 additions and 8 deletions
|
@ -55,24 +55,24 @@
|
||||||
- hostname
|
- hostname
|
||||||
- domain
|
- domain
|
||||||
|
|
||||||
- name: Configuring wondershaper
|
- name: Configure wondershaper
|
||||||
include_tasks: wondershaper.yml
|
include_tasks: wondershaper.yml
|
||||||
when: wondershaper_install
|
when: wondershaper_install
|
||||||
tags:
|
tags:
|
||||||
- network
|
- network
|
||||||
- wondershaper
|
- wondershaper
|
||||||
|
|
||||||
- name: (Re)Installing named
|
- name: (Re)Install named
|
||||||
include_tasks: named.yml
|
include_tasks: named.yml
|
||||||
when: FQDN_changed and iiab_stage|int == 9
|
when: named_install and FQDN_changed and iiab_stage|int == 9
|
||||||
|
|
||||||
- name: (Re)Installing dhcpd
|
- name: (Re)Install dhcpd
|
||||||
include_tasks: dhcpd.yml
|
include_tasks: dhcpd.yml
|
||||||
when: FQDN_changed and iiab_stage|int == 9
|
when: dhcpd_install and FQDN_changed and iiab_stage|int == 9
|
||||||
|
|
||||||
- name: (Re)Installing Squid
|
- name: (Re)Install Squid
|
||||||
include_tasks: squid.yml
|
include_tasks: squid.yml
|
||||||
when: FQDN_changed and squid_install and iiab_stage|int == 9
|
when: squid_install and FQDN_changed and iiab_stage|int == 9
|
||||||
|
|
||||||
#### start services
|
#### start services
|
||||||
- include_tasks: avahi.yml
|
- include_tasks: avahi.yml
|
||||||
|
@ -104,7 +104,7 @@
|
||||||
tags:
|
tags:
|
||||||
- network
|
- network
|
||||||
|
|
||||||
- name: Netplan in use on ubuntu 18
|
- name: Netplan in use on Ubuntu 18
|
||||||
include_tasks: netplan.yml
|
include_tasks: netplan.yml
|
||||||
when: is_ubuntu_18
|
when: is_ubuntu_18
|
||||||
#and not installing
|
#and not installing
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue