ansible-pull only does "git pull" on first run, then uses same revision forever
32 views
Skip to first unread message
david....@sprinklr.com
unread,
May 29, 2016, 11:42:50 AM5/29/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
I'm finding that the first ansible-pull run works perfect, but if I run it again after the initial run to get updates it continues to use the same revision. I'm working around it by using the --purge flag, but I think that means a full clone every time instead of just a pull. I'm invoking it like so: "/usr/local/bin/ansible-pull --purge --extra-vars='some_vars="some values"' -U https://git-codecommit.us-east-1.amazonaws.com/v1/repos/blah 'dir/node-role.yml'"