From: Andrew Schoen Date: Wed, 18 May 2016 20:53:47 +0000 (-0500) Subject: fix the radosgw_civetweb_bind_ip default value X-Git-Tag: v1.0.6~118^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F796%2Fhead;p=ceph-ansible.git fix the radosgw_civetweb_bind_ip default value We want just the address for ansible_default_ipv4, not the entire dictionary in ceph.conf. Signed-off-by: Andrew Schoen --- diff --git a/group_vars/all.sample b/group_vars/all.sample index 68bbe3174..aa2a9a7d9 100644 --- a/group_vars/all.sample +++ b/group_vars/all.sample @@ -266,7 +266,7 @@ dummy: #radosgw_dns_name: your.subdomain.tld # subdomains used by radosgw. See http://ceph.com/docs/master/radosgw/config/#enabling-subdomain-s3-calls #radosgw_frontend: civetweb # supported options are 'apache' or 'civetweb', also edit roles/ceph-rgw/defaults/main.yml #radosgw_civetweb_port: 8080 # on Infernalis we get: "set_ports_option: cannot bind to 80: 13 (Permission denied)" -#radosgw_civetweb_bind_ip: "{{ ansible_default_ipv4 }}" +#radosgw_civetweb_bind_ip: "{{ ansible_default_ipv4.address }}" #radosgw_keystone: false # activate OpenStack Keystone options full detail here: http://ceph.com/docs/master/radosgw/keystone/ #radosgw_keystone_url: # url:admin_port ie: http://192.168.0.1:35357 #radosgw_keystone_admin_token: password diff --git a/roles/ceph-common/defaults/main.yml b/roles/ceph-common/defaults/main.yml index c23d51d8b..4122a4c70 100644 --- a/roles/ceph-common/defaults/main.yml +++ b/roles/ceph-common/defaults/main.yml @@ -259,7 +259,7 @@ mds_use_fqdn: false # if set to true, the MDS name used will be the fqdn in the #radosgw_dns_name: your.subdomain.tld # subdomains used by radosgw. See http://ceph.com/docs/master/radosgw/config/#enabling-subdomain-s3-calls radosgw_frontend: civetweb # supported options are 'apache' or 'civetweb', also edit roles/ceph-rgw/defaults/main.yml radosgw_civetweb_port: 8080 # on Infernalis we get: "set_ports_option: cannot bind to 80: 13 (Permission denied)" -radosgw_civetweb_bind_ip: "{{ ansible_default_ipv4 }}" +radosgw_civetweb_bind_ip: "{{ ansible_default_ipv4.address }}" radosgw_keystone: false # activate OpenStack Keystone options full detail here: http://ceph.com/docs/master/radosgw/keystone/ #radosgw_keystone_url: # url:admin_port ie: http://192.168.0.1:35357 radosgw_keystone_admin_token: password