forked from ansible-lockdown/RHEL9-CIS
more ansible_facst referenced #54
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
7c7902772f
commit
18e59d32f1
1 changed files with 3 additions and 3 deletions
|
|
@ -696,12 +696,12 @@ audit_files_url: "some url maybe s3?"
|
|||
# Where the goss configs and outputs are stored
|
||||
audit_out_dir: '/opt'
|
||||
audit_conf_dir: "{{ audit_out_dir }}/{{ benchmark }}-Audit/"
|
||||
pre_audit_outfile: "{{ audit_out_dir }}/{{ ansible_hostname }}-{{ benchmark }}_pre_scan_{{ ansible_date_time.epoch }}.{{ audit_format }}"
|
||||
post_audit_outfile: "{{ audit_out_dir }}/{{ ansible_hostname }}-{{ benchmark }}_post_scan_{{ ansible_date_time.epoch }}.{{ audit_format }}"
|
||||
pre_audit_outfile: "{{ audit_out_dir }}/{{ ansible_facts.hostname }}-{{ benchmark }}_pre_scan_{{ ansible_date_time.epoch }}.{{ audit_format }}"
|
||||
post_audit_outfile: "{{ audit_out_dir }}/{{ ansible_facts.hostname }}-{{ benchmark }}_post_scan_{{ ansible_date_time.epoch }}.{{ audit_format }}"
|
||||
|
||||
## The following should not need changing
|
||||
goss_file: "{{ audit_conf_dir }}goss.yml"
|
||||
audit_vars_path: "{{ audit_conf_dir }}/vars/{{ ansible_hostname }}.yml"
|
||||
audit_vars_path: "{{ audit_conf_dir }}/vars/{{ ansible_facts.hostname }}.yml"
|
||||
audit_results: |
|
||||
The pre remediation results are: {{ pre_audit_summary }}.
|
||||
The post remediation results are: {{ post_audit_summary }}.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue