ansible-pull not working

33 views
Skip to first unread message

Nicolas G

unread,
Jul 21, 2015, 7:01:16 PM7/21/15
to Ansible Project
Hi,

I'm trying to launch an ec2 instance and bootstrap it using ansible-pull through user-data but unfortunately I'm having some difficulties .

The user-data (https://gist.github.com/nicolas-g/d648db66ee9db2a15af7) is a bash script that will install ansible , git and make all the setup so I can run ansible-pull during the instance boot time but when I login to the instance I see in /var/log/ansible-pull.log the bellow :


'''''
Starting ansible-pull at 2015-07-21 22:43:59
localhost | success >> {
    "after": "c670223cf346a94cae8bc70a7b349e62b27139cc",
    "before": "c670223cf346a94cae8bc70a7b349e62b27139cc",
    "changed": false
}

Repository has not changed, quitting.
''''

In order to make ansible-pull to work I need to either commit a new change in Github or edit of of the Ansible files locally.

Can someone tell me what am I doing wrong ? 

Regards,
N.

Nicolas G

unread,
Jul 22, 2015, 1:06:21 PM7/22/15
to Ansible Project
working now, I had to remove the git clone step as this is incorporated in ansible-pull .
Reply all
Reply to author
Forward
0 new messages