In an ansible play, is "or" not supported with conditional statements? I
have a task that is searching a variable for 2 values. The when statements
work alone, but with "or" it runs but doesn't do what I am expecting. Here
is the task, is my syntax wrong or is it just not supported? -
- n
Hello everyone. I am having some issues with using the information from
cli_parser output. '''
- name: Create po_ch variable
ansible.netcommon.cli_parse:
command: "show etherchannel summary"
parser:
name: ansible.netcommon.pyats
set_fact: po_ch
t
Hopefully someone can assist - this seems like it should be a simple thing.
vars:
ips: [1.1.1.1,2.2.2.2]
tasks:
-name: Get Tacacs info
cisco.ios.ios_command
commands: "show tacacs"
register: tacacas
-name: Run command based on tacacs var
cisco.ios.config:
lines:
- do s
Hello,
I am trying to get a list of devices that are out of compliance with Cisco
licensing. I would like to take failed out of compliance devices and add
them to a list. Then send it to Microsoft Teams.
What I am looking for is a list to just send to Teams once, instead of
trying to send