| 1234567891011121314151617181920212223242526272829 |
- - name: Gluster vols
- hosts: gluster
- become: true
- vars:
- gluster_lvm_vol_vg: gluster
- gluster_nodes: "nodeA,nodeB"
- gluster_allow_nginx: "{{ gluster_nodes }},docker_registry,work-marsea"
- roles:
- - { role: gluster_lvm_vol,
- gluster_lvm_vol_name: nginx,
- gluster_lvm_vol_size: 1G,
- gluster_lvm_vol_sslallow: "{{ gluster_allow_nginx }}"
- }
- - { role: gluster_lvm_vol,
- gluster_lvm_vol_name: letsencrypt,
- gluster_lvm_vol_size: 1G,
- gluster_lvm_vol_sslallow: "{{ gluster_allow_nginx }}"
- }
- - { role: gluster_lvm_vol,
- gluster_lvm_vol_name: docker_registry,
- gluster_lvm_vol_size: 2G,
- gluster_lvm_vol_sslallow: "{{ gluster_allow_nginx }}"
- }
- - { role: gluster_lvm_vol,
- gluster_lvm_vol_name: zib,
- gluster_lvm_vol_perms: '0750',
- gluster_lvm_vol_size: 1G,
- gluster_lvm_vol_sslallow: "nodeA,nodeB,work-marsea"
- }
|