diff options
author | Matthieu Saulnier <fantom@fedoraproject.org> | 2014-10-24 06:44:47 +0200 |
---|---|---|
committer | Matthieu Saulnier <fantom@fedoraproject.org> | 2014-10-24 06:44:47 +0200 |
commit | 4042e1913e2c32ee22b8d2549e831a0ca8ddf43a (patch) | |
tree | 1b20cc34d05a874646d6c6e1e1371e0fa63aa7f6 /roles/dnsserver/tasks/dirs.yml | |
parent | 2b230dcc9eed01796011430f9dea7174480320a2 (diff) | |
download | playbooks-ansible-4042e1913e2c32ee22b8d2549e831a0ca8ddf43a.tar.gz playbooks-ansible-4042e1913e2c32ee22b8d2549e831a0ca8ddf43a.tar.xz playbooks-ansible-4042e1913e2c32ee22b8d2549e831a0ca8ddf43a.zip |
Add inventory host section for the update playbook
Add rc files for zsh
Switch root login shell to zsh on all host
Remove /etc/hosts config for google and facebook domains:
Use Bind as authoritative zone server for main domains
It will be deployed on vm02 and mosquito hosts
Add npm missing package in cozycloud role
Remove cozycloud from site.yml because role is not ready to use
Add restorecon task on Bind log dir
Add dnsserver in site.yml because role is now ready to use
Diffstat (limited to 'roles/dnsserver/tasks/dirs.yml')
-rw-r--r-- | roles/dnsserver/tasks/dirs.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/dnsserver/tasks/dirs.yml b/roles/dnsserver/tasks/dirs.yml index 3319eee..ba46426 100644 --- a/roles/dnsserver/tasks/dirs.yml +++ b/roles/dnsserver/tasks/dirs.yml @@ -50,3 +50,7 @@ - name: Configuration booleen SELinux de /var/named/ seboolean: name=named_write_master_zones state=yes persistent=yes when: ansible_selinux != false + +- name: Restauration des contextes SELinux du répertoire de logs + command: /usr/sbin/restorecon -R /var/log/named/ + when: ansible_selinux != false |