Commit Graph

13 Commits (5f61ff786719f45711a98bc1522a17b42fb33198)

Author SHA1 Message Date
Sébastien Han 8142c461b2 aio: more flexible script
we can now chose the install source

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-07-20 17:53:20 +02:00
Sébastien Han 50e4eb4dbb install-ansible: exit if ansible is installed
fixes: #868

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-07-06 10:55:58 +02:00
root 156bee2af0 LSB Release is not installed by default on minimal OS installs (for example cloud-images). Script fails with a "command not found" erroor.
Checking if lsb_release is present BEFORE doing the test
Change os_VERSION to grab the major OS version instead of the distro codename
When installing EPEL, use $os_VERSION to grab the correct rpm instead of using hardcoded '7' package that would fail on other versions.
os_Version can also be use to deprecate old version on which ceph-ansible is not supported.
2016-05-31 19:30:08 +02:00
Stephan Hohn fe07fad877 Make install-ansible.sh work with Linux Mint 2016-05-09 21:14:34 +02:00
Sébastien Han 66d914fb15 install: remove epel
We just add epel to conviently install Ansible. However we don't keep it
as it could disrupt ceph's installation and dependancies.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-07 02:14:46 +02:00
Sébastien Han c65a9f9dc4 install-ansible: refactor install on Red Hat
Merge both lsb_release and /etc/redhat-release cases.
Also testing if epel is already installed or not.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-04 17:33:07 +02:00
Sébastien Han 67f3878783 ansible-install: allow CentOS
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-01 16:42:12 +02:00
Sébastien Han 31811721e3 misc: add a script for vm test env
Vagrant will not always be available everywhere, sometimes we want to
bootstrap a ceph on a virtual machine. This script will help you
bootstrapping a ceph cluster from a development branch only.

So you can run it like this: ./ceph-aio-no-vagrant.sh v10.1.0
To get the v10.1.0 version installed. If the first argument ($1) is
empty then master will be used in consequence.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-04-04 17:09:46 +02:00
François Charlier ee61abef30 Fix failing install-ansible test
Fix test for Red Hat Enterprise Server and add a default case.
2016-01-11 17:05:53 +01:00
Sébastien Han 92ba3ba04a Fix install for rhel
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-11 15:07:19 +01:00
Huamin Chen 860125ff8f various fixes for CentOS
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-11-05 20:39:03 +00:00
Chang-Yi Lee 40d665b480 Minor change: Install latest Ansible from official PPA
Ansible version must >= 1.6.0
2015-06-10 14:14:52 +08:00
Sébastien Han 1a9ddb5a26 Rename bootstrap ansible to install
The bootstrap was confusing.

Signed-off-by: Sébastien Han <seb@redhat.com>
2015-06-09 16:06:54 +02:00