summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2018-05-19 22:21:24 +0200
committerMatthieu Saulnier <fantom@fedoraproject.org>2018-05-19 22:21:24 +0200
commited40742b0c886a294df2335231c27096414e608c (patch)
tree72a22e90c71798a2845c898a8164639029852d58
parentcda8ced266aa78679780202cb18e03b9f163b408 (diff)
downloadplaybooks-ansible-ed40742b0c886a294df2335231c27096414e608c.zip
playbooks-ansible-ed40742b0c886a294df2335231c27096414e608c.tar.gz
playbooks-ansible-ed40742b0c886a294df2335231c27096414e608c.tar.xz
Add more name servers for home subdomain zone and fix kdm task
-rw-r--r--roles/clients/tasks/kde.yml5
-rw-r--r--roles/dnsserver/files/casperlefantom.net.zone21
-rw-r--r--roles/dnsserver/files/home.casperlefantom.net.zone22
3 files changed, 37 insertions, 11 deletions
diff --git a/roles/clients/tasks/kde.yml b/roles/clients/tasks/kde.yml
index ace1b41..432d663 100644
--- a/roles/clients/tasks/kde.yml
+++ b/roles/clients/tasks/kde.yml
@@ -4,8 +4,9 @@
- name: Installation de KDM
dnf: name=kdm state=present
-- name: D├ęsactive GDM
+- name: D├ęsactivation GDM
service: name=gdm enabled=no
-- name: Active KDM
+- name: Activation KDM
service: name=kdm enabled=yes
+ ignore_errors: yes
diff --git a/roles/dnsserver/files/casperlefantom.net.zone b/roles/dnsserver/files/casperlefantom.net.zone
index 1c2defd..29c7c72 100644
--- a/roles/dnsserver/files/casperlefantom.net.zone
+++ b/roles/dnsserver/files/casperlefantom.net.zone
@@ -1,6 +1,6 @@
$ttl 86400
casperlefantom.net. IN SOA nsa.casperlefantom.net. hostmaster.casperlefantom.net. (
-2018042202 ; serial number
+2018051903 ; serial number
10800 ; refresh
3600 ; retry
1209600 ; expire
@@ -9,7 +9,11 @@ casperlefantom.net. IN SOA nsa.casperlefantom.net. hostmaster.casperlefantom.net
@ IN NS nsa.casperlefantom.net.
@ IN NS nsc.casperlefantom.net.
@ IN NS nsd.casperlefantom.net.
-home IN NS ns.home.casperlefantom.net.
+home IN NS nsa.home.casperlefantom.net.
+home IN NS nsb.home.casperlefantom.net.
+home IN NS nsc.home.casperlefantom.net.
+home IN NS nsd.home.casperlefantom.net.
+home IN NS nse.home.casperlefantom.net.
admin IN NS nsa.admin.casperlefantom.net.
admin IN NS nsc.admin.casperlefantom.net.
admin IN NS nsd.admin.casperlefantom.net.
@@ -23,8 +27,17 @@ vpn IN NS nsa.vpn.casperlefantom.net.
home IN A 192.168.0.25
home IN AAAA 2a01:e35:2f76:7750::4
-ns.home.casperlefantom.net. IN A 192.168.0.25
-ns.home.casperlefantom.net. IN AAAA 2a01:e35:2f76:7750::4
+nsa.home.casperlefantom.net. IN A 192.168.0.25
+nsa.home.casperlefantom.net. IN AAAA 2a01:e35:2f76:7750::4
+nsb.home.casperlefantom.net. IN A 82.247.103.117
+nsb.home.casperlefantom.net. IN AAAA 2a01:e35:2f76:7750::4
+nsc.home.casperlefantom.net. IN A 109.238.2.79
+nsc.home.casperlefantom.net. IN AAAA 2a00:c70:1:109:238:2:79:c0de
+nsd.home.casperlefantom.net. IN A 176.31.191.26
+nsd.home.casperlefantom.net. IN AAAA 2001:41d0:52:100::f2
+nse.home.casperlefantom.net. IN A 51.15.179.153
+nse.home.casperlefantom.net. IN AAAA 2001:bc8:3fec:f00:7ea::
+
admin IN A 82.247.103.117
admin IN AAAA 2a01:e35:2f76:7750::4
diff --git a/roles/dnsserver/files/home.casperlefantom.net.zone b/roles/dnsserver/files/home.casperlefantom.net.zone
index a1faa1b..3a66f81 100644
--- a/roles/dnsserver/files/home.casperlefantom.net.zone
+++ b/roles/dnsserver/files/home.casperlefantom.net.zone
@@ -1,18 +1,30 @@
$ttl 86400
-home.casperlefantom.net. IN SOA ns.home.casperlefantom.net. hostmaster.casperlefantom.net. (
-2018051200
+home.casperlefantom.net. IN SOA nsa.home.casperlefantom.net. hostmaster.casperlefantom.net. (
+2018051900
10800
3600
604800
38400 )
-@ IN NS ns.home.casperlefantom.net.
+@ IN NS nsa.home.casperlefantom.net.
+@ IN NS nsb.home.casperlefantom.net.
+@ IN NS nsc.home.casperlefantom.net.
+@ IN NS nsd.home.casperlefantom.net.
+@ IN NS nse.home.casperlefantom.net.
@ IN A 192.168.0.25
@ IN AAAA 2a01:e35:2f76:7750::4
-ns IN A 192.168.0.25
-ns IN AAAA 2a01:e35:2f76:7750::4
+nsa IN A 192.168.0.25
+nsa IN AAAA 2a01:e35:2f76:7750::4
+nsb IN A 82.247.103.117
+nsb IN AAAA 2a01:e35:2f76:7750::4
+nsc IN A 109.238.2.79
+nsc IN AAAA 2a00:c70:1:109:238:2:79:c0de
+nsd IN A 176.31.191.26
+nsd IN AAAA 2001:41d0:52:100::f2
+nse IN A 51.15.179.153
+nse IN AAAA 2001:bc8:3fec:f00:7ea::
lancaster IN A 192.168.0.25
lancaster IN AAAA 2a01:e35:2f76:7750::4