Skip to content

Commit

Permalink
readd automated security updates
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Sjögren <[email protected]>
  • Loading branch information
konstruktoid committed May 29, 2024
1 parent 7bb90e9 commit e552702
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/automated-security-updates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
- name: Configure for automated security updates
hosts: all
become: true
become_method: ansible.builtin.sudo
tasks:
- name: Set up automated security updates
ansible.builtin.include_role:
name: automated_security_updates
3 changes: 3 additions & 0 deletions src/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
become: true
become_method: ansible.builtin.sudo
tasks:
- name: Install and configure automated security updates
ansible.builtin.include_role:
name: automated_security_updates
- name: Install and configure login banner
ansible.builtin.include_role:
name: banner
Expand Down
3 changes: 3 additions & 0 deletions src/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
- name: Import base image playbook
ansible.builtin.import_playbook: base.yml

- name: Import automated security updates playbook
ansible.builtin.import_playbook: automated-security-updates.yml

- name: Import UFW playbook
ansible.builtin.import_playbook: ufw.yml

Expand Down
2 changes: 2 additions & 0 deletions src/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ collections:
roles:
- name: amazon_ssm_agent
src: https://github.com/cisagov/ansible-role-amazon-ssm-agent
- name: automated_security_updates
src: https://github.com/cisagov/ansible-role-automated-security-updates
- name: banner
src: https://github.com/cisagov/ansible-role-banner
- name: cdm_nessus_agent
Expand Down

0 comments on commit e552702

Please sign in to comment.