forked from ansible-lockdown/RHEL9-CIS
Initial molecule thanks to @bbaassssiiee in rh8
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
30abc4b9d0
commit
dadbeaa84e
9 changed files with 205 additions and 0 deletions
18
molecule/localhost/converge.yml
Normal file
18
molecule/localhost/converge.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
# This is a playbook to test the tasks.
|
||||
- name: Converge
|
||||
hosts: all
|
||||
become: true
|
||||
gather_facts: true
|
||||
|
||||
vars:
|
||||
ansible_user: "{{ lookup('env', 'USER') }}"
|
||||
role_name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"
|
||||
rhel9cis_rule_5_3_4: false
|
||||
|
||||
pre_tasks:
|
||||
tasks:
|
||||
- name: "Include tasks"
|
||||
ansible.builtin.include_role:
|
||||
name: "{{ role_name }}"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue