Skip to content

Commit

Permalink
Install Lynis in Ubuntu also
Browse files Browse the repository at this point in the history
  • Loading branch information
pyllyukko committed Dec 17, 2024
1 parent 6dffa41 commit e93a3a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/banners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Install Lynis
run: ansible-playbook -v harden.yml --tags lynis
run: ansible-playbook -v harden.yml --tags lynis --skip-tags slackware,centos
- name: Run Ansible playbook for banners
run: ansible-playbook -v harden.yml --tags banners --extra-vars run_lynis_after_hardening=true
2 changes: 1 addition & 1 deletion tasks/lynis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- packages
- lynis
- debian
when: ansible_distribution == "Debian" or ansible_distribution == "Kali"
when: ansible_distribution == "Debian" or ansible_distribution == "Kali" or ansible_distribution == "Ubuntu"
block:
- name: Install apt-transport-https & gnupg2
ansible.builtin.apt:
Expand Down

0 comments on commit e93a3a9

Please sign in to comment.