[ansible-project] Ansible Tower, require approval in workflow

2017-11-09 Thread Rod Oliver
Does Ansible Tower support some kind of approval check in workflows? The use case that I have in mind is to use a workflow to roll out a change request, but to only run the workflow which pulls the trigger on implementation when approval is explicitly obtained. -- You received this message

Re: [ansible-project] "/bin/sh" isn\'t allowed to be executed

2017-07-12 Thread Rod Oliver
, Rod Oliver <rodoli...@gmail.com> wrote: > Hi Brian, > > The command and output is below. > > The thing that I find odd is that, to the best of my knowledge, ansible > uses the ssh client config of user by default. The same user that runs > ansible (root in this case

Re: [ansible-project] "/bin/sh" isn\'t allowed to be executed

2017-07-12 Thread Rod Oliver
Hi Brian, The command and output is below. The thing that I find odd is that, to the best of my knowledge, ansible uses the ssh client config of user by default. The same user that runs ansible (root in this case) gets the correct username (not root) and SSH key from ~/.ssh/config and is able to

Re: [ansible-project] Ansible ACI Modules

2017-07-12 Thread Rod Oliver
, 25 June 2017 04:07:19 UTC+2, Dag Wieers wrote: > > On Thu, 22 Jun 2017, Rod Oliver wrote: > > > Hi All, > > > > I'm aware of modules for ACI on Github > > (https://github.com/jedelman8/aci-ansible), however they haven't seen a > lot > > of updates i

[ansible-project] "/bin/sh" isn\'t allowed to be executed

2017-07-12 Thread Rod Oliver
I'm trying to run commands against a remote host and even a simple ad hoc ping fails, with the error '"/bin/sh" isn\'t allowed to be executed'. The error message changes to '/bin/bash' when I add "executable = /bin/bash" in ansible.cfg. Adding the -b switch makes no difference. When looging in

[ansible-project] Ansible ACI Modules

2017-06-22 Thread Rod Oliver
Hi All, I'm aware of modules for ACI on Github (https://github.com/jedelman8/aci-ansible), however they haven't seen a lot of updates in the last while. Is anyone using them who might be prepared to chat about their experiences? Rod -- You received this message because you are subscribed

Re: [ansible-project] Search for value in variable array

2017-06-09 Thread Rod Oliver
Thanks again for your reply. I think I have a faulty understanding with the way that loops and conditionals apply in Ansible. cdp_nei.response is a list of dictionaries (containing values for interface name, neighbor name and neighbor interface) and I'm using that as an input for a loop to

Re: [ansible-project] Search for value in variable array

2017-06-08 Thread Rod Oliver
Thanks for your respoinse Kai. I changed the conditional statement to that below. It wasn't what I really wanted but I figured if it worked I could build on it. I got a further error. Statement: when: int_stat.response | search(cdp_nei.response.item.neighbor) Error: TASK [Create interface

[ansible-project] Search for value in variable array

2017-06-08 Thread Rod Oliver
I have created a couple of arrays using responses from commands via ntc_ansible to a Cisco switch, one containing CDP neighbor information (with keys "local_interface", "neighbor" and "neighbor_interface") and the other from a listing of interfaces on the switch. I want to use the presence of

[ansible-project] ovs-vsctl add-bond with Ansible

2016-09-30 Thread Rod Oliver
Is there a way to replicate the command "ovs-vsctl add-bond " with openvswitch_port in Ansible? -- 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] Run local dynamic inventory script against remote Fuel server

2016-07-17 Thread Rod Oliver
ne 9: from: command not found usage: fuel [optional args] [action] [flags] DEPRECATION WARNING: In an upcoming release of Fuel Client, the syntax will On Sunday, 10 July 2016 18:31:56 UTC+3, Kai Stian Olstad wrote: > > On 10. juli 2016 11:08,

[ansible-project] Run local dynamic inventory script against remote Fuel server

2016-07-10 Thread Rod Oliver
I have found a dynamic inventory script (https://github.com/martineg/ansible-fuel-inventory) for Mirantis Fuel that runs just fine on the Fuel host itself. In my case I can't install Ansible on the Fuel server so need to to run the dynamic inventory script remotely. I guess there ought to be a

[ansible-project] Variable file inclusion advice sought

2016-04-11 Thread Rod Oliver
I'm trying to create a playbook in which I have a single role though I expect this will expand with time. I want to load the variables in a file per play_host. I think I can include the variable file with the same name as the host with .yml or .yaml suffix in ./host_vars or ./group_vars/