Browse Source

Don't try to set permissions recursively on cache+staging directory (#10900)

This should avoid permissions problems when the user creating the
directory and the user creating the content are different (when
containers images are saved by root for instances, because the user
can't use the container runtime).
pull/10910/head
Max Gautier 1 year ago
committed by GitHub
parent
commit
f5474ec6cc
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions
  1. 2
      roles/download/tasks/prep_download.yml

2
roles/download/tasks/prep_download.yml

@ -69,7 +69,6 @@
file:
path: "{{ local_release_dir }}/images"
state: directory
recurse: yes
mode: 0755
owner: "{{ ansible_ssh_user | default(ansible_user_id) }}"
when:
@ -79,7 +78,6 @@
file:
path: "{{ download_cache_dir }}/images"
state: directory
recurse: yes
mode: 0755
delegate_to: localhost
connection: local

Loading…
Cancel
Save