ansible-pull not working

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.

working now, I had to remove the git clone step as this is incorporated in ansible-pull .