We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi ,I try to add a banner at my aruba os-switch 2930m witch ansible; here my tasks in ansible: here my playbook :
hosts: all gather_facts: False collections: aos_switches vars: ansible_connection: network_cli ansible_network_os: arubaoss config: create tasks: name: ajout banner arubaoss_config: lines: - banner motd ^######################################################################### Vous entrez dans un espace securise du systeme d information. Assurez vous d avoir les autorisations necessaires #########################################################################^ name: sh banner arubaoss_command: commands: [ ' show banner motd '] register: banniere debug: msg: "{{banniere}}"
i have the error : TASK [ajout banner] ***************************************************************************************************************** fatal: [switch1]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python3"}, "changed": false, "command": "banner motd ^ Vous entrez dans un espace securise du systeme d information ^", "msg": ";1Hrmation ^Invalid input: Vous\r\neee(config)# ", "rc": -32603}
the problem is a format problem after banner motd ?
The text was updated successfully, but these errors were encountered:
I think yes, you do have try to escape # ( for example #)
Ansible think # is a comment...
Sorry, something went wrong.
Hello! I replied to your issue here: aruba/aos-switch-ansible-collection#11
No branches or pull requests
Hi ,I try to add a banner at my aruba os-switch 2930m witch ansible; here my tasks in ansible:
here my playbook :
i have the error :
TASK [ajout banner] *****************************************************************************************************************
fatal: [switch1]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python3"}, "changed": false, "command": "banner motd ^ Vous entrez dans un espace securise du systeme d information ^", "msg": ";1Hrmation ^Invalid input: Vous\r\neee(config)# ", "rc": -32603}
the problem is a format problem after banner motd ?
The text was updated successfully, but these errors were encountered: