also change vars here

This commit is contained in:
Kevin Fenzi 2018-04-05 18:29:31 +00:00
parent 81edf503cd
commit 0dbe0cf95d
2 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# Config for {{ name }}
# Config for {{ glusterservername }}
# Generated by ansible
{% for server in servers %}

View file

@ -1,9 +1,9 @@
# Config for {{ name }}
# Config for {{ glusterservername }}
# Generated by ansible
volume posix
type storage/posix
option directory {{ datadir }}/{{ name }}
option directory {{ datadir }}/{{ glusterservername }}
end-volume
volume locks
@ -22,8 +22,8 @@ volume server-tcp
type protocol/server
subvolumes iothreads
option transport-type tcp
option auth.login.iothreads.allow {{ username }}
option auth.login.{{ username }}.password {{ password }}
option auth.login.iothreads.allow {{ userglusterservername }}
option auth.login.{{ userglusterservername }}.password {{ password }}
option transport.socket.listen-port 6996
option transport.socket.nodelay on
end-volume