Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Broken Updates #65

Closed
tobiasdam opened this issue May 22, 2017 · 0 comments
Closed

Broken Updates #65

tobiasdam opened this issue May 22, 2017 · 0 comments
Assignees
Labels

Comments

@tobiasdam
Copy link
Contributor

Automatic updates are apparently broken, since custom privoxy templates have been added:

TASK: [privoxy | copy custom template files] **********************************
failed: [127.0.0.1 -> 127.0.0.1] => {"cmd": "rsync --delay-updates -F --compress --delete-after --checksum --archive --rsh 'ssh  -S none -o StrictHostKeyChecking=no' --out-format='<<CHANGED>>%i %n%L' \"custom_templates/\" \"/etc/privoxy/custom_templates/\"", "failed": true, "rc": 23}
msg: rsync: change_dir "/var/lib/ansible/local//custom_templates" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]

According to this, there is a bug inside the synchronize module in old versions of ansible. As a result, the path is prefixed with the current working directory of ansible and not with the path of the role. This happens only when ansible is run on localhost with -c local, as done by ansible-pull.

tobiasdam added a commit that referenced this issue May 22, 2017
@tobiasdam tobiasdam mentioned this issue May 22, 2017
@tobiasdam tobiasdam self-assigned this May 22, 2017
@tobiasdam tobiasdam added the bug label May 22, 2017
markushuber pushed a commit that referenced this issue May 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant