[ansible-project] Unable to terminate EC2 instance.

2017-11-05 Thread PCHEL
Hi I am new to Ansible. Can anyone please help me with my script. I get the error when I run the below script. I am able to create the instance however unable to terminate. An exception occurred during task execution. To see the full traceback, use -vvv. The error was: MissingParameterThe requ

[ansible-project] Listing alias record from route53

2017-11-05 Thread Suresh Prajapati
Hi, I am writing a route53 module for internal usage. For that, I want to list the alias records from route53. --- > - name: retrieve details for lb.example.io > strategy: debug > hosts: localhost > tasks: > - route53: > state: get > zone: example.io > record:

Re: [ansible-project] Re: pytest error message

2017-11-05 Thread Toshio Kuratomi
That depends. Did you install ansible into system site-packages? Or did you check it out from source? On Nov 5, 2017 6:02 PM, "Jae Kim" wrote: > > > $PYTHONPATH is empty. Should this be filled in with something? > > -- > You received this message because you are subscribed to the Google Groups

[ansible-project] Re: pytest error message

2017-11-05 Thread Jae Kim
$PYTHONPATH is empty. Should this be filled in with something? -- 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.

Re: [ansible-project] Re: pytest arugment error

2017-11-05 Thread Toshio Kuratomi
You need to follow the other steps in that page to install the test dependencies, then. Just running the single pytest step won't set up the environment to run the tests. On Nov 5, 2017 5:10 PM, "Jae Kim" wrote: > > It is a single step. > I was following instructions from http://docs.ansible.

[ansible-project] Re: pytest arugment error

2017-11-05 Thread Jae Kim
It is a single step. I was following instructions from http://docs.ansible.com/ansible/latest/dev_guide/developing_modules_general.html#unit-testing -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop re

[ansible-project] Re: Ansible Unit Test installation error

2017-11-05 Thread Jae Kim
The command follows the step described in the Ansible documentation http://docs.ansible.com/ansible/latest/dev_guide/developing_modules_general.html#unit-testing On Thursday, November 2, 2017 at 7:42:51 PM UTC+9, Jae Kim wrote: > > When I run the following command > > pip3 install -r ./test/runner

[ansible-project] ec2_lc issue - only one volume is being created??

2017-11-05 Thread Onallion
Hi guys, Ansible 2.4 I am attempting to use the ec2_lc module to create a launch configuration. All is working great except for the volumes, only one volume (out of 2) is being created, and for some reason it is also created without a "type". My code: volumes: - device_name: "{{ LC_in

Re: [ansible-project] Re: Do not working nginx...

2017-11-05 Thread Artur001
I want to run the Nginx server and PHP-FPM. But the web page does not open (502 Bad Gateway) I'll find out that the pool (php7.1-fpm) is not running Ii is all my project

Re: [ansible-project] Re: Do not working nginx...

2017-11-05 Thread Dick Visser
Hi I see only an error, and nothing more. In order to help you we need to know what you are trying to achieve. The ansible playbook would be a good start. DIck On 5 November 2017 at 09:02, Artur001 wrote: > It is my error. > > /var/log/nginx/joomla_error.log > 2017/11/04 22:18:14 [crit] 10876#1

Re: [ansible-project] Loading variables into plabook tasks failing

2017-11-05 Thread abdul sattar Shaikh
Hi Kai, it is working for me now, I have removed name: dest . Thank you so much for advise, have a nice day. Thank you. Abdul On Sunday, November 5, 2017 at 1:32:35 PM UTC+5:30, abdul sattar Shaikh wrote: > > Hi Kai, > > Yes, I can see the directory starting with {u'dest': u' and in this >

Re: [ansible-project] Loading variables into plabook tasks failing

2017-11-05 Thread abdul sattar Shaikh
Hi Kai, Yes, I can see the directory starting with {u'dest': u' and in this directory i could see xyz.txt file, exact patch is as : {u'dest': u'/u01/app/xyz.txt Since I wish to put this file at /u01/app ( destination folder specified in variables.yml) and my main playbook which is fetchfile.

[ansible-project] Re: Do not working nginx...

2017-11-05 Thread Artur001
It is my error. /var/log/nginx/joomla_error.log 2017/11/04 22:18:14 [crit] 10876#10876: *1 connect() to unix:/run/php/php7.1-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.5.1, server: joomla.devv, request: "GET / HTTP/1.1", upstream: "fastcgi://uni

Re: [ansible-project] Loading variables into plabook tasks failing

2017-11-05 Thread abdul sattar Shaikh
Hi Kai, Thank you for quick response, will try advised and update you. Thanks, Abdul On Sunday, November 5, 2017 at 1:28:26 AM UTC+5:30, Kai Stian Olstad wrote: > > On 04. nov. 2017 20:40, abdul sattar Shaikh wrote: > > I am having below playbooks, I intent to include variables and I have > go