summaryrefslogtreecommitdiffstats
path: root/roles/ands_facts/tasks/volume.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ands_facts/tasks/volume.yml')
-rw-r--r--roles/ands_facts/tasks/volume.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/ands_facts/tasks/volume.yml b/roles/ands_facts/tasks/volume.yml
new file mode 100644
index 0000000..5ac4af3
--- /dev/null
+++ b/roles/ands_facts/tasks/volume.yml
@@ -0,0 +1,8 @@
+- name: "Associating volumes with domains"
+ set_fact: "ands_volume_{{ name }}_domain={{ domain }}"
+
+- name: "Associating volumes with servers"
+ set_fact: "ands_volume_{{ name }}_servers={{ domain_servers }}"
+
+- name: "Associating volumes with servers"
+ set_fact: "ands_volume_{{ name }}_server_ids={{ domain_server_ids }}"