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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue