summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2018-11-24 16:06:03 +0100
committerMatthieu Saulnier <fantom@fedoraproject.org>2018-11-24 16:06:03 +0100
commit9cf56c3683fca6894fe782aae6e99e451faeba54 (patch)
treed9935eb96b13088003dca5ee060f9b19335041c2
parent2498b5a5d3412b8a9011521f2db1d1644be4701e (diff)
downloadplaybooks-ansible-9cf56c3683fca6894fe782aae6e99e451faeba54.tar.gz
playbooks-ansible-9cf56c3683fca6894fe782aae6e99e451faeba54.tar.xz
playbooks-ansible-9cf56c3683fca6894fe782aae6e99e451faeba54.zip
Update config files and fedora version condition
-rw-r--r--roles/clients/tasks/nvidia.yml2
-rw-r--r--roles/mtaserver/files/master.cf1
-rw-r--r--roles/ntpserver/templates/chrony.conf.j23
3 files changed, 5 insertions, 1 deletions
diff --git a/roles/clients/tasks/nvidia.yml b/roles/clients/tasks/nvidia.yml
index 0120266..fa00752 100644
--- a/roles/clients/tasks/nvidia.yml
+++ b/roles/clients/tasks/nvidia.yml
@@ -14,7 +14,7 @@
backrefs: yes
regexp: "^DRIVER==nvidia"
line: "#DRIVER==nvidia"
- when: ansible_distribution == "Fedora" and ansible_distribution_version|int <= 27
+ when: ansible_distribution == "Fedora" and ansible_distribution_version|int <= 26
- name: Désactivation de Wayland pour GDM
lineinfile:
diff --git a/roles/mtaserver/files/master.cf b/roles/mtaserver/files/master.cf
index 73c1c66..c79b34c 100644
--- a/roles/mtaserver/files/master.cf
+++ b/roles/mtaserver/files/master.cf
@@ -49,6 +49,7 @@ proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
+ -o syslog_name=postfix/$service_name
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
diff --git a/roles/ntpserver/templates/chrony.conf.j2 b/roles/ntpserver/templates/chrony.conf.j2
index d8644bf..c836cb7 100644
--- a/roles/ntpserver/templates/chrony.conf.j2
+++ b/roles/ntpserver/templates/chrony.conf.j2
@@ -57,6 +57,9 @@ generatecommandkey
# Send a message to syslog if a clock adjustment is larger than 0.5 seconds.
logchange 0.5
+# Get TAI-UTC offset and leap seconds from the system tz database.
+leapsectz right/UTC
+
# Specify directory for log files.
logdir /var/log/chrony