From 4c91f2123fe52ed4dffcab4e739ffa96758f73ce Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Thu, 17 Nov 2016 14:06:17 -0600 Subject: [PATCH] Fix stig_packages_rhel7 typo This patch fixes a typo where the RHEL 6 STIG packages list was used by mistake. Change-Id: I5ce7de15aa9c5f0caaa20375c14008adb976ed4b --- tasks/rhel7stig/packages.yml | 2 +- vars/redhat.yml | 2 +- vars/ubuntu.yml | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tasks/rhel7stig/packages.yml b/tasks/rhel7stig/packages.yml index c6b1e990..cfcab731 100644 --- a/tasks/rhel7stig/packages.yml +++ b/tasks/rhel7stig/packages.yml @@ -23,7 +23,7 @@ {{ pkg_list }} state: "{{ item[0] }}" with_items: - - "{{ stig_packages | selectattr('enabled') | groupby('state') }}" + - "{{ stig_packages_rhel7 | selectattr('enabled') | groupby('state') }}" tags: - cat1 - auth diff --git a/vars/redhat.yml b/vars/redhat.yml index 4d2b1744..93617b11 100644 --- a/vars/redhat.yml +++ b/vars/redhat.yml @@ -101,7 +101,7 @@ stig_packages: # RHEL 7 STIG: Packages to add/remove stig_packages_rhel7: - packages: - - openssh-client + - openssh-clients - openssh-server - screen state: "{{ security_package_state }}" diff --git a/vars/ubuntu.yml b/vars/ubuntu.yml index 175bf678..b9f027c3 100644 --- a/vars/ubuntu.yml +++ b/vars/ubuntu.yml @@ -93,7 +93,8 @@ stig_packages: # RHEL 7 STIG: Packages to add/remove stig_packages_rhel7: - packages: - - openssh-clients + - libpwquality-common + - openssh-client - openssh-server - screen state: "{{ security_package_state }}"