I've just tried with 2.1.1.0 RC2 and it works. As a conclusion, and since
there is a typo in my first post, here is one *solution*:
- name: Saving config into local file
local_action:
copy content="{{ out.stdout }}" dest=files/configs/{{
inventory_hostname }}/{{ inventory_hostname }}_{{ config }}_{{
ansible_date_time.date }}_{{ ansible_date_time.time }}_{{
ansible_date_time.tz }}.txt
- name: Reformatting config file
local_action:
script {{ role_path }}/../../files/scripts/format-config.sh
files/configs/{{ inventory_hostname }}/{{ inventory_hostname }}_{{ config
}}_{{ ansible_date_time.date }}_{{ ansible_date_time.time }}_{{
ansible_date_time.tz }}.txt
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/785a1b96-45f5-4c3d-85ef-b8a242c3f5bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.