You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
500 B
13 lines
500 B
|
|
- name: Collect current datetime
|
|
set_fact:
|
|
awx_datetime: "{{ lookup('pipe', 'date +%Y-%m-%d_%H:%M') }}"
|
|
|
|
- name: Create cached matrix_vars.yml file location
|
|
set_fact:
|
|
awx_cached_matrix_vars: '/var/lib/awx/projects/clients/{{ member_id }}/{{ subscription_id }}/matrix_vars_{{ awx_datetime }}.yml'
|
|
|
|
- name: Create cached matrix_vars.yml
|
|
delegate_to: 127.0.0.1
|
|
shell: "cp /var/lib/awx/projects/clients/{{ member_id }}/{{ subscription_id }}/matrix_vars.yml {{ awx_cached_matrix_vars }}"
|