Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve testing: install packages on Arch Linux #499

Merged
merged 1 commit into from
Nov 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions molecule/os_hardening/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
- procps-ng
when: ansible_facts.distribution == 'Fedora'

- name: install packages
- name: install required tools on Arch
pacman:
name:
- "awk"
- awk
state: present
update_cache: true
ignore_errors: true
when: ansible_facts.os_family == 'Archlinux'

- name: install required tools on RHEL
yum:
Expand Down
8 changes: 4 additions & 4 deletions molecule/ssh_hardening/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@
- "openssh"
when: ansible_facts.os_family == 'Suse'

- name: install packages
- name: install required tools on Arch
pacman:
name:
- "openssh"
- "awk"
- openssh
- awk
state: present
update_cache: true
ignore_errors: true
when: ansible_facts.os_family == 'Archlinux'

- name: created needed directory
file:
Expand Down
8 changes: 4 additions & 4 deletions molecule/ssh_hardening_custom_tests/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@
- "openssh"
when: ansible_facts.os_family == 'Suse'

- name: install packages
- name: install required tools on Arch
pacman:
name:
- "openssh"
- "awk"
- openssh
- awk
state: present
update_cache: true
ignore_errors: true
when: ansible_facts.os_family == 'Archlinux'

- name: created needed directory
file:
Expand Down