From 1175cfbed752a1ba5a3e97f8c052cba99e6fe58e Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Fri, 15 Sep 2023 10:07:38 +0100 Subject: [PATCH] lint Signed-off-by: Mark Bolwell --- tasks/fix-cat2.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/fix-cat2.yml b/tasks/fix-cat2.yml index ac57b66e..88f0ba57 100644 --- a/tasks/fix-cat2.yml +++ b/tasks/fix-cat2.yml @@ -2125,9 +2125,9 @@ opts: "{{ ansible_mounts | json_query(options_query) }},nosuid" state: mounted vars: - device_query: '[?mount == `{{ item }}`] | [0].device' - fstype_query: '[?mount == `{{ item }}`] | [0].fstype' - options_query: '[?mount == `{{ item }}`] | [0].options' + device_query: '[?mount == `{{ item }}`] | [0].device' # noqa: jinja[invalid] + fstype_query: '[?mount == `{{ item }}`] | [0].fstype' # noqa: jinja[invalid] + options_query: '[?mount == `{{ item }}`] | [0].options' # noqa: jinja[invalid] with_items: "{{ rhel8stig_nfs_mounts }}" when: - rhel_08_010650 @@ -4345,7 +4345,7 @@ regexp: "umask\\s+(?!{{ rhel8stig_login_defaults.umask | default('077') }})" state: absent with_items: - - "{{ rhel8stig_020352_file | json_query('results[*].files[*].path') | flatten }}" + - "{{ rhel8stig_020352_file | json_query('results[*].files[*].path') | flatten }}" # noqa: jinja[invalid] when: - (rhel8stig_020352_file | json_query('results[*].files[*].path') | flatten ) is defined when: