[ansible-project] install Ansible on Mac 2.5.0

2018-04-15 Thread Jose Julian Orjuela Lopera
Hello guys, I need you help, I try the install Ansible on my Mac, but not is possible, I have this is error: Please, Can someone tell me, how can I install Ansible correctly on my MAC? macOS Hig Sierra version 10.13.4, thanks [DEPRECATION WARNING]: ANSIBLE_HOSTS option, The variable is

Re: [ansible-project] Re: Postgresql(psycopg2.ProgrammingError: relation "products" does not exist) with Ansible 2.4

2018-04-15 Thread Kai Stian Olstad
On 15.04.2018 12:20, Bishwajit Samanta wrote: TASK [database : Create Postgress User] * Sunday 15 April 2018 15:47:07 +0530 (0:00:01.552) 0:00:34.890 ** An exception occurred during

[ansible-project] Re: Variables with quotes

2018-04-15 Thread Larry Smith
Absolutely and completely understand. Good luck with your learning. On Sunday, April 15, 2018 at 12:10:04 AM UTC-4, Shaun Lim wrote: > > Thanks for the tip Larry. > > I wanted to create my own module as I am learning Ansible. > > In any case, I managed to get it done by splitting each type of

Re: [ansible-project] Ansible in High Availability

2018-04-15 Thread Pshem Kowalczyk
There is nothing about pure ansible HA because ansible is effectively stateless. You can run the same playbooks on another machine (or multiple machines at once) with no problem as long as ansible is installed there. My only suggestion is to use some sort of version management (like git) to store

[ansible-project] Re: Postgresql(psycopg2.ProgrammingError: relation "products" does not exist) with Ansible 2.4

2018-04-15 Thread Bishwajit Samanta
Thanks Kai, that problem got solved. but after that 1 more problem created. Below is the error log. Now i am able to create database. Error::- - TASK [database : Install Postgress 9.5 Version and its dependencies]

Re: [ansible-project] Postgresql (Peer Authentication Error) with Ansible 2.4

2018-04-15 Thread Kai Stian Olstad
On 15.04.2018 11:18, Bishwajit Samanta wrote: Hi, i am having a problem in setting up postgresql through ansible. Error::- -- Peer authentication failed for user "postgres". I checked google, i found people as saying i need to use become and become_user: postgress. But even after

[ansible-project] can ansible do BGP or OSPF troubleshooting automatically?

2018-04-15 Thread Ho Yeung Lee
can ansible do BGP or OSPF troubleshooting automatically? can it follow the steps below? https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/22166-bgp-trouble-main.html or https://www.cisco.com/c/en/us/support/docs/ip/open-shortest-path-first-ospf/12151-trouble-main.html

[ansible-project] Postgresql (Peer Authentication Error) with Ansible 2.4

2018-04-15 Thread Bishwajit Samanta
Hi, i am having a problem in setting up postgresql through ansible. Error::- -- Peer authentication failed for user "postgres". I checked google, i found people as saying i need to use become and become_user: postgress. But even after doing that i am getting, that those are not valid

Re: [ansible-project] replace string in file created by root on remote server

2018-04-15 Thread Agoston Bejo
Hi Kai, indeed, that seemed to be the problem! Thank you very much! On Saturday, April 14, 2018 at 10:42:35 AM UTC+2, Kai Stian Olstad wrote: > > > remote_user and become_user(sudo_user is depricated) is a directive for > the task, not the module so you indentation is probably wrong. > They

[ansible-project] Ansible in High Availability

2018-04-15 Thread Tom K.
Hey All, Trying to understand how to setup Ansible in High Availability. I know AWX (Tower) can be setup and there's plenty of docs out there but being a relative Novice to Ansible, I'm not able to find much on setting up *only* Ansible in HA. Could anyone point me to some online material