mirror of https://github.com/ceph/ceph-ansible.git
contrib: fix generate group_vars samples
For ceph-iscsi-gw and ceph-rbd-mirror roles the group_name are named differently (by default) than the role name so we have to change the script to generate the correct name. Signed-off-by: Sébastien Han <seb@redhat.com>pull/2740/head
parent
20c8065e48
commit
315ab08b16
|
@ -66,6 +66,10 @@ for role in "$basedir"/roles/ceph-*; do
|
|||
output="agent.yml.sample"
|
||||
elif [[ $rolename == "ceph-fetch-keys" ]]; then
|
||||
output="ceph-fetch-keys.yml.sample"
|
||||
elif [[ $rolename == "ceph-rbd-mirror" ]]; then
|
||||
output="rbdmirrors.yml.sample"
|
||||
elif [[ $rolename == "ceph-iscsi-gw" ]]; then
|
||||
output="iscsigws.yml.sample"
|
||||
else
|
||||
output="${rolename:5}s.yml.sample"
|
||||
fi
|
||||
|
|
|
@ -73,7 +73,7 @@ dummy:
|
|||
#api_password: admin
|
||||
#api_port: 5001
|
||||
#api_secure: false
|
||||
#loop_delay: .5
|
||||
#loop_delay: 1
|
||||
#trusted_ip_list: 192.168.122.1
|
||||
|
||||
|
Loading…
Reference in New Issue