[ansible-project] Parameterize the HostName HostKey in the hosts file

2014-07-09 Thread Suresh Katta
Hi, I'm a newbie in Ansible and trying for a solution to this issue. We have a jenkins server on one machine which is connected to all the Dev, Test Prod instances. So now on Jenkins Server, by using the Jenkins UI we will be able to deploy / configure the instances using playbooks created

Re: [ansible-project] Parameterize the HostName HostKey in the hosts file

2014-07-09 Thread Henry Finucane
If you have a separate inventory for dev, test, and prod, you could have jenkins choose the environment, and keep the hostnames, etc, in the inventory. On Jul 9, 2014 6:06 AM, Suresh Katta kattasureshku...@gmail.com wrote: Hi, I'm a newbie in Ansible and trying for a solution to this issue.

Re: [ansible-project] Parameterize the HostName HostKey in the hosts file

2014-07-09 Thread Michael DeHaan
Take a look at --extra-args. Should be easy to pass parameterized Jenkins parameters down that way. You may also be interested in Ansible Tower that provides more shiny alternatives and also some better access control and credential sharing. On Wed, Jul 9, 2014 at 11:09 AM, Henry Finucane