Fix warnings about jinja2 in when
This patch fixes the warnings from jinja2 templates in when lines. Change-Id: Ib8c35d250f2d68a0288baa6080c1fa39fbe688d9
This commit is contained in:
parent
bb51a705ca
commit
d8336717aa
@ -63,7 +63,7 @@
|
||||
The STIG requires that /home is on its own filesystem, but this system
|
||||
does not appear to be following the requirement.
|
||||
when:
|
||||
- "{{ ansible_mounts | selectattr('mount', 'equalto', '/home') | list | length == 0 }}"
|
||||
- ansible_mounts | selectattr('mount', 'equalto', '/home') | list | length == 0
|
||||
tags:
|
||||
- low
|
||||
- misc
|
||||
@ -75,7 +75,7 @@
|
||||
The STIG requires that /var is on its own filesystem, but this system
|
||||
does not appear to be following the requirement.
|
||||
when:
|
||||
- "{{ ansible_mounts | selectattr('mount', 'equalto', '/var') | list | length == 0 }}"
|
||||
- ansible_mounts | selectattr('mount', 'equalto', '/var') | list | length == 0
|
||||
tags:
|
||||
- low
|
||||
- misc
|
||||
@ -87,7 +87,7 @@
|
||||
The STIG requires that /var/log/audit is on its own filesystem, but this system
|
||||
does not appear to be following the requirement.
|
||||
when:
|
||||
- "{{ ansible_mounts | selectattr('mount', 'equalto', '/var/log/audit') | list | length == 0 }}"
|
||||
- ansible_mounts | selectattr('mount', 'equalto', '/var/log/audit') | list | length == 0
|
||||
tags:
|
||||
- low
|
||||
- misc
|
||||
@ -99,7 +99,7 @@
|
||||
The STIG requires that /tmp is on its own filesystem, but this system
|
||||
does not appear to be following the requirement.
|
||||
when:
|
||||
- "{{ ansible_mounts | selectattr('mount', 'equalto', '/tmp') | list | length == 0 }}"
|
||||
- ansible_mounts | selectattr('mount', 'equalto', '/tmp') | list | length == 0
|
||||
tags:
|
||||
- low
|
||||
- misc
|
||||
|
Loading…
x
Reference in New Issue
Block a user