[ansible] Add download0 nfs
by Nicolas Chauvet
commit 615cc9eec10fb1b5c89be8df7bf99ff11adc3889
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Dec 5 21:57:02 2016 +0100
Add download0 nfs
.../server/files/hv01.online.rpmfusion.net-exports | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/roles/nfs/server/files/hv01.online.rpmfusion.net-exports b/roles/nfs/server/files/hv01.online.rpmfusion.net-exports
index 20cffa5..5010583 100644
--- a/roles/nfs/server/files/hv01.online.rpmfusion.net-exports
+++ b/roles/nfs/server/files/hv01.online.rpmfusion.net-exports
@@ -1,2 +1,3 @@
+/srv/nfs/rpmfusion_ftp/download0.rpmfusion.org/pub 192.168.181.137/32(rw)
/srv/nfs/rpmfusion_sourcecache 192.168.181.137/32(rw)
/srv/nfs/rpmfusion_koji 192.168.181.137/32(rw) 192.168.181.0/24(ro) 192.168.182.0/24(ro)
8 years, 1 month
[ansible] Remove spurious fedora.redhat.com domains
by Nicolas Chauvet
commit 418a0473c646c20c7b1e1f94c95c3487acf0cda0
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Dec 5 19:21:12 2016 +0100
Remove spurious fedora.redhat.com domains
roles/base/files/postfix/main.cf/main.cf | 2 +-
.../main.cf/main.cf.hv01.online.rpmfusion.net | 2 +-
roles/base/files/postfix/main.cf/main.cf.online | 2 +-
roles/base/files/postfix/main.cf/main.cf.scaleway | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/roles/base/files/postfix/main.cf/main.cf b/roles/base/files/postfix/main.cf/main.cf
index a850c76..5d152fc 100644
--- a/roles/base/files/postfix/main.cf/main.cf
+++ b/roles/base/files/postfix/main.cf/main.cf
@@ -156,7 +156,7 @@ inet_interfaces = all
#
# See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
#
-mydestination = $myhostname, localhost.$mydomain, fedora.redhat.com, localhost
+mydestination = $myhostname, localhost.$mydomain, localhost
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
# mail.$mydomain, www.$mydomain, ftp.$mydomain
diff --git a/roles/base/files/postfix/main.cf/main.cf.hv01.online.rpmfusion.net b/roles/base/files/postfix/main.cf/main.cf.hv01.online.rpmfusion.net
index fbd3e6b..4ce3df6 100644
--- a/roles/base/files/postfix/main.cf/main.cf.hv01.online.rpmfusion.net
+++ b/roles/base/files/postfix/main.cf/main.cf.hv01.online.rpmfusion.net
@@ -156,7 +156,7 @@ inet_interfaces = all
#
# See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
#
-mydestination = $myhostname, localhost.$mydomain, fedora.redhat.com, localhost
+mydestination = $myhostname, localhost.$mydomain, localhost
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
# mail.$mydomain, www.$mydomain, ftp.$mydomain
diff --git a/roles/base/files/postfix/main.cf/main.cf.online b/roles/base/files/postfix/main.cf/main.cf.online
index 00458f6..c0baf16 100644
--- a/roles/base/files/postfix/main.cf/main.cf.online
+++ b/roles/base/files/postfix/main.cf/main.cf.online
@@ -156,7 +156,7 @@ inet_interfaces = all
#
# See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
#
-mydestination = $myhostname, localhost.$mydomain, fedora.redhat.com, localhost
+mydestination = $myhostname, localhost.$mydomain, localhost
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
# mail.$mydomain, www.$mydomain, ftp.$mydomain
diff --git a/roles/base/files/postfix/main.cf/main.cf.scaleway b/roles/base/files/postfix/main.cf/main.cf.scaleway
index dfdb0c7..de1cdd9 100644
--- a/roles/base/files/postfix/main.cf/main.cf.scaleway
+++ b/roles/base/files/postfix/main.cf/main.cf.scaleway
@@ -156,7 +156,7 @@ inet_interfaces = all
#
# See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
#
-mydestination = $myhostname, localhost.$mydomain, fedora.redhat.com, localhost
+mydestination = $myhostname, localhost.$mydomain, localhost
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
# mail.$mydomain, www.$mydomain, ftp.$mydomain
8 years, 1 month
[ansible] Update aliases for hv01
by Nicolas Chauvet
commit d1d1494cb52099cf808a37b07625fd58edd2bf65
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Dec 5 19:12:35 2016 +0100
Update aliases for hv01
files/aliases.template | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/files/aliases.template b/files/aliases.template
index ac0e219..9efd22b 100644
--- a/files/aliases.template
+++ b/files/aliases.template
@@ -93,6 +93,23 @@ decode: root
root: root(a)rpmfusion.net
rpmfusion: root(a)rpmfusion.net
+# rpmfusion.net (low-level stuff)
+root(a)rpmfusion.net matthias(a)saou.eu, lxtnow(a)gmail.com, kwizart+rfsystem(a)kwizart.net
+postmaster(a)rpmfusion.net root(a)rpmfusion.net
+
+# rpmfusion.org (visible stuff)
+root(a)rpmfusion.org root(a)rpmfusion.net
+postmaster(a)rpmfusion.org root(a)rpmfusion.net
+noreply(a)rpmfusion.org nobody
+buildsys(a)rpmfusion.org root(a)rpmfusion.net
+accounts(a)rpmfusion.org root(a)rpmfusion.net
+cvsadmin(a)rpmfusion.org rpmfusion-cvsadmin(a)lists.rpmfusion.org
+sysadmin(a)rpmfusion.org root(a)rpmfusion.net
+rpmfusion-package-review(a)rpmfusion.org rpmfusion-developers(a)lists.rpmfusion.org
+
+# rpmfusion.org (user override)
+kwizart kwizart+rpmfusion(a)kwizart.net
+
# Bodhi & pkgdb aliases
updates: /dev/null
pkgdb: /dev/null
8 years, 1 month
[puppet] Sync with git.rf.o/infrastructure/dns
by Nicolas Chauvet
commit 78d62ab92835a3c295b23c8159aef2f27d062016
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Dec 5 17:47:45 2016 +0100
Sync with git.rf.o/infrastructure/dns
files/dns/rpmfusion.net | 19 ++++++-------------
files/dns/rpmfusion.org | 20 +++++---------------
2 files changed, 11 insertions(+), 28 deletions(-)
---
diff --git a/files/dns/rpmfusion.net b/files/dns/rpmfusion.net
index 682b19e..2b8356a 100644
--- a/files/dns/rpmfusion.net
+++ b/files/dns/rpmfusion.net
@@ -1,6 +1,6 @@
$TTL 5M
-@ IN SOA ns1.rpmfusion.net. matthias.saou.eu. (
- 2016071601 ; Serial
+@ IN SOA ns1.rpmfusion.net. root.rpmfusion.org. (
+ 2016120302 ; Serial
6H ; Refresh
1H ; Retry
5W ; Expire
@@ -11,22 +11,15 @@ $TTL 5M
@ IN MX 10 mx1.rpmfusion.net.
-@ 600 IN TXT "v=spf1 a mx ip4:46.105.55.71/32 ip6:2001:41d0:2:ad32::1/128 ~all"
+@ 600 IN TXT "v=spf1 a mx ip4:46.105.55.71/32 ip4:195.154.185.75/32 ip6:2001:41d0:2:ad32::1/128 ~all"
-@ IN A 46.105.55.72 ; se02.ovh
- IN AAAA 2001:41d0:2:ad32::2 ; se02.ovh
-www IN A 46.105.55.72 ; se02.ovh
- IN AAAA 2001:41d0:2:ad32::2 ; se02.ovh
+@ IN A 212.129.31.198 ; pkgs01.online
+www IN A 212.129.31.198 ; pkgs01.online
-ns1 IN A 46.105.55.71 ; se01.ovh
- IN AAAA 2001:41d0:2:ad32::1 ; se01.ovh
+ns1 IN A 195.154.185.75 ; hv01.online
mx1 IN A 46.105.55.71 ; se01.ovh
IN AAAA 2001:41d0:2:ad32::1 ; se01.ovh
-;se01.es IN A 195.10.6.129
-;se02.es IN A 195.10.6.64
-;se03.es IN A 195.10.6.63
-
hv02.ovh IN A 188.165.226.50
hv02.ovh IN AAAA 2001:41d0:2:ad32::cafe
diff --git a/files/dns/rpmfusion.org b/files/dns/rpmfusion.org
index d781737..fad1e41 100644
--- a/files/dns/rpmfusion.org
+++ b/files/dns/rpmfusion.org
@@ -1,6 +1,6 @@
$TTL 5M
-@ IN SOA ns1.rpmfusion.net. matthias.saou.eu. (
- 2016112601 ; Serial
+@ IN SOA ns1.rpmfusion.net. root.rpmfusion.org. (
+ 2016120302 ; Serial
6H ; Refresh
1H ; Retry
5W ; Expire
@@ -11,24 +11,15 @@ $TTL 5M
@ IN MX 10 mx1.rpmfusion.net.
-@ 600 IN TXT "v=spf1 a mx ip4:46.105.55.71/32 ip6:2001:41d0:2:ad32::1/128 ~all"
+@ 600 IN TXT "v=spf1 a mx ip4:46.105.55.71/32 ip4:195.154.185.75/32 ip6:2001:41d0:2:ad32::1/128 ~all"
@ IN A 212.129.31.198 ; pkgs01.online
-; IN AAAA 2001:41d0:2:ad32::2 ; se02.ovh
www IN A 212.129.31.198 ; pkgs01.online
-; IN AAAA 2001:41d0:2:ad32::2 ; se02.ovh
-;lists IN A 195.10.6.136 ; mx32b04
-; IN MX 10 mx2.es6.egwn.net.
lists IN A 46.105.55.71 ; se01.ovh
IN AAAA 2001:41d0:2:ad32::1 ; se01.ovh
IN MX 10 mx1.rpmfusion.net.
-bugzilla IN A 212.129.31.198 ; hv01.online / bugzilla02
-;fas IN A 195.10.6.64 ; se02.es
-;cvs IN A 195.10.6.64 ; se02.es
-;ldap IN A 195.10.6.64 ; se02.es
-;buildsys IN A 195.10.6.63 ; se03.es
fas IN A 46.105.55.73 ; se03.ovh / old02.ovh
cvs IN A 46.105.55.73 ; se03.ovh / old02.ovh
ldap IN A 46.105.55.73 ; se03.ovh / old02.ovh
@@ -40,13 +31,12 @@ puppet01 IN CNAME hv02.ovh.rpmfusion.net. ; ports 8140:8140
scm1 IN A 212.129.31.200 ; rf03.fr
git IN A 212.129.31.200 ; rf03.fr
admin IN A 212.129.31.198 ; pkgs01.online
-bugzilla02 IN A 212.129.31.198 ; pkgs01.online
+bugzilla IN A 212.129.31.198 ; pkgs01.online
id IN A 212.129.31.198 ; pkgs01.online
pkgs IN A 212.129.31.198 ; pkgs01.online
-download0 IN CNAME hv02.ovh.rpmfusion.net.
+download0 IN A 212.129.31.198 ; pkgs01.online
download1 IN A 193.28.235.60
-;download2 IN CNAME ftp.egwn.net.
mirrors IN A 81.169.241.26
IN A 163.172.151.63
IN A 78.47.19.71
8 years, 1 month
[ansible] Introduce custom_nat_rules
by Nicolas Chauvet
commit 1a66ddec2c919ae6261f99e99a8cf81370d00e0d
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Dec 3 17:37:40 2016 +0100
Introduce custom_nat_rules
inventory/host_vars/hv01.online.rpmfusion.net | 4 ++--
roles/base/templates/iptables/iptables | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/inventory/host_vars/hv01.online.rpmfusion.net b/inventory/host_vars/hv01.online.rpmfusion.net
index f922d39..e6f0b4a 100644
--- a/inventory/host_vars/hv01.online.rpmfusion.net
+++ b/inventory/host_vars/hv01.online.rpmfusion.net
@@ -14,5 +14,5 @@ udp_ports: ['53', '1194']
custom_rules: [ '-A FORWARD -d 192.168.181.0/24 -o br1 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT' , '-A FORWARD -s 192.168.181.0/24 -i br1 -j ACCEPT', '-A INPUT -i br1 -p tcp -m tcp --dport 111 -j ACCEPT', '-A INPUT -i tun0 -p tcp -m tcp --dport 111 -j ACCEPT' ,'-A INPUT -i br1 -p tcp -m tcp --dport 662 -j ACCEPT' , '-A INPUT -i tun0 -p tcp -m tcp --dport 662 -j ACCEPT', '-A INPUT -i br1 -p tcp -m tcp --dport 892 -j ACCEPT' , '-A INPUT -i tun0 -p tcp -m tcp --dport 892 -j ACCEPT', '-A INPUT -i br1 -p tcp -m tcp --dport 2049 -j ACCEPT', '-A INPUT -i tun0 -p tcp -m tcp --dport 2049 -j ACCEPT', '-A INPUT -i br1 -p udp -m udp --dport 2049 -j ACCEPT', '-A INPUT -i tun0 -p udp -m udp --dport 2049 -j ACCEPT', '-A INPUT -i br1 -p tcp -m tcp --dport 32803 -j ACCEPT', '-A INPUT -i tun0 -p tcp -m tcp --dport 32803 -j ACCEPT', '-A INPUT -i br1 -p udp -m udp --dport 32769 -j ACCEPT', '-A INPUT -i tun0 -p udp -m udp --dport 32769 -j ACCEPT' , '-A INPUT -i br1 -p tcp -m tcp --dp
ort 3128 -j ACCEPT', '-A INPUT -i tun0 -p tcp -m tcp --dport 3128 -j ACCEPT']
-# hack
-#Need missing "iptables -t nat -A POSTROUTING -o br0 -j MASQUERADE"
+custom_nat_rules: ['-A POSTROUTING -o br0 -j MASQUERADE' ]
+
diff --git a/roles/base/templates/iptables/iptables b/roles/base/templates/iptables/iptables
index a059489..e567479 100644
--- a/roles/base/templates/iptables/iptables
+++ b/roles/base/templates/iptables/iptables
@@ -49,3 +49,20 @@
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
COMMIT
+
+# nat table
+*nat
+:PREROUTING ACCEPT [0:0]
+:INPUT ACCEPT [0:0]
+:OUTPUT ACCEPT [0:0]
+:POSTROUTING ACCEPT [0:0]
+
+# custom_nat_rules
+{% if custom_nat_rules is defined %}
+{% for rule in custom_nat_rules %}
+{{ rule }}
+{% endfor %}
+{% endif %}
+
+COMMIT
+
8 years, 1 month
[ansible] Update hack
by Nicolas Chauvet
commit 4e072d525c037ef0dd3d41fd0a990b763226bb48
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Dec 3 17:24:48 2016 +0100
Update hack
inventory/host_vars/hv01.online.rpmfusion.net | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/inventory/host_vars/hv01.online.rpmfusion.net b/inventory/host_vars/hv01.online.rpmfusion.net
index 989c5bc..f922d39 100644
--- a/inventory/host_vars/hv01.online.rpmfusion.net
+++ b/inventory/host_vars/hv01.online.rpmfusion.net
@@ -15,4 +15,4 @@ udp_ports: ['53', '1194']
custom_rules: [ '-A FORWARD -d 192.168.181.0/24 -o br1 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT' , '-A FORWARD -s 192.168.181.0/24 -i br1 -j ACCEPT', '-A INPUT -i br1 -p tcp -m tcp --dport 111 -j ACCEPT', '-A INPUT -i tun0 -p tcp -m tcp --dport 111 -j ACCEPT' ,'-A INPUT -i br1 -p tcp -m tcp --dport 662 -j ACCEPT' , '-A INPUT -i tun0 -p tcp -m tcp --dport 662 -j ACCEPT', '-A INPUT -i br1 -p tcp -m tcp --dport 892 -j ACCEPT' , '-A INPUT -i tun0 -p tcp -m tcp --dport 892 -j ACCEPT', '-A INPUT -i br1 -p tcp -m tcp --dport 2049 -j ACCEPT', '-A INPUT -i tun0 -p tcp -m tcp --dport 2049 -j ACCEPT', '-A INPUT -i br1 -p udp -m udp --dport 2049 -j ACCEPT', '-A INPUT -i tun0 -p udp -m udp --dport 2049 -j ACCEPT', '-A INPUT -i br1 -p tcp -m tcp --dport 32803 -j ACCEPT', '-A INPUT -i tun0 -p tcp -m tcp --dport 32803 -j ACCEPT', '-A INPUT -i br1 -p udp -m udp --dport 32769 -j ACCEPT', '-A INPUT -i tun0 -p udp -m udp --dport 32769 -j ACCEPT' , '-A INPUT -i br1 -p tcp -m tcp --dp
ort 3128 -j ACCEPT', '-A INPUT -i tun0 -p tcp -m tcp --dport 3128 -j ACCEPT']
# hack
-#Need missing "iptables -A POSTROUTING -o br1 -j MASQUERADE"
+#Need missing "iptables -t nat -A POSTROUTING -o br0 -j MASQUERADE"
8 years, 1 month
[ansible] Typo
by Nicolas Chauvet
commit 465b8cd5fb4b7c3e7310ea2fe6a419b95865cf1f
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Dec 3 16:50:19 2016 +0100
Typo
inventory/host_vars/hv01.online.rpmfusion.net | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/inventory/host_vars/hv01.online.rpmfusion.net b/inventory/host_vars/hv01.online.rpmfusion.net
index df70057..989c5bc 100644
--- a/inventory/host_vars/hv01.online.rpmfusion.net
+++ b/inventory/host_vars/hv01.online.rpmfusion.net
@@ -10,7 +10,7 @@ br1_ip: 192.168.181.254
br1_nm: 255.255.255.0
tcp_ports: ['22', '25', '53', '1194']
-udp_ports: ['53', 1194']
+udp_ports: ['53', '1194']
custom_rules: [ '-A FORWARD -d 192.168.181.0/24 -o br1 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT' , '-A FORWARD -s 192.168.181.0/24 -i br1 -j ACCEPT', '-A INPUT -i br1 -p tcp -m tcp --dport 111 -j ACCEPT', '-A INPUT -i tun0 -p tcp -m tcp --dport 111 -j ACCEPT' ,'-A INPUT -i br1 -p tcp -m tcp --dport 662 -j ACCEPT' , '-A INPUT -i tun0 -p tcp -m tcp --dport 662 -j ACCEPT', '-A INPUT -i br1 -p tcp -m tcp --dport 892 -j ACCEPT' , '-A INPUT -i tun0 -p tcp -m tcp --dport 892 -j ACCEPT', '-A INPUT -i br1 -p tcp -m tcp --dport 2049 -j ACCEPT', '-A INPUT -i tun0 -p tcp -m tcp --dport 2049 -j ACCEPT', '-A INPUT -i br1 -p udp -m udp --dport 2049 -j ACCEPT', '-A INPUT -i tun0 -p udp -m udp --dport 2049 -j ACCEPT', '-A INPUT -i br1 -p tcp -m tcp --dport 32803 -j ACCEPT', '-A INPUT -i tun0 -p tcp -m tcp --dport 32803 -j ACCEPT', '-A INPUT -i br1 -p udp -m udp --dport 32769 -j ACCEPT', '-A INPUT -i tun0 -p udp -m udp --dport 32769 -j ACCEPT' , '-A INPUT -i br1 -p tcp -m tcp --dp
ort 3128 -j ACCEPT', '-A INPUT -i tun0 -p tcp -m tcp --dport 3128 -j ACCEPT']
8 years, 1 month
[ansible] Add dns ports
by Nicolas Chauvet
commit 892d78434b54514910c82991b4173554e8eb0fbc
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Dec 3 16:26:26 2016 +0100
Add dns ports
inventory/host_vars/hv01.online.rpmfusion.net | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/inventory/host_vars/hv01.online.rpmfusion.net b/inventory/host_vars/hv01.online.rpmfusion.net
index 8950c74..df70057 100644
--- a/inventory/host_vars/hv01.online.rpmfusion.net
+++ b/inventory/host_vars/hv01.online.rpmfusion.net
@@ -9,8 +9,8 @@ br0_nm: 255.255.255.0
br1_ip: 192.168.181.254
br1_nm: 255.255.255.0
-tcp_ports: ['22', '25', '1194']
-udp_ports: ['1194']
+tcp_ports: ['22', '25', '53', '1194']
+udp_ports: ['53', 1194']
custom_rules: [ '-A FORWARD -d 192.168.181.0/24 -o br1 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT' , '-A FORWARD -s 192.168.181.0/24 -i br1 -j ACCEPT', '-A INPUT -i br1 -p tcp -m tcp --dport 111 -j ACCEPT', '-A INPUT -i tun0 -p tcp -m tcp --dport 111 -j ACCEPT' ,'-A INPUT -i br1 -p tcp -m tcp --dport 662 -j ACCEPT' , '-A INPUT -i tun0 -p tcp -m tcp --dport 662 -j ACCEPT', '-A INPUT -i br1 -p tcp -m tcp --dport 892 -j ACCEPT' , '-A INPUT -i tun0 -p tcp -m tcp --dport 892 -j ACCEPT', '-A INPUT -i br1 -p tcp -m tcp --dport 2049 -j ACCEPT', '-A INPUT -i tun0 -p tcp -m tcp --dport 2049 -j ACCEPT', '-A INPUT -i br1 -p udp -m udp --dport 2049 -j ACCEPT', '-A INPUT -i tun0 -p udp -m udp --dport 2049 -j ACCEPT', '-A INPUT -i br1 -p tcp -m tcp --dport 32803 -j ACCEPT', '-A INPUT -i tun0 -p tcp -m tcp --dport 32803 -j ACCEPT', '-A INPUT -i br1 -p udp -m udp --dport 32769 -j ACCEPT', '-A INPUT -i tun0 -p udp -m udp --dport 32769 -j ACCEPT' , '-A INPUT -i br1 -p tcp -m tcp --dp
ort 3128 -j ACCEPT', '-A INPUT -i tun0 -p tcp -m tcp --dport 3128 -j ACCEPT']
8 years, 1 month
[ansible] Add vmhost condition
by Nicolas Chauvet
commit 24475b11ed23d31d4013da411b3f8a9a6f1ecfc0
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Dec 3 16:19:01 2016 +0100
Add vmhost condition
playbooks/groups/dns.yml | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/playbooks/groups/dns.yml b/playbooks/groups/dns.yml
index 11ae328..ee69526 100644
--- a/playbooks/groups/dns.yml
+++ b/playbooks/groups/dns.yml
@@ -1,6 +1,7 @@
# create a new dns server
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=dns"
+ when: vmhost is defined
- name: make the box be real
hosts: dns
8 years, 1 month