Skip to content

Instantly share code, notes, and snippets.

@major
Last active May 24, 2016 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save major/9fe2c3b159fb59e9a3e4101b3850f507 to your computer and use it in GitHub Desktop.
Save major/9fe2c3b159fb59e9a3e4101b3850f507 to your computer and use it in GitHub Desktop.
Adding debugging for OpenStack-Ansible security role
From c2ef44e443d1bc9db9476ce6249fc9046c03ab9d Mon Sep 17 00:00:00 2001
From: Major Hayden <major@mhtx.net>
Date: Tue, 24 May 2016 15:44:52 +0000
Subject: [PATCH] Adding extra debugging
Signed-off-by: Major Hayden <major@mhtx.net>
---
tasks/auth.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tasks/auth.yml b/tasks/auth.yml
index f3341d7..01f849a 100644
--- a/tasks/auth.yml
+++ b/tasks/auth.yml
@@ -89,6 +89,9 @@
- cat2
- V-38496
+- debug: var=v38496_unlocked_system_users
+- debug: var=v38496_violations
+
# The playbook will fail here if any default system accounts besides root are
# not locked.
- name: V-38496 - Default operating system accounts (other than root) must be locked
--
1.9.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment