Commit 7c808cac authored by Maciej Delmanowski's avatar Maciej Delmanowski

Fix ansible-lint error E202 in DebOps roles

parent 6dfe8291
......@@ -69,7 +69,7 @@
dest: '{{ dhcp_probe__lib + "/" + item }}'
owner: 'root'
group: 'root'
mode: '755'
mode: '0755'
loop: [ 'dhcp_probe_notify2', 'mail-throttled' ]
- name: Generate dhcp_probe.cf configuration file
......
......@@ -25,7 +25,7 @@
state: 'directory'
owner: 'root'
group: 'adm'
mode: '2750'
mode: '02750'
with_items:
- '/etc/ferm/rules.d'
- '/etc/ferm/filter-input.d'
......
......@@ -49,7 +49,7 @@
state: 'directory'
owner: 'root'
group: '{{ item.0.group | default(item.0.name + gitusers_name_suffix) }}'
mode: '2775'
mode: '02775'
with_nested:
- '{{ gitusers_list + gitusers_group_list + gitusers_host_list }}'
- [ 'checkouts', 'sites', 'userdir' ]
......
......@@ -151,6 +151,6 @@
state: 'directory'
owner: '{{ opendkim__user }}'
group: '{{ opendkim__postfix_group }}'
mode: '2750'
mode: '02750'
when: opendkim__postfix_integration|bool
notify: [ 'Check opendkim and restart' ]
......@@ -20,7 +20,7 @@
state: 'directory'
owner: 'root'
group: '{{ item.group | default(item.name + sftpusers_name_suffix) }}'
mode: '2775'
mode: '02775'
with_flattened:
- '{{ sftpusers_list }}'
- '{{ sftpusers_group_list }}'
......@@ -34,7 +34,7 @@
state: 'directory'
owner: 'root'
group: '{{ item.0.group | default(item.0.name + sftpusers_name_suffix) }}'
mode: '2775'
mode: '02775'
with_subelements:
- '{{ sftpusers_list + sftpusers_group_list + sftpusers_host_list }}'
- 'sites'
......@@ -47,7 +47,7 @@
state: 'directory'
owner: 'root'
group: '{{ item.group | default(item.name + sftpusers_name_suffix) }}'
mode: '2775'
mode: '02775'
with_flattened:
- '{{ sftpusers_list }}'
- '{{ sftpusers_group_list }}'
......
......@@ -18,7 +18,7 @@
dest: '/etc/tgt/conf.d/00_tgt_options.conf'
owner: 'root'
group: 'root'
mode: '600'
mode: '0600'
notify: [ 'Reload tgt' ]
- name: Remove iSCSI targets if requested
......@@ -36,7 +36,7 @@
dest: '/etc/tgt/conf.d/{{ item.filename | default(item.name) }}.conf'
owner: 'root'
group: 'root'
mode: '600'
mode: '0600'
with_items: '{{ tgt_targets }}'
notify: [ 'Reload tgt' ]
when: ((item.name is defined and item.name) and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment