Hi @Viacheslav I am using Vyos 1.3.x version not 1.4
I applied -vvv option and I am getting below output.
[root@IMG ansible]# ansible-playbook -vvv -i inventory.ini main_bgp.yml
ansible-playbook 2.9.25
config file = /etc/ansible/ansible.cfg
configured module search path = [uâ/usr/share/ansible/plugins/modulesâ, uâ/import/software/ci/ansible/libraryâ]
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible-playbook
python version = 2.7.5 (default, Apr 2 2020, 13:16:51) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
Using /etc/ansible/ansible.cfg as config file
host_list declined parsing /import/software/ci/ansible/inventory.ini as it did not pass its verify_file() method
script declined parsing /import/software/ci/ansible/inventory.ini as it did not pass its verify_file() method
auto declined parsing /import/software/ci/ansible/inventory.ini as it did not pass its verify_file() method
yaml declined parsing /import/software/ci/ansible/inventory.ini as it did not pass its verify_file() method
Parsed /import/software/ci/ansible/inventory.ini inventory source with ini plugin
Skipping callback âactionableâ, as we already have a stdout callback.
Skipping callback âcounter_enabledâ, as we already have a stdout callback.
Skipping callback âdebugâ, as we already have a stdout callback.
Skipping callback âdenseâ, as we already have a stdout callback.
Skipping callback âdenseâ, as we already have a stdout callback.
Skipping callback âfull_skipâ, as we already have a stdout callback.
Skipping callback âjsonâ, as we already have a stdout callback.
Skipping callback âminimalâ, as we already have a stdout callback.
Skipping callback ânullâ, as we already have a stdout callback.
Skipping callback âonelineâ, as we already have a stdout callback.
Skipping callback âselectiveâ, as we already have a stdout callback.
Skipping callback âskippyâ, as we already have a stdout callback.
Skipping callback âstderrâ, as we already have a stdout callback.
Skipping callback âunixyâ, as we already have a stdout callback.
Skipping callback âyamlâ, as we already have a stdout callback.
PLAYBOOK: main_bgp.yml ******************************************************************************************************
1 plays in main_bgp.yml
PLAY [BGP configuration on KVM hosts] ***************************************************************************************
META: ran handlers
TASK [BGP global configuration] *********************************************************************************************
task path: /import/software/ci/ansible/main_bgp.yml:8
<10.41.16.50> ESTABLISH LOCAL CONNECTION FOR USER: root
<10.41.16.50> EXEC /bin/sh -c â( umask 77 && mkdir -p âecho /root/.ansible/tmp/ansible-local-4237_A0At2
â&& mkdir âecho /root/.ansible/tmp/ansible-local-4237_A0At2/ansible-tmp-1635482898.32-4246-154292164765325
â && echo ansible-tmp-1635482898. 32-4246-154292164765325=âecho /root/.ansible/tmp/ansible-local-4237_A0At2/ansible-tmp-1635482898.32-4246-154292164765325
â ) && sleep 0â
Using module file /root/.ansible/collections/ansible_collections/vyos/vyos/plugins/modules/vyos_bgp_global.py
<10.41.16.50> PUT /root/.ansible/tmp/ansible-local-4237_A0At2/tmpvfqtXF TO /root/.ansible/tmp/ansible-local-4237_A0At2/ansibl e-tmp-1635482898.32-4246-154292164765325/AnsiballZ_vyos_bgp_global.py
<10.41.16.50> EXEC /bin/sh -c âchmod u+x /root/.ansible/tmp/ansible-local-4237_A0At2/ansible-tmp-1635482898.32-4246-154292164 765325/ /root/.ansible/tmp/ansible-local-4237_A0At2/ansible-tmp-1635482898.32-4246-154292164765325/AnsiballZ_vyos_bgp_global. py && sleep 0â
<10.41.16.50> EXEC /bin/sh -c â/usr/bin/python2 /root/.ansible/tmp/ansible-local-4237_A0At2/ansible-tmp-1635482898.32-4246-15 4292164765325/AnsiballZ_vyos_bgp_global.py && sleep 0â
<10.41.16.50> EXEC /bin/sh -c ârm -f -r /root/.ansible/tmp/ansible-local-4237_A0At2/ansible-tmp-1635482898.32-4246-1542921647 65325/ > /dev/null 2>&1 && sleep 0â
ok: [bgp_vyos] => {
âbeforeâ: {
âas_numberâ: 65535,
âneighborâ: [
{
âaddressâ: â192.168.50.233â,
âremote_asâ: 65535
}
]
},
âchangedâ: false,
âcommandsâ: ,
âinvocationâ: {
âmodule_argsâ: {
âconfigâ: {
âaggregate_addressâ: null,
âas_numberâ: 65535,
âbgp_paramsâ: null,
âmaximum_pathsâ: null,
âneighborâ: [
{
âaddressâ: â192.168.50.233â,
âadvertisement_intervalâ: null,
âallowas_inâ: null,
âas_overrideâ: null,
âattribute_unchangedâ: null,
âcapabilityâ: null,
âdefault_originateâ: null,
âdescriptionâ: null,
âdisable_capability_negotiationâ: null,
âdisable_connected_checkâ: null,
âdisable_send_communityâ: null,
âdistribute_listâ: null,
âebgp_multihopâ: null,
âfilter_listâ: null,
âlocal_asâ: null,
âmaximum_prefixâ: null,
ânexthop_selfâ: null,
âoverride_capabilityâ: null,
âpassiveâ: null,
âpasswordâ: null,
âpeer_groupâ: null,
âpeer_group_nameâ: null,
âportâ: null,
âprefix_listâ: null,
âremote_asâ: 65535,
âremove_private_asâ: null,
âroute_mapâ: null,
âroute_reflector_clientâ: null,
âroute_server_clientâ: null,
âshutdownâ: null,
âsoft_reconfigurationâ: null,
âstrict_capability_matchâ: null,
âtimersâ: null,
âttl_securityâ: null,
âunsuppress_mapâ: null,
âupdate_sourceâ: null,
âweightâ: null
}
],
ânetworkâ: null,
âredistributeâ: null,
âtimersâ: null
},
ârunning_configâ: null,
âstateâ: âmergedâ
}
}
}
TASK [BGP address family configuration] *************************************************************************************
task path: /import/software/ci/ansible/main_bgp.yml:17
<10.41.16.50> ESTABLISH LOCAL CONNECTION FOR USER: root
<10.41.16.50> EXEC /bin/sh -c â( umask 77 && mkdir -p âecho /root/.ansible/tmp/ansible-local-4237_A0At2
â&& mkdir âecho /root/.ansible/tmp/ansible-local-4237_A0At2/ansible-tmp-1635482900.62-4279-140794238493528
â && echo ansible-tmp-1635482900. 62-4279-140794238493528=âecho /root/.ansible/tmp/ansible-local-4237_A0At2/ansible-tmp-1635482900.62-4279-140794238493528
â ) && sleep 0â
Using module file /root/.ansible/collections/ansible_collections/vyos/vyos/plugins/modules/vyos_bgp_address_family.py
<10.41.16.50> PUT /root/.ansible/tmp/ansible-local-4237_A0At2/tmpAfCeC2 TO /root/.ansible/tmp/ansible-local-4237_A0At2/ansibl e-tmp-1635482900.62-4279-140794238493528/AnsiballZ_vyos_bgp_address_family.py
<10.41.16.50> EXEC /bin/sh -c âchmod u+x /root/.ansible/tmp/ansible-local-4237_A0At2/ansible-tmp-1635482900.62-4279-140794238 493528/ /root/.ansible/tmp/ansible-local-4237_A0At2/ansible-tmp-1635482900.62-4279-140794238493528/AnsiballZ_vyos_bgp_address _family.py && sleep 0â
<10.41.16.50> EXEC /bin/sh -c â/usr/bin/python2 /root/.ansible/tmp/ansible-local-4237_A0At2/ansible-tmp-1635482900.62-4279-14 0794238493528/AnsiballZ_vyos_bgp_address_family.py && sleep 0â
<10.41.16.50> EXEC /bin/sh -c ârm -f -r /root/.ansible/tmp/ansible-local-4237_A0At2/ansible-tmp-1635482900.62-4279-1407942384 93528/ > /dev/null 2>&1 && sleep 0â
ok: [bgp_vyos] => {
âbeforeâ: {},
âchangedâ: false,
âcommandsâ: ,
âinvocationâ: {
âmodule_argsâ: {
âconfigâ: {
âaddress_familyâ: [
{
âafiâ: âipv4â,
âaggregate_addressâ: null,
ânetworksâ: [
{
âbackdoorâ: null,
âpath_limitâ: null,
âprefixâ: â172.30.0.0/24â,
âroute_mapâ: null
}
],
âredistributeâ: null
},
{
âafiâ: âipv6â,
âaggregate_addressâ: null,
ânetworksâ: [
{
âbackdoorâ: null,
âpath_limitâ: null,
âprefixâ: â2001:ef8:1::/48â,
âroute_mapâ: null
}
],
âredistributeâ: null
}
],
âas_numberâ: 65535,
âneighborsâ: null
},
ârunning_configâ: null,
âstateâ: âmergedâ
}
}
}
META: ran handlers
META: ran handlers
PLAY RECAP ******************************************************************************************************************
bgp_vyos : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0