iosxr_config load config question

Hi All,
I have a problem with uploading a config file to ios XR box.

When i run the play the error is:

fatal: [pe2]: FAILED! => {“changed”: false, “failed”: true, “invocation”: {“module_args”: {“backup”: false, “host”: “192.168.1.21”, “provider”: {“host”: “192.168.1.21”, “ssh_keyfile”: “/home/rado/.ssh/z-id_rsa”, “transport”: “cli”, “username”: “rado”}, “src”: “fabric.cfg”, “ssh_keyfile”: “/home/rado/.ssh/z-id_rsa”, “username”: “rado”}, “module_name”: “iosxr_config”}, “msg”: “unsupported parameter for module: src”}

below is the role:

Hi Radoslav,

Can you post the output of ansible --version?

One of two things is happening here:

  1. you are not running Ansible from source (the src argument is being added in the upcoming 2.2 release)
  2. you are running from source but the module cannot find the file “fabric.cfg”. If you are running from
    the latest commit on devel, we recently added a check that would alert you if the file specified in src could not be found