vols.yaml 975 B

1234567891011121314151617181920212223242526272829
  1. - name: Gluster vols
  2. hosts: gluster
  3. become: true
  4. vars:
  5. gluster_lvm_vol_vg: gluster
  6. gluster_nodes: "nodeA,nodeB"
  7. gluster_allow_nginx: "{{ gluster_nodes }},docker_registry,work-marsea"
  8. roles:
  9. - { role: gluster_lvm_vol,
  10. gluster_lvm_vol_name: nginx,
  11. gluster_lvm_vol_size: 1G,
  12. gluster_lvm_vol_sslallow: "{{ gluster_allow_nginx }}"
  13. }
  14. - { role: gluster_lvm_vol,
  15. gluster_lvm_vol_name: letsencrypt,
  16. gluster_lvm_vol_size: 1G,
  17. gluster_lvm_vol_sslallow: "{{ gluster_allow_nginx }}"
  18. }
  19. - { role: gluster_lvm_vol,
  20. gluster_lvm_vol_name: docker_registry,
  21. gluster_lvm_vol_size: 2G,
  22. gluster_lvm_vol_sslallow: "{{ gluster_allow_nginx }}"
  23. }
  24. - { role: gluster_lvm_vol,
  25. gluster_lvm_vol_name: zib,
  26. gluster_lvm_vol_perms: '0750',
  27. gluster_lvm_vol_size: 1G,
  28. gluster_lvm_vol_sslallow: "nodeA,nodeB,work-marsea"
  29. }