Add Alma/Oracle/Rocky 8 and 9
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
25
vars/AlmaLinux-8-default.yml
Normal file
25
vars/AlmaLinux-8-default.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
# vars file for ensure_log_rotation
|
||||
package_list:
|
||||
- name: 'logrotate'
|
||||
state: 'present'
|
||||
template_list:
|
||||
- dest: '/etc/logrotate.conf'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.conf'
|
||||
- dest: '/etc/logrotate.d/btmp'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.d/btmp'
|
||||
- dest: '/etc/logrotate.d/wtmp'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.d/wtmp'
|
||||
|
25
vars/AlmaLinux-9-default.yml
Normal file
25
vars/AlmaLinux-9-default.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
# vars file for ensure_log_rotation
|
||||
package_list:
|
||||
- name: 'logrotate'
|
||||
state: 'present'
|
||||
template_list:
|
||||
- dest: '/etc/logrotate.conf'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.conf'
|
||||
- dest: '/etc/logrotate.d/btmp'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.d/btmp'
|
||||
- dest: '/etc/logrotate.d/wtmp'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.d/wtmp'
|
||||
|
25
vars/OracleLinux-8-default.yml
Normal file
25
vars/OracleLinux-8-default.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
# vars file for ensure_log_rotation
|
||||
package_list:
|
||||
- name: 'logrotate'
|
||||
state: 'present'
|
||||
template_list:
|
||||
- dest: '/etc/logrotate.conf'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.conf'
|
||||
- dest: '/etc/logrotate.d/btmp'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.d/btmp'
|
||||
- dest: '/etc/logrotate.d/wtmp'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.d/wtmp'
|
||||
|
25
vars/OracleLinux-9-default.yml
Normal file
25
vars/OracleLinux-9-default.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
# vars file for ensure_log_rotation
|
||||
package_list:
|
||||
- name: 'logrotate'
|
||||
state: 'present'
|
||||
template_list:
|
||||
- dest: '/etc/logrotate.conf'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.conf'
|
||||
- dest: '/etc/logrotate.d/btmp'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.d/btmp'
|
||||
- dest: '/etc/logrotate.d/wtmp'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.d/wtmp'
|
||||
|
25
vars/Rocky-8-default.yml
Normal file
25
vars/Rocky-8-default.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
# vars file for ensure_log_rotation
|
||||
package_list:
|
||||
- name: 'logrotate'
|
||||
state: 'present'
|
||||
template_list:
|
||||
- dest: '/etc/logrotate.conf'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.conf'
|
||||
- dest: '/etc/logrotate.d/btmp'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.d/btmp'
|
||||
- dest: '/etc/logrotate.d/wtmp'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.d/wtmp'
|
||||
|
25
vars/Rocky-9-default.yml
Normal file
25
vars/Rocky-9-default.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
# vars file for ensure_log_rotation
|
||||
package_list:
|
||||
- name: 'logrotate'
|
||||
state: 'present'
|
||||
template_list:
|
||||
- dest: '/etc/logrotate.conf'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.conf'
|
||||
- dest: '/etc/logrotate.d/btmp'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.d/btmp'
|
||||
- dest: '/etc/logrotate.d/wtmp'
|
||||
force: 'yes'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
owner: 'root'
|
||||
src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/logrotate.d/wtmp'
|
||||
|
Reference in New Issue
Block a user