mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-11 01:57:37 -03:30
Fix Sync Container Permission (#3752)
When `ansible_user` is not root, using `-b` option. And with `download_run_once` and `download_localhost` set `true`. Ansible will executes `container_download | upload container images to nodes` task. It uses rsync to upload images to `/tmp/release/container/`, but the `container` directory owned by `root`.
This commit is contained in:
parent
07d2f1aa36
commit
a585318b1a
@ -97,7 +97,7 @@
|
||||
mode: push
|
||||
delegate_to: localhost
|
||||
delegate_facts: no
|
||||
become: false
|
||||
become: true
|
||||
register: get_task
|
||||
until: get_task is succeeded
|
||||
retries: 4
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user