Discussion:
[ansible-project] ansible-pull not working
Nicolas G
2015-07-21 23:01:16 UTC
Permalink
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.
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3cdabf7e-b965-4749-9c20-b0d47b62aab4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Nicolas G
2015-07-22 17:06:20 UTC
Permalink
working now, I had to remove the git clone step as this is incorporated in
ansible-pull .
Post by Nicolas G
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
'''''
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.
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4668e262-4e28-4bb4-984e-7122bea2266d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...