[ansible-project] How can I figure out which version of Ansible an ansible-modules-core merge request first appears in?

2016-05-02 Thread Kit Sunde
This pull request: https://github.com/ansible/ansible-modules-core/pull/2673 supposedly adds MySQL 5.7 support on mysql_user. The last note says it's been merged into the 2.0 stable and the devel branch, but it's not clear to me if it means it's in the 2.0 release or the upcoming 2.1 release.

[ansible-project] Re: Ansible Autoscaling with Tower and AWS blog post, instances are NOT authorized by server

2016-05-02 Thread einarc
I noticed that I was parsing my instances in a public subnet, I even modified the playbook to add a public Ip at the LC level and configured my subnet to be Public. So when the playbook runs the instance is actually public so the Callback doesn't return anything. The instances should be

Re: [ansible-project] Ansible Autoscaling with Tower and AWS blog post, instances are NOT authorized by server

2016-05-02 Thread Matt Martz
For tower questions, please contact supp...@ansible.com or use https://support.ansible.com This list is for the open source Ansible project. On Monday, May 2, 2016, einarc wrote: > Hello, > > So I followed this post: > >

[ansible-project] Ansible Autoscaling with Tower and AWS blog post, instances are NOT authorized by server

2016-05-02 Thread einarc
Hello, So I followed this post: https://www.ansible.com/blog/autoscaling-infrastructures And managed to deploy the infrastructure, the problem is the callback isn't working. I keep getting no available hosts: curl -k -s -i --data host_config_key=mykey_here

Re: [ansible-project] Using Ansible.cfg with roles and tasks

2016-05-02 Thread Brian Coca
you can set the equivalent host var (ansible_ssh_args), in group_vars/all adjacent to play. -- 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

[ansible-project] Re: Not Working As Expected: main.yml - include something.yml tags=something

2016-05-02 Thread Jacob
I found the solution here: http://docs.ansible.com/ansible/playbooks_tags.html The syntax in this case that works for me is: - include: something.yml tags: something On Monday, May 2, 2016 at 2:15:14 PM UTC-4, Jacob wrote: > > Hello, > > I'm writing a new playbook and executing it using

[ansible-project] Multiple vars in with_nested problem

2016-05-02 Thread Patrick Laimbock
Hi, I'm trying out (Ansible 2.0.2.0 on Fedora 23). The snippet below is also on http://pastie.org/10821272 Goal: expand task #3 below so it installs for existing users all the files listed in the variable mc_templates. Question: I tinkered but couldn't make it work (snippet + error at the

[ansible-project] Is there a json module yet?

2016-05-02 Thread Will LaSeur
I'm looking for a quick way to update a json file without needing to template the file. I want to be able to change the values each time a job is being run based on user input. I tried this: http://www.geekytidbits.com/ansible-module-modify-json/ But was unsuccessful to get it working.

[ansible-project] Not Working As Expected: main.yml - include something.yml tags=something

2016-05-02 Thread Jacob
Hello, I'm writing a new playbook and executing it using ansible 2.1.0. It appears the tags I define in main.yml on an include line are being ignored. By comparison, this works as expected in ansible 1.9.2 Example: roles/common/tasks/main.yml: --- - include: something.yml tags=something I

[ansible-project] synchronize between two remote servers: you can pull but you cannot push?

2016-05-02 Thread Joe Louthan
So pulling in synchronize between two remote servers works like a champ: --- - hosts: web14 remote_user: jlouthan tasks: - name: Get current timestamp local_action: command bash -c 'date +%Y-%m-%d.%H%M' register: timestamp run_once: true - name: Get current

Re: [ansible-project] why the playbook does not run as many times as there are entries in the hosts file ?

2016-05-02 Thread Brian Coca
only 1 of them will be visible, i recommend using the 'inventory_hostname' as an alias: [server] localhost_fvaltat ansible_connection=local ansible_user=fvaltat localhost_greg ansible_connection=local ansible_user=greg -- Brian Coca -- You received this message because you are

Re: [ansible-project] why the playbook does not run as many times as there are entries in the hosts file ?

2016-05-02 Thread fanvalt
Thank you but do you mean if I want to deploy on the same hostnames for different ansible_user, this will merge too ? Example: [server] localhost ansible_connection=local ansible_user=fvaltat localhost ansible_connection=local ansible_user=greg regards Le lundi 2 mai 2016 14:52:09 UTC+2,

Re: [ansible-project] why the playbook does not run as many times as there are entries in the hosts file ?

2016-05-02 Thread Brian Coca
hostnames are unique, so multiple entries are merged. -- 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

Re: [ansible-project] storing Ansible facts in mysql database

2016-05-02 Thread Brian Coca
A fact cache plugin can do this easily, check the memcached and redis ones as an example. -- 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

[ansible-project] storing Ansible facts in mysql database

2016-05-02 Thread Anil Dasmala
Hi Guys, Can someone guide me on how to store the facts for all hosts in inventory into a mysql database. In other words, output data of setup module to mysql. Appreciate ideas/suggestions. --Anil -- You received this message because you are subscribed to the Google Groups "Ansible Project"

[ansible-project] storing/inserting Ansible facts into mysql database

2016-05-02 Thread Anil Dasmala
Hi Guys, I wanted to store facts of all servers(setup module data/output) into mysql database(for easy custom facts retrieval later) Can someone please give ideas on how to achieve this. Thanks in advance. --Anil -- You received this message because you are subscribed to the Google Groups

[ansible-project] Ansible with GitHub and Jenkins

2016-05-02 Thread abidewan7
Hi Guys, I'm looking for a step by step process to configure GitHub, Jenkins (CI) and Ansible (CD) so that a code from local machine to -> Github -> Jenkins (CI) -> Ansible (CD) -> local or EC2 can be deployed. Also looking for a list of all parameters available to deploy AWS resources,

[ansible-project] why the playbook does not run as many times as there are entries in the hosts file ?

2016-05-02 Thread fanvalt
Hello, I did param 2 entries in my hosts file: [server] localhost ansible_connection=local ansible_user=fvaltat PARAM="['tomweb', '', 'Y','1']" localhost ansible_connection=local ansible_user=fvaltat PARAM="['openhr', '7.30.060', 'Y','2']" In my playbook, I did set the hosts to server: -

Re: [ansible-project] ansible ne récupére pas les tout les variables d'environnement de la machine distante

2016-05-02 Thread Toshaan Bharvani | VanTosh
On 29/04/16 12:10, mondher khas wrote: Bonjour j'ai essayé de récupérer la valeur de la variable JAVA_HOME dans un fichier TEST.txt , le résultat est un fichier vide cad ansible n'arrive pas à lire cette variable . si j'execute la commande echo $JAVA_HOME directement sur la machine distante