Add missing STIG ID tags
The 'Set fact for SNMP being installed' and 'Set fact for vsftpd being installed' tasks rely on variables being registered by other tasks. If those other tasks are skipped by tag, Ansible can fail with an undefined variable error. Add the appropriate STIG ID tags to these set_fact tasks to include them when skipping by tags. Change-Id: If6345d7095676cc703140ab95d60a5383a5ebef0
This commit is contained in:
parent
7caec98c14
commit
209ce55e56
@ -134,6 +134,9 @@
|
||||
when: |
|
||||
(v38660_snmpd_apt.rc is defined and v38660_snmpd_apt.rc == 0) or
|
||||
(v38660_snmpd_rpm.rc is defined and v38660_snmpd_rpm.rc == 0)
|
||||
tags:
|
||||
- cat2
|
||||
- V-38660
|
||||
|
||||
# We shouldn't get any output from this grep since it looks for configuration
|
||||
# lines for the SNMP v1 and v2c protocols.
|
||||
@ -215,6 +218,11 @@
|
||||
when: |
|
||||
(v38599_vsftpd_apt.rc is defined and v38599_vsftpd_apt.rc == 0) or
|
||||
(v38599_vsftpd_rpm.rc is defined and v38599_vsftpd_rpm.rc == 0)
|
||||
tags:
|
||||
- cat2
|
||||
- cat3
|
||||
- V-38599
|
||||
- V-38702
|
||||
|
||||
- name: Copy login banner (for V-38599)
|
||||
copy:
|
||||
|
Loading…
x
Reference in New Issue
Block a user