1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

network install once

This commit is contained in:
Jerry Vonau 2017-09-24 14:27:06 -05:00
parent ea44bcaf05
commit 8bb6166914

View file

@ -15,6 +15,8 @@
src=network/hostname.j2
owner=root
mode=0644
when: is_debuntu
register: hostname_change
tags:
- network
- domain
@ -25,6 +27,8 @@
owner=root
group=root
mode=0644
when: is_redhat
register: hostname_change
tags:
- network
- domain
@ -35,7 +39,6 @@
mode=0644
with_items:
- iiab_domain_name
register: domainname
tags:
- network
- domain
@ -48,17 +51,20 @@
- include: hosts.yml
tags:
- network
- domain
##### end hostname setup
##### start install portion
# only needs to be done once
- include: installing.yml
when: hostname_change.changed or installing
tags:
- network
- named
- dhcpd
- dnsmasq
- squid
- domain
- include: avahi.yml
tags: