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
Sébastien Han
17bc64e1ea
use dnf when yum is not available
...
fixes the `importError: No module named yum` see here:
https://jenkins.ceph.com/job/ceph-ansible-pull-requests/45/console
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-28 19:11:22 +01:00
Sébastien Han
f35a665634
Fix pip package name on debian
...
use python-pip and not pip
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-28 15:55:53 +01:00
Sébastien Han
fcfac5c1e1
Install pip before using it
...
Fixes : #430
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-11-16 11:47:23 +01:00
Sébastien Han
9264a868fd
Add proper permission for selinux
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-10-21 12:11:32 +02:00
Sébastien Han
33ed4f5029
Fix typo
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-10-21 02:18:48 +02:00
Sébastien Han
2daeb807ed
Add safety checks prior to deploy a cluster in containers
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-10-21 02:12:43 +02:00
Sébastien Han
4c4aa32943
Create missing directories when deploying with docker
...
Signed-off-by: Sébastien Han <sebhan@cisco.com>
2015-10-20 17:05:34 +02:00
Michael Sambol
975c8fcfab
Refactor mds
2015-10-18 21:56:02 -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
3b32abee4d
Fix dummy mistakes with variables
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-07-28 22:10:14 +02:00
Sébastien Han
fea0cc87ec
Re-arrange docker invocation and fix bootstrap mds
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-07-28 17:25:53 +02:00