You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to put initial configs onto devices via the console port. When trying to use Jinja2 to create a base config including variables, the host_vars files seem to be ignored. No variables placed in host_vars are available to the template.
ansible-playbook -i hosts config_push_serial.yml
Device password:
PLAY [Load Initial Configuration] ************************************************************************************************************************************************************
TASK [Load initial configuration and commit] *************************************************************************************************************************************************
fatal: [qfx1]: FAILED! => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python3"
},
"changed": false
}
MSG:
Failure loading the configuraton: ConfigLoadError(severity: error, bad_element: ;, message: error: invalid value
error: error recovery ignores input until this point
error: error recovery ignores input until this point
error: error recovery ignores input until this point
error: error recovery ignores input until this point
error: error recovery ignores input until this point
error: error recovery ignores input until this point
error: error recovery ignores input until this point
error: error recovery ignores input until this point
error: error recovery ignores input until this point
warning: mgd: statement has no contents; ignored
error: invalid ip address or hostname: /32
error: invalid value
error: error recovery ignores input until this point
error: error recovery ignores input until this point
error: error recovery ignores input until this point
warning: mgd: statement has no contents; ignored)
PLAY RECAP ***********************************************************************************************************************************************************************************
qfx1 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
The text was updated successfully, but these errors were encountered:
Issue Type
Module Name
juniper_junos_config
juniper.device collection and Python libraries version
OS / Environment
QFX 5100 JUNOS 20.1R1.11
Summary
I'm trying to put initial configs onto devices via the console port. When trying to use Jinja2 to create a base config including variables, the host_vars files seem to be ignored. No variables placed in host_vars are available to the template.
Steps to reproduce
Expected results
Actual results
The text was updated successfully, but these errors were encountered: