Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
profiles: introducing cluster profiles
This commit introduces a new directory called "profiles" which contains some set of variables for a particular use case. These profiles provide guidance for certain scenarios such as: * configuring rgw with keystone v3 Signed-off-by: Sébastien Han <seb@redhat.com>
- Loading branch information
Showing
5 changed files
with
62 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
# THIS FILE IS AN EXAMPLE THAT CONTAINS A SET OF VARIABLE FOR A PARTICULAR PURPOSE | ||
# GOAL: CONFIGURE RADOS GATEWAY WITH KEYSTONE V2 | ||
# | ||
# The following variables should be added in your group_vars/rgws file | ||
# The double quotes are important, do NOT remove them. | ||
|
||
|
||
ceph_conf_overrides: | ||
"client.rgw.{{ hostvars[inventory_hostname]['ansible_hostname'] }}": | ||
"rgw keystone api version": "2" | ||
"rgw keystone url": "http://192.168.0.1:35357" | ||
"rgw keystone admin token": "password" | ||
"rgw keystone admin tenant": "admin" | ||
"rgw keystone accepted roles": "Member, _member_, admin" | ||
"rgw keystone token cache size": "10000" | ||
"rgw keystone revocation interval": "900" | ||
"rgw s3 auth use keystone": "true" | ||
"nss db path": "/var/lib/ceph/radosgw/ceph-radosgw.{{ ansible_hostname }}/nss" | ||
|
||
|
||
# NOTE (leseb): to authentivate with Keystone you have two options: | ||
# * using a token (like shown above) | ||
# - "rgw keystone admin token" = admin" | ||
# - "rgw keystone token cache size" = 10000" | ||
# | ||
# * use credential: | ||
# - "rgw keystone admin user" = "admin" | ||
# - "rgw keystone admin password" = "password" | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
# THIS FILE IS AN EXAMPLE THAT CONTAINS A SET OF VARIABLE FOR A PARTICULAR PURPOSE | ||
# GOAL: CONFIGURE RADOS GATEWAY WITH KEYSTONE V3 | ||
# | ||
# The following variables should be added in your group_vars/rgws file | ||
# The double quotes are important, do NOT remove them. | ||
|
||
|
||
ceph_conf_overrides: | ||
"client.rgw.{{ hostvars[inventory_hostname]['ansible_hostname'] }}": | ||
"rgw keystone api version": "3" | ||
"rgw keystone url": "http://192.168.0.1:35357" | ||
"rgw keystone admin token": "password" | ||
"rgw keystone admin project": "admin" | ||
"rgw keystone admin domain": "default" | ||
"rgw keystone accepted roles": "Member, _member_, admin" | ||
"rgw keystone token cache size": "10000" | ||
"rgw keystone revocation interval": "900" | ||
"rgw s3 auth use keystone": "true" | ||
"nss db path": "/var/lib/ceph/radosgw/ceph-radosgw.{{ ansible_hostname }}/nss" | ||
|
||
|
||
# NOTE (leseb): to authentivate with Keystone you have two options: | ||
# * using a token (like shown above) | ||
# - "rgw keystone admin token" = admin" | ||
# - "rgw keystone token cache size" = 10000" | ||
# | ||
# * use credential: | ||
# - "rgw keystone admin user" = "admin" | ||
# - "rgw keystone admin password" = "password" | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters