Skip to content

Commit

Permalink
Merge pull request #13 from companieshouse/update/rhel9-geerlingguy-v…
Browse files Browse the repository at this point in the history
…ersion

Changed version number
  • Loading branch information
ls-comh authored Nov 18, 2024
2 parents 412fe42 + f2d57a0 commit a794dfb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion ansible/group_vars/rhel9-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ additional_packages:
- device-mapper-multipath
- sg3_utils
- git
- https://s3.{{ region| default("eu-west-2") }}.amazonaws.com/amazon-ssm-{{ region| default("eu-west-2") }}/latest/linux_amd64/amazon-ssm-agent.rpm
- screen
- logrotate
- python3
Expand All @@ -21,6 +20,9 @@ additional_packages:
- audispd-plugins
- rsyslog

ssm_package:
- https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm

pip_install_packages:
- name: pip
state: latest
Expand Down
4 changes: 2 additions & 2 deletions ansible/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
value: "1"
when: repo_exists.stat.exists
when: (ansible_os_family == 'RedHat') and (ansible_distribution_major_version | int == 9)

- name: Set timezone to Europe/London
community.general.timezone:
name: Europe/London

- name: Install cloudwatch agent
ansible.builtin.command: dnf install -y https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm
ansible.builtin.command: dnf install -y https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm --nogpgcheck
- name: Enable cloudwatch agent
ansible.builtin.command: systemctl enable amazon-ssm-agent
- name: Enable cloudwatch agent
Expand Down
2 changes: 1 addition & 1 deletion ansible/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ roles:
- name: geerlingguy.clamav
- src: https://github.com/ansible-lockdown/RHEL9-CIS.git
name: RHEL9-CIS
version: 1.2.0
version: 1.3.1
- src: https://github.com/christiangda/ansible-role-amazon-cloudwatch-agent.git
name: cloudwatch-agent

0 comments on commit a794dfb

Please sign in to comment.