Commit 6a145d00 authored by Spiros Koulouzis's avatar Spiros Koulouzis

added vars for 002.setup_glusterfs_infra.yml

parent c363ebcd
...@@ -63,7 +63,7 @@ class AnsibleService: ...@@ -63,7 +63,7 @@ class AnsibleService:
arguments = None arguments = None
if application.name == 'gluster_fs' or application.name == 'glusterfs' or application.name == 'tic': if application.name == 'gluster_fs' or application.name == 'glusterfs' or application.name == 'tic':
arguments = '["-u","vm_user"]' arguments = '["-u","vm_user"]'
if playbook_name == '013.mount_fs.yml': if playbook_name == '013.mount_fs.yml' or playbook_name == '002.setup_glusterfs_infra.yml':
for vm in vms: for vm in vms:
attributes = vm.node_template.attributes attributes = vm.node_template.attributes
if attributes['role'] == 'master': if attributes['role'] == 'master':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment