diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-12-06 10:14:00 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-12-06 10:14:00 +0100 |
commit | bdcf77c2a664de34014a21913a3d3a0474f9bbba (patch) | |
tree | 2a4e682fdc0cc4bbc1bdc81d3e171e27fe389049 /roles/ands_facts/tasks/volumes.yml | |
parent | 68a90c3b962af76a4b1390e097a2f3d848ca6643 (diff) | |
download | ands-bdcf77c2a664de34014a21913a3d3a0474f9bbba.tar.gz ands-bdcf77c2a664de34014a21913a3d3a0474f9bbba.tar.bz2 ands-bdcf77c2a664de34014a21913a3d3a0474f9bbba.tar.xz ands-bdcf77c2a664de34014a21913a3d3a0474f9bbba.zip |
Compatibility fixes with ansible 2.8
Diffstat (limited to 'roles/ands_facts/tasks/volumes.yml')
-rw-r--r-- | roles/ands_facts/tasks/volumes.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/roles/ands_facts/tasks/volumes.yml b/roles/ands_facts/tasks/volumes.yml index 616202c..7bbba49 100644 --- a/roles/ands_facts/tasks/volumes.yml +++ b/roles/ands_facts/tasks/volumes.yml @@ -1,7 +1,9 @@ - name: Process all storage domains include_tasks: "volumes_iterate.yml" - run_once: true - delegate_to: "{{ groups[domain.servers][0] }}" + args: + apply: + run_once: true + delegate_to: "{{ groups[domain.servers][0] }}" with_items: "{{ ands_local_storage_domains | default([]) | union(ands_storage_domains) }}" loop_control: loop_var: domain |