Yes that is exactly what I was looking for Kai. Would I still specify the
entire group 'ios' in the hosts section of the playbook?
On Wednesday, August 22, 2018 at 9:41:28 AM UTC-6, Kai Stian Olstad wrote:
>
> On 22.08.2018 17:18, Caleb Guerrero wrote:
> > Actually after re-readi
Actually after re-reading your post Brian. I can have 1 play with multiple
tasks set to run_once or use a when conditional; I could also just use
multiple plays to accomplish this. I was hopeful there was a way to use a
for loop to loop over specific hosts running the task individually per
Yeah in my scenario I would have 12+ plays for this development
environment. I was mainly looking for other options that would shorten the
size of the playbook if I had to run a similar command across hundreds of
hosts. With the when conditional, I would still need individual plays per
host
All,
I am trying to refactor my playbook to run an ios command across a group of
hosts... My challenge is that the command is specific to individual hosts
in the group. As it stands, my playbook initial task is ran against all
hosts in my group and looping over every item in my list. My intent
Hello,
I have been attempting to connect to various Cisco IOS devices in our dev
environment with no luck using the network_cli connection method. I can
communicate with all devices when running* 'ansible ios -m ping'* and
setting the connection method to *'ansible_connection: local';* however