Hello everyone,
AWX 19.4.0 in minikube v1.23.1
Playbook code is
- name: Get running-config and save it
ios_config:
backup: yes
backup_options:
filename: “{{ ansible_net_hostname }}_{{ ansible_host }}.cfg”
dir_path: …/cisco/backup/{{ ansible_net_hostname }}/{{ date.stdout }}at{{ time.stdout }}
TASK [Get running-config and save it] ******************************************14:58:54
30
changed: [IL-SW-001] => {“backup_path”: “…/cisco/backup/IL-SW-001/2021-Oct-20_at_04:58/IL-SW-001_10.1.21.5.cfg”, “changed”: true, “date”: “2021-10-20”, “time”: “04:58:57”}
Im pasted pwd command to check path - its OK