Re: [ansible-project] Question about hosts and playbooks

2018-05-07 Thread Sosys
good question. wondering if there is a way to find out this as well. i find that ansible inventory "management" is rather tricky On Mon, May 7, 2018 at 5:49 AM, Edmund Cheng wrote: > Hi, > I recently started ansible and have a question: > > - Lets say we have like 100

Re: [ansible-project] if-elseif-if

2018-05-06 Thread Sosys
my understanding is that, on the "when" statement, you dont need to specify " {{ or }} " On Sat, May 5, 2018 at 7:25 AM, Ali Khawaja wrote: > i am trying to set a variable based on the value of a variable in the > config file but unable to do so. > > here's my config

Re: [ansible-project] Re: Hosts behind ssh-proxy

2018-04-28 Thread Sosys
try this: https://groups.google.com/forum/?utm_medium=email_source=footer#!msg/ansible-project/-AFEyk69T8k/0X9skiOXCQAJ On Sat, Apr 28, 2018 at 7:19 PM, wrote: > there was a mistake in the ssh command example. The right one is: > > ssh %%@ > > Am Freitag, 27. April 2018

Re: [ansible-project] Ansible Tower Installation Error

2018-04-21 Thread Sosys
IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/sshuttle-0.78.4-py2.7.egg/EGG-INFO/entry_points.txt can you try to see the permission on the folder ? On Fri, Apr 20, 2018 at 3:36 PM, pi co wrote: > Hi, I'm start using Ansible for learning purpose. I

Re: [ansible-project] Re: HP ILO set from ansible (no OS installed)

2018-04-17 Thread Sosys
Hi Dave, thanks! On Fri, Apr 13, 2018 at 8:00 AM, Dave H wrote: > It's a python library. Create a new virtualenv, activate it, install > ansible and python-hpilo and you should be good to run your playbook > > virtualenv venv > . venv/bin/activate > pip install

Re: [ansible-project] Re: Steps for ssh forwarding?

2018-04-09 Thread Sosys
Hi ssh -F ssh.config -fN user@some_jumpbox --> im able to establish this and send it back to the background ssh -F ssh.config user@someserverbehindjumpbox --> does not work. the message is: ssh_exchange_identification: Connection closed by remote host the "hosts" im referring to is in the