Skip to content

Commit 4642b03

Browse files
committed
Add Amazon Linux 3 (2023) support
- Add Amazon2023.yml core configs - Create 'linux_package_prereqs' for package installation prior to Splunk install, as some features like syslog/logrotate/cron have been removed from Amazon's latest distro.
1 parent ac557d4 commit 4642b03

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

roles/splunk/tasks/prereqs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,10 @@
44
name: acl
55
state: present
66
become: True
7+
8+
- name: install distro specific required packages
9+
ansible.builtin.package:
10+
name: "{{ linux_package_prereqs }}"
11+
state: present
12+
when: linux_package_prereqs is defined
13+
become: true

roles/splunk/vars/Amazon2023.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
global_bashrc: /etc/bashrc
2+
chk_config_cmd: chkconfig --add disable-thp
3+
linux_package_prereqs:
4+
- logrotate
5+
- rsyslog
6+
- cronie
7+
- polkit
8+
linux_packages:
9+
- sysstat
10+
- telnet
11+
- tcpdump
12+
- htop
13+
- lsof
14+
- gdb
15+
- bind-utils
16+
firewall_service: firewalld
17+
logrotate_file: /etc/logrotate.d/rsyslog

0 commit comments

Comments
 (0)