mount partitions for glusterfs volumes
This commit is contained in:
@@ -54,14 +54,18 @@
|
||||
# tmp:
|
||||
# - /data/glusterfs/tmp/brick1/brick
|
||||
|
||||
pre_tasks:
|
||||
# - name: test vars
|
||||
# debug:
|
||||
# var: "item.name"
|
||||
# with_items: "{{mounts[inventory_hostname]}}"
|
||||
|
||||
roles:
|
||||
# - geerlingguy.glusterfs
|
||||
- glusterfs
|
||||
# - td-agent-bit
|
||||
|
||||
post_tasks:
|
||||
- name: check service is up
|
||||
ansible.builtin.service:
|
||||
name: "{{ glusterfs_daemon }}"
|
||||
state: started
|
||||
enabled: true
|
||||
# - name: check service is up
|
||||
# ansible.builtin.service:
|
||||
# name: "{{ glusterfs_daemon }}"
|
||||
# state: started
|
||||
# enabled: true
|
||||
|
||||
Reference in New Issue
Block a user