[ansible-project] Re: Install Jenkins server inside Vagrant box using ansible

2017-06-22 Thread Larry Smith
I do not have specific documentation on doing the step by step installation as requested. However, I have put together a usable Jenkins installation provisioned with Ansible within a Vagrant Virtualbox environment. Would be good to learn how it is put together but maybe not. Thought I would go

[ansible-project] Problem with "Skipping: No hosts matched" when using add_host and groups

2017-06-22 Thread Alex White
Hello, I'm launching an AWS instance and setting that instances' new public IP address to a variable, and attempting to add that host to a group. Later in the same play, I use that group name in the topology.yml to remotely configure it. I successfully get the IP address from the newly created

Re: [ansible-project] Re: Ansible Copy module error - "Exec format error"

2017-06-22 Thread Anfield
Ok. Thanks. Once I update the stuff.fact file then the playbook runs fine. > -- 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+unsubscr...@goo

Re: [ansible-project] Re: Ansible Copy module error - "Exec format error"

2017-06-22 Thread Brian Coca
Sorry, I should have been more specific, the copy task has nothing to do with the error, it is all about the fact gathering (setup task) that happens before it. That is what gives you the error and the problem is this file /etc/ansible/facts.d/stuff.fact, which I explained how to solve in the previ

Re: [ansible-project] Re: Ansible Copy module error - "Exec format error"

2017-06-22 Thread Kai Stian Olstad
On 22. juni 2017 17:15, Anfield wrote: I dont follow. Its not a file though, its a directory. Both are directories.. Brian wrote about the error messages. fatal: [127.0.0.1]: FAILED! => {"changed": false, "cmd": "/etc/ansible/facts.d/stuff.fact", "failed": true, "msg": "[Errno 8] Exec format

Re: [ansible-project] Re: Ansible Copy module error - "Exec format error"

2017-06-22 Thread Anfield
The src directory is executable > > >> -- 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+unsubscr...@googlegroups.com. To post to this group,

Re: [ansible-project] Re: Ansible Copy module error - "Exec format error"

2017-06-22 Thread Anfield
I dont follow. Its not a file though, its a directory. Both are directories.. > -- 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+unsubscr...

Re: [ansible-project] Re: Ansible Copy module error - "Exec format error"

2017-06-22 Thread Brian Coca
file is executable, fact gathering will try to execute, but it does not seem to be a proper executable. a) fix file permissions (assuming its JSON data) b) fix file to execute properly -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Pr

[ansible-project] Re: Ansible Copy module error - "Exec format error"

2017-06-22 Thread Anfield
Resolved this when I set gather_facts: no. Anyone know why that would be? ansible 2.3.0.0 > -- 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

[ansible-project] Ansible Copy module error - "Exec format error"

2017-06-22 Thread Anfield
I get the error below when trying to copy a directory (from local to local) Anyone know why? (It doesn't work either with trailing slashes in src and destination, also destination does exist) * fatal: [127.0.0.1]: FAILED! => {"changed": false, "cmd": "/etc/ansible/facts.d/stuff.fact", "failed":

Re: [ansible-project] expected sudo prompt

2017-06-22 Thread Brian Coca
Ansible uses `sudo -p` to set the prompt it gets, so it always matches. -- Brian Coca -- 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-projec

[ansible-project] Ansible 2.3.1 adding 'rounds=65600' to password in /etc/shadow

2017-06-22 Thread Johannes Kastl
Hi everyone, I just ran into a timeout when executing my unchanged playbook against my raspi (raspi2 with debian), that I had not run on this host since ansible 2.2 at least. It seems ansible (or the python hash library or whoever) is adding a rounds=656000 to the password in /etc/shadow, which t

[ansible-project] Re: AWS profile not found

2017-06-22 Thread B Holmes
Fixed. Had become: True in my build.yml so it was looking for root's credentials file /root/.aws/credentials On Thursday, June 22, 2017 at 11:43:02 AM UTC+1, B Holmes wrote: > > Hi, > > I'm having trouble authenticating to AWS using a profile. My > ~/.aws/credentials file has a profile named p

[ansible-project] AWS profile not found

2017-06-22 Thread B Holmes
Hi, I'm having trouble authenticating to AWS using a profile. My ~/.aws/credentials file has a profile named production: [default] aws_access_key_id = aws_secret_access_key = region = eu-west-1 [production] aws_access_key_id = aws_secret_access_key = region = eu-west-1 Boto can see it: imp

[ansible-project] Ansible ACI Modules

2017-06-22 Thread Rod Oliver
Hi All, I'm aware of modules for ACI on Github (https://github.com/jedelman8/aci-ansible), however they haven't seen a lot of updates in the last while. Is anyone using them who might be prepared to chat about their experiences? Rod -- You received this message because you are subscribed t

[ansible-project] Ansible docker_container task cannot start a container while the equivalent docker run command can

2017-06-22 Thread ishan jain
I am using docker_container module on my infra quite extensively for some time and now i am stuck at a problem for which i cannot figure out the reason. One point to note here is that for the following chances, there is lesses probability of messing up somewhere else, like in the whole script,

Re: [ansible-project] Ansible 2.3.0 Connecting to Cisco IOS router

2017-06-22 Thread Ganesh Nalawade
You need to mention connection type local for network devices. --- - hosts: lab connection: local The credentials to connect to remote network device can be mentioned either in playbook within a provider or in host inventory