[ansible-project] How to get varibles from defauls folder in ansible roles.

2018-03-11 Thread jaychandran subramanian
Hi , We have many common varibales and we needs to call it from defautls/main.yaml file . for ex common variables: --- # defaults file for leaf_bgp all_vars: { local_as : '62101', peer_as : '63100', evpn_as : '62000', spine_lo0 : '192.168.0.10', } But while executing with

[ansible-project] "AnsibleUndefinedVariable: 'dict object' has no attribute

2018-03-09 Thread jaychandran subramanian
> > > > [WARNING]: log file at /var/log/ansible.log is not writeable and we cannot > create it, aborting > ansible 2.4.3.0 > config file = /etc/ansible/ansible.cfg > configured module search path = [u'/usr/share/my_modules'] > ansible python module location = >

[ansible-project] "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'local_as'"

2018-03-08 Thread jaychandran subramanian
Hi I am trying solve this from past 2 days, Please help details : [WARNING]: log file at /var/log/ansible.log is not writeable and we cannot create it, aborting ansible 2.4.3.0 config file = /etc/ansible/ansible.cfg configured module search path = [u'/usr/share/my_modules'] ansible python

[ansible-project] "msg": "error connecting to the device: Unexpected session close" -While connecting to cisco ios-xr router with netconf

2017-07-24 Thread jaychandran subramanian
Hi , I tried using netconf/XML rpc with ansible for netconf_config to cisco ios_xr router and we got the below error "msg": "error connecting to the device: Unexpected session close" Ansible version we are using is 2.4 kinly let us know if any inputs. Thanks Jay -- You received this