summaryrefslogtreecommitdiffstats
path: root/ansible/roles/resource-data/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/resource-data/tasks/main.yml')
-rw-r--r--ansible/roles/resource-data/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/ansible/roles/resource-data/tasks/main.yml b/ansible/roles/resource-data/tasks/main.yml
index 023a160e..74e647f2 100644
--- a/ansible/roles/resource-data/tasks/main.yml
+++ b/ansible/roles/resource-data/tasks/main.yml
@@ -41,3 +41,9 @@
when:
- inventory_hostname in groups.infrastructure
- hostvars[groups.resources.0].to_be_uploaded_resources_list is defined
+
+- name: Store resources location in cfg file
+ template:
+ src: resources.cfg.j2
+ dest: "{{ resources_cfg_path }}"
+ when: inventory_hostname in groups.infrastructure