base: configure "/var/log" for servers that have a mount on it
This commit is contained in:
parent
1f0011ad2a
commit
aee18bfde9
|
@ -82,6 +82,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
* base: ignore errors on packages installation because it fails for some packages when run in check mode
|
* base: ignore errors on packages installation because it fails for some packages when run in check mode
|
||||||
* evomaintenance: upstream release 23.10.1
|
* evomaintenance: upstream release 23.10.1
|
||||||
* accounts, etc-git, evocheck, nagios-nrpe: multiple changes to not fail when run in check mode
|
* accounts, etc-git, evocheck, nagios-nrpe: multiple changes to not fail when run in check mode
|
||||||
|
* base: configure "/var/log" for servers that have a mount on it
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,11 @@
|
||||||
args:
|
args:
|
||||||
warn: false
|
warn: false
|
||||||
|
|
||||||
|
- name: remount /var/log noatime
|
||||||
|
ansible.builtin.command: mount -u -o noatime /var/log
|
||||||
|
args:
|
||||||
|
warn: false
|
||||||
|
|
||||||
- name: remount /usr noatime
|
- name: remount /usr noatime
|
||||||
ansible.builtin.command: mount -u -o noatime /usr
|
ansible.builtin.command: mount -u -o noatime /usr
|
||||||
args:
|
args:
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- "/"
|
- "/"
|
||||||
- "/var"
|
- "/var"
|
||||||
|
- "/var/log"
|
||||||
- "/usr"
|
- "/usr"
|
||||||
- "/usr/X11R6"
|
- "/usr/X11R6"
|
||||||
- "/usr/local"
|
- "/usr/local"
|
||||||
|
|
Loading…
Reference in a new issue