ansible-hardening/tasks/rhel7stig
Jesse Pretorius f381cc02af Switch to using import_tasks for static inclusion
Using dynamic inclusion (include_tasks) should only be done
if the tasks to include are based on a conditional and there
is no expectation for the tag on the include task to be applied
to all included tasks. Using include_tasks for static inclusion
dramatically raises memory consumption. Using include_tasks also
breaks the ability to use a tag applied to the include.

In this patch we fix all inclusions to ensure that they are set
properly to dynamic or static inclusions where necessary.

We also remove the unnecessary leading whitespace in the main
task file.

Change-Id: Idff86d4a90d3309f0e9ae3b9f0559b37e25dc26f
Closes-Bug: #1800169
2019-01-08 11:54:21 +00:00
..
accounts.yml Skip shadow checks for users w/o shadow data 2017-07-06 15:12:02 -05:00
aide.yml cleanup: use updated conditionals 2019-01-07 12:56:12 -05:00
apt.yml Make check of package checksums configurable 2017-11-02 09:01:35 +01:00
async_tasks.yml tasks: Add missing tags for async tasks 2017-12-13 12:55:43 +00:00
auditd.yml Update to RHEL 7 V1R2 STIG 2017-09-21 16:02:42 -05:00
auth.yml cleanup: use updated conditionals 2019-01-07 12:56:12 -05:00
dnf.yml Replace Fedora 26 with 27 2018-03-07 13:30:45 +00:00
file_perms.yml cleanup: use updated conditionals 2019-01-07 12:56:12 -05:00
graphical.yml Handle RHEL 7 STIG renumbering 2017-04-04 07:22:12 -05:00
kernel.yml Add scaffolding for contrib tasks 2017-11-08 07:28:47 -06:00
lsm.yml cleanup: use updated conditionals 2019-01-07 12:56:12 -05:00
main.yml Switch to using import_tasks for static inclusion 2019-01-08 11:54:21 +00:00
misc.yml Correct issue with ansible hardening and systemd 2018-08-21 11:32:23 -05:00
packages.yml Avoid skipped package-related tasks 2017-07-03 11:43:18 -05:00
rpm.yml cleanup: use updated conditionals 2019-01-07 12:56:12 -05:00
sshd.yml Always search for ssh keys 2017-11-09 14:47:53 +00:00
yum.yml Use import/include_tasks 2018-01-18 10:03:25 -06:00
zypper.yml cleanup: use updated conditionals 2019-01-07 12:56:12 -05:00