Skip to content

Commit a692a84

Browse files
author
Sebastian Gumprich
committed
fix ansible lint warnings
1 parent 1393c19 commit a692a84

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tasks/minimize_access.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
- name: find files with write-permissions for group
3-
shell: "find -L {{ item }} -perm /go+w -type f"
3+
shell: "find -L {{ item }} -perm /go+w -type f" # noqa 305
44
with_flattened:
55
- '/usr/local/sbin'
66
- '/usr/local/bin'
77
- '/usr/sbin'
88
- '/usr/bin'
99
- '/sbin'
1010
- '/bin'
11-
- "{{ os_env_extra_user_paths }}"
11+
- "{{ os_env_extra_user_paths }}" # noqa 104
1212
register: minimize_access_directories
1313
ignore_errors: true
1414
changed_when: false
@@ -19,7 +19,7 @@
1919
mode: 'go-w'
2020
state: file
2121
with_subelements:
22-
- "{{minimize_access_directories.results }}"
22+
- "{{ minimize_access_directories.results }}"
2323
- stdout_lines
2424

2525
- name: change shadow ownership to root and mode to 0600 | os-02

tasks/yum.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
with_flattened:
3232
- '/etc/yum.conf'
3333
- '/etc/dnf/dnf.conf'
34-
- '{{ yum_repos.stdout_lines| default([]) }}'
34+
- '{{ yum_repos.stdout_lines| default([]) }}' # noqa 104
3535
- '/etc/yum/pluginconf.d/rhnplugin.conf'
3636

3737
- name: remove deprecated or insecure packages | package-01 - package-09

0 commit comments

Comments
 (0)