2018-12-28 11:23:49 +01:00
|
|
|
---
|
|
|
|
- name: newaliases
|
2023-10-23 09:33:54 +02:00
|
|
|
ansible.builtin.command: smtpctl update table aliases
|
2020-10-09 10:30:12 +02:00
|
|
|
|
2020-10-15 09:57:02 +02:00
|
|
|
- name: remount / noatime
|
2023-10-23 09:33:54 +02:00
|
|
|
ansible.builtin.command: mount -u -o noatime /
|
2020-10-15 09:57:02 +02:00
|
|
|
args:
|
|
|
|
warn: false
|
|
|
|
|
|
|
|
- name: remount /var noatime
|
2023-10-23 09:33:54 +02:00
|
|
|
ansible.builtin.command: mount -u -o noatime /var
|
2020-10-15 09:57:02 +02:00
|
|
|
args:
|
|
|
|
warn: false
|
|
|
|
|
2023-11-13 16:01:47 +01:00
|
|
|
- name: remount /var/log noatime
|
|
|
|
ansible.builtin.command: mount -u -o noatime /var/log
|
|
|
|
args:
|
|
|
|
warn: false
|
|
|
|
|
2020-10-15 09:57:02 +02:00
|
|
|
- name: remount /usr noatime
|
2023-10-23 09:33:54 +02:00
|
|
|
ansible.builtin.command: mount -u -o noatime /usr
|
2020-10-15 09:57:02 +02:00
|
|
|
args:
|
|
|
|
warn: false
|
|
|
|
|
2023-11-09 17:06:00 +01:00
|
|
|
- name: remount /usr/X11R6 noatime
|
|
|
|
ansible.builtin.command: mount -u -o noatime /usr/X11R6
|
|
|
|
args:
|
|
|
|
warn: false
|
|
|
|
|
|
|
|
- name: remount /usr/local noatime
|
|
|
|
ansible.builtin.command: mount -u -o noatime /usr/local
|
|
|
|
args:
|
|
|
|
warn: false
|
|
|
|
|
2020-10-15 09:57:02 +02:00
|
|
|
- name: remount /tmp noexec
|
2023-10-23 09:33:54 +02:00
|
|
|
ansible.builtin.command: mount -u -o noexec /tmp
|
2020-10-09 10:30:12 +02:00
|
|
|
args:
|
2020-10-09 10:55:12 +02:00
|
|
|
warn: false
|
2020-10-15 09:57:02 +02:00
|
|
|
|
|
|
|
- name: remount /tmp noatime
|
2023-10-23 09:33:54 +02:00
|
|
|
ansible.builtin.command: mount -u -o noatime /tmp
|
2020-10-15 09:57:02 +02:00
|
|
|
args:
|
|
|
|
warn: false
|
|
|
|
|
|
|
|
- name: remount /home noatime
|
2023-10-23 09:33:54 +02:00
|
|
|
ansible.builtin.command: mount -u -o noatime /home
|
2020-10-15 09:57:02 +02:00
|
|
|
args:
|
|
|
|
warn: false
|
2021-07-19 15:25:17 +02:00
|
|
|
|
2022-10-12 17:35:04 +02:00
|
|
|
- name: restart ntpd
|
2023-10-23 09:33:54 +02:00
|
|
|
ansible.builtin.service:
|
2021-07-19 15:25:17 +02:00
|
|
|
name: ntpd
|
|
|
|
state: restarted
|