ansible/cisco/chng.yml

23 lines
301 B
YAML
Raw Normal View History

2025-10-31 08:47:26 +04:00
---
- name: CNG
hosts: routers
tasks:
- name: CHNG_NETADMIN
ios_config:
lines:
- "username netadmin privilege 15 secret CtntdbrK)m0$fghbitK"
notify: SAVE_CONFIG
handlers:
- name: SAVE_CONFIG
ios_command:
commands:
- write