Andrew Schoen
aeab09938a
ceph-mon: no need to include playbook_dir when fetching configs
...
This causes a bug when fetch_directory is not a relative path to the
playbook location.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-12-01 10:28:54 -06:00
Daniel Marks
9337b19ac0
Better --check compatibility for ceph-mon 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-26 21:05:32 +01:00
Sébastien Han
a2fcd222d2
moving to ansible v2.2 compatibility
...
Signed-off-by: Sébastien Han <seb@redhat.com>
Co-Authored-By: Julien Francoz julien@francoz.net
2016-11-04 10:09:38 +01:00
Sébastien Han
f351329897
docker: use cluster name
...
Fix cluster name for docker scenario and other playbooks.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-08-24 09:04:49 +02:00
Huamin Chen
0d704b5710
copy bootstrap keyring and conf from mon to ansible server, so osd can get them to bootstrap
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-03-24 16:09:02 +01:00
Huamin Chen
0647cad7be
containerized mon
2016-03-24 16:08:20 +01:00
Sébastien Han
17fb38294e
Octal file permissions must contain leading zero
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-21 18:21:19 +01:00
Sébastien Han
fa610cabf7
ceph-ansible: allow to run containerized daemons
...
run containerized daemons in virtual machines.
to enable it simply do:
`cp site-docker.yml.sample site-docker.yml`
and set `docker: true` in `vagrant_variables.yml`
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-07 22:30:32 +01:00
Sébastien Han
c0a3837d6e
ceph-common: replace 'sudo' by 'become'
...
to avoid warning from ansible v2. works for both `1.9.4` and `2.0.0.2`.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-04 12:36:46 +01:00
Michael Sambol
e424966cbf
Refactor ceph monitor role
2015-10-18 20:08:06 -05:00
Matt Thompson
afc934d22a
Make fetch directory configurable
...
Currently, the fetch directory is created in your working directory
(where ansible is run from). We prefer to not keep any state in this
directory and would prefer to have the fetch directory configurable so
we can store it outside of our code checkout.
This commit creates a new variable in each role called
`fetch_directory` (defaulting to the previous value of 'fetch/'), and
then updates each reference to 'fetch' to use the new variable instead.
Closes issue #383
2015-08-27 16:49:50 +01:00
Sébastien Han
b47344fdd4
Cleanup and change_when watch
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-07-30 11:33:08 +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
Sébastien Han
f0600d7561
Re-arrange docker monitor directory for clarity
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-07-28 15:44:52 +02:00