Daniel Marks
624ed92ee2
Better --check compatibility for ceph-rgw role
...
Carefully chosen "always_run: true" parameters for read-only tasks that
register variables. This enables --check runs (at least on deployed
clusters).
2016-11-24 11:54:43 +01:00
James Saint-Rossy
d4a60a9394
Added ceph_release generation and fixed missing whitespace in ceph_release checks
2016-09-09 18:16:41 -04:00
James Saint-Rossy
666637f715
Replaced is_before is_after is_ booleans with numerical version dictionary
2016-09-09 17:34:26 -04:00
Andrew Schoen
d2b94c2a4c
Do not create symlinks for systemd manually
...
Instead use 'systemctl enable' to create the symlinks.
This fixes: https://github.com/ceph/ceph-ansible/issues/779
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-13 13:21:08 -05:00
Sam Yaple
069c93a238
Unify formatting of when conditional
...
This is purely a refactor. Converts when 'and' conditionals into lists
rather than multiline strings. This does not work for nested
conditionals, but those can be formated with indents.
Moves one line when statements onto the same line as the when command
itself.
A small logic bug was found in ceph-osd/tasks/check_devices.yml which
which was also fixed.
Signed-off-by: Sam Yaple <sam@yaple.net>
2016-05-09 14:08:33 +00:00
Andrew Schoen
7436479c40
Use the use_systemd fact when starting rgw
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-05 14:31:12 -05:00
Alfredo Deza
6f189335ce
ceph-rgw: port start_radosgw task to use new ceph version facts
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-04-27 13:46:58 -04:00
Sébastien Han
450feaac0a
ceph: implement cluster name support
...
we now have the ability to enable the `cluster` variable with a specific
value that will determine the name of the cluster.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-30 18:08:38 +02:00
Sébastien Han
1859d84a7a
ceph-rgw: fix rgw enable with systemd
...
now rgw can be enabled.
closes : #642 #261
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-29 01:37:39 +02:00
K.C. Wong
6ac41f7f3f
Address issue #632 with systemd unit rename
...
* the client-name is actually `rgw.{{ ansible_hostname }}` instead
of just `{{ ansible_hostname }}`
* it matches the directory created under `/var/lib/ceph/radosgw`
* and, it matches the client-name used to create the keyring in
`pre_requisite.yml`
2016-03-17 10:34:56 -07:00
Sébastien Han
e6a9727478
Support infernalis for rh storage
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-12-15 22:07:45 +01:00
Eike Frost
d49e8bd904
Add systemd-specific start/restart tasks/handlers for el7/infernalis
2015-11-20 22:34:29 +01:00
K.C. Wong
92246616e5
This change address radosgw not getting started on CentOS
...
* The explicit check of 'ansible_distribution' being 'RedHat'
will not work on CentOS hosts.
* Check the value of 'ansible_os_family' instead.
2015-11-05 18:06:41 -08:00
Michael Sambol
dedb7cfd96
Refactor rgw
2015-10-18 22:19:44 -05:00
Sébastien Han
7ed67f37d8
Remove rgw installation from the ceph-rgw role
...
The installation of rgw is now handled by the ceph-common role.
Fixes : #307
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-08-03 22:17:43 +02:00
Michael Sambol
e6f22b948c
Failed_when instead of ignore_errors
...
Changed ignore_errors to failed_when so the output doesn't show in
red.
2015-07-29 13:35:46 -05:00
leseb
08add29d92
Modify the repo to host reoles on the galaxy
...
Signed-off-by: leseb <seb@redhat.com>
2015-07-24 18:14:59 +02:00