You need to install Ansible Navigator to run these examples. You can install it with pip install ansible-navigator
. This way you can run the playbooks in an Execution Environment, which Ansible Navigator will pull for you.
I use podman as my container engine (container-engine
) to fire off the Execution Environment. You can change to another alternative (docker) in the ansible navigator config file.
The examples run against DevNet always-on devices.
You can run any example by specifying the resource module in the variable rm
.
ansible-navigator run main.yml -e rm=acls
Alternatively, you can run them directly as follows.
ansible-navigator run acls.yml
ansible-navigator run banner.yml
ansible-navigator run bgp_global.yml
ansible-navigator run hostname.yml
ansible-navigator run l3_interface.yml
ansible-navigator run logging.yml
ansible-navigator run ntp.yml
ansible-navigator run ospfv2.yml
ansible-navigator run prefix_lists.yml
ansible-navigator run snmp.yml
ansible-navigator run user.yml
- iosxr:
bgp.router_id
nxos:router_id
ios:bgp.router_id.address