Please post your error message On Monday, September 13, 2021 at 9:36:10 PM UTC+5:30 ggabri...@gmail.com wrote:
> Running Ansible 2.9 but having issues getting playbook to run, here > is an example of the playbook > > - hosts: switch01 > gather_facts: no > > > # Using merged > > # Before state: > # ------------- > # > # interface Ethernet1/1 > # description testing > # mtu 1800 > > - name: Merge provided configuration with device configuration > nxos_interfaces: > config: > - name: Ethernet1/1 > description: 'Configured by Ansible' > enabled: True > - name: Ethernet1/2 > description: 'Configured by Ansible Network' > enabled: False > state: merged > > # After state: > # ------------ > # > # interface Ethernet1/1 > # description Configured by Ansible > # no shutdown > # mtu 1800 > # interface Ethernet2 > # description Configured by Ansible Network > # shutdown > > > -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/9f54d926-985c-4b6b-8c6b-9c94fe193e36n%40googlegroups.com.