Skip to content

Commit fb2c25a

Browse files
committed
ci(full): review ansible_remote_tmp permissions
1 parent 901f097 commit fb2c25a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/integration/full/default.yml

+8
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@
3838
ansible.builtin.set_fact:
3939
ntpclient_listen: ['127.0.0.1', '::1']
4040
when: ansible_os_family == "RedHat"
41+
- name: Validate ansible_remote_tmp dir permissions
42+
ansible.builtin.file:
43+
path: "{{ ansible_remote_tmp }}"
44+
state: directory
45+
mode: '1777'
46+
when:
47+
- ansible_remote_tmp is defined
48+
- ansible_remote_tmp != '/tmp'
4149
roles:
4250
- juju4.redhat_epel
4351
- juju4.harden_sysctl

0 commit comments

Comments
 (0)