ansible-hardening/tasks/rhel7stig
Major Hayden cee2e0b5b4 Move aide db when needed
The task that moves the aide database checks to see whether aide
was just initialized, but that task has a "changed_when: false" to
help with idempotency. That means that the database never gets
moved into place.

This patch changes the task to check whether the aide
initialization was skipped or not. If it wasn't skipped, then the
database will be moved.

Closes-Bug: 1745675
Change-Id: I2f186274cbff4b38706603a51429557057843e4e
(cherry picked from commit 295ef13395)
2018-02-14 22:52:58 +00:00
..
accounts.yml Skip shadow checks for users w/o shadow data 2017-07-06 15:12:02 -05:00
aide.yml Move aide db when needed 2018-02-14 22:52:58 +00:00
apt.yml Avoid skipped package-related tasks 2017-07-03 11:43:18 -05:00
async_tasks.yml tasks: Add missing tags for async tasks 2017-12-18 16:10:44 +00:00
auditd.yml Fix auditd remote conf check 2017-07-13 10:00:40 -05:00
auth.yml tasks: auth: Pass --unrestricted to Linux Grub2 entries 2018-01-12 14:07:24 +00:00
dnf.yml Fedora 26 support 2017-08-29 15:45:24 +00:00
file_perms.yml Fix filesystem permission masks 2017-11-13 14:12:32 +00:00
graphical.yml Handle RHEL 7 STIG renumbering 2017-04-04 07:22:12 -05:00
kernel.yml Skip sysctl configs when enabled: no 2017-08-22 13:53:39 +00:00
lsm.yml Check apparmor_status output 2017-09-07 21:22:37 +00:00
main.yml Merge "Allow epel-release package name customization" 2017-07-12 18:43:55 +00:00
misc.yml Remove old /etc/profile config block 2017-12-15 22:08:40 +00:00
packages.yml Avoid skipped package-related tasks 2017-07-03 11:43:18 -05:00
rpm.yml tasks: Add missing tags for async tasks 2017-12-18 16:10:44 +00:00
sshd.yml Merge "rhel7stig: sshd.yml: Respect the STIG sshd configuration" into stable/pike 2017-11-14 16:52:36 +00:00
yum.yml Avoid skipped package-related tasks 2017-07-03 11:43:18 -05:00
zypper.yml tasks: Add missing tags for async tasks 2017-12-18 16:10:44 +00:00