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
(cherry picked from commit 209ce55e56)
This commit is contained in:
Jimmy McCrory 2017-03-04 23:49:23 -08:00
parent b6d2efd832
commit 5f49ce162a
1 changed files with 8 additions and 0 deletions

View File

@ -142,6 +142,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.
@ -223,6 +226,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: