forked from ansible-lockdown/RHEL9-CIS
17 lines
409 B
YAML
17 lines
409 B
YAML
---
|
|
# 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_2_4: false
|
|
|
|
pre_tasks:
|
|
tasks:
|
|
- name: "Include tasks"
|
|
ansible.builtin.include_role:
|
|
name: "{{ role_name }}"
|