To store registered output to from AWX to Centos host

,

Dear all,

I have some output from cisco show command and will be store in the “show_run” register.
Using this copy content command to create file in “/var/lib/awx/projects/project” (this folder can be access by ee, task and web container)

  • local_action: copy content=“{{ show_run.stdout_lines }}” dest=“/var/lib/awx/projects/project1/{{ inventory_hostname }}.ios”

The reason to copy to this folder is because I have attached the pv and would like to access the show command anytime.

Is this possible to be achieve using the above command in playbook?
If not possible, could you share any way that I can store the registered output from the AWX to my centos host folder?

AWX 19.2.0

Centos 8.3
Minikube 1.20.0

Thanks!