Added always tag to ensure variable exists on CIS profile tag-based e…#436
Open
defnotyujine wants to merge 1 commit intoansible-lockdown:develfrom
Open
Added always tag to ensure variable exists on CIS profile tag-based e…#436defnotyujine wants to merge 1 commit intoansible-lockdown:develfrom
defnotyujine wants to merge 1 commit intoansible-lockdown:develfrom
Conversation
|
Congrats on opening your first pull request and thank you for taking the time to help improve Ansible-Lockdown! |
4c2e962 to
a34eaf0
Compare
…xecution Signed-off-by: defnotyujine <[email protected]>
a34eaf0 to
83cf830
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overall Review of Changes:
When executing the role with tag filtering (-t level1-server,level1-workstation), the preliminary task that registers prelim_sshd_50_redhat_file was skipped because it had no tags.
Tasks 5.1.10 and 5.1.11 reference prelim_sshd_50_redhat_file.stat.exists, which caused the playbook to fail with an undefined variable error.
Issue Fixes:
Fixed issue for
prelim_sshd_50_redhat_file.stat_existsnot existing when executing the playbook using tags.Error Message
How has this been tested?:
Manually