-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update vendor/ansible to recent ansible/master
- Loading branch information
Showing
50 changed files
with
450 additions
and
131 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
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,20 @@ | ||
--- | ||
# This role contains tasks for installing ansible | ||
|
||
- name: install ansible (redhat) | ||
yum: | ||
name: ansible | ||
enablerepo: epel-testing | ||
state: latest | ||
when: ansible_os_family == "RedHat" | ||
|
||
- name: add ansible apt repository (debian) | ||
apt_repository: | ||
repo: ppa:ansible/ansible | ||
state: present | ||
validate_certs: "{{ validate_certs }}" | ||
when: ansible_os_family == "Debian" | ||
|
||
- name: install ansible (debian) | ||
apt: name=ansible state=latest | ||
when: ansible_os_family == "Debian" |
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 |
---|---|---|
@@ -1,46 +1,23 @@ | ||
- name: upgrade system (redhat) | ||
yum: | ||
update_cache: true | ||
name: '*' | ||
state: latest | ||
|
||
# install epel-release first to ensure the extra packages can be installed later | ||
- name: install epel release package (redhat) | ||
yum: | ||
name: epel-release | ||
state: latest | ||
|
||
- name: install base packages (redhat) | ||
- name: install/upgrade base packages (redhat) | ||
yum: | ||
name: "{{ item }}" | ||
update_cache: true | ||
state: latest | ||
with_items: | ||
- ntp | ||
- unzip | ||
- bzip2 | ||
- vim | ||
- curl | ||
- git | ||
- mercurial | ||
- gcc | ||
- perl | ||
- librbd1-devel | ||
- lshw | ||
- python-requests # XXX required by ceph repo, but it has a bad package on it | ||
- bash-completion | ||
- kernel #keep kernel up to date | ||
|
||
- name: install and start ntp | ||
shell: systemctl enable ntpd | ||
|
||
- name: install python-crypto | ||
yum: name=python-crypto state=present | ||
register: python_crypto_result | ||
ignore_errors: yes | ||
|
||
- name: remove python crypt egg file to work-around https://bugs.centos.org/view.php?id=9896&nbn=2 | ||
shell: rm -rf /usr/lib64/python2.7/site-packages/pycrypto-*.egg-info | ||
when: '"Error unpacking rpm package python2-crypto-" in python_crypto_result.msg' | ||
|
||
- name: install ansible (redhat) | ||
yum: | ||
name: ansible | ||
enablerepo: epel-testing | ||
state: latest |
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
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 |
---|---|---|
@@ -1,11 +1,15 @@ | ||
--- | ||
# role variable for the cluster manager service | ||
|
||
collins_image: contiv/collins:02_25_2016 | ||
collins_image: contiv/collins | ||
collins_image_version: "02_25_2016" | ||
collins_host_port: 9000 | ||
collins_guest_port: 9000 | ||
|
||
contiv_cluster_version: "v0.0.0-03-08-2016.00-06-26.UTC" | ||
clusterm_args_file: "clusterm.args" | ||
clusterm_conf_file: "clusterm.conf" | ||
|
||
contiv_cluster_version: "v0.0.0-03-13-2016.03-44-45.UTC" | ||
contiv_cluster_tar_file: "cluster-{{ contiv_cluster_version }}.tar.bz2" | ||
contiv_cluster_src_file: "https://github.com/contiv/cluster/releases/download/{{ contiv_cluster_version }}/{{ contiv_cluster_tar_file }}" | ||
contiv_cluster_dest_file: "/tmp/{{ contiv_cluster_tar_file }}" |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
CLUSTERM_ARGS="--config=/etc/default/clusterm/clusterm.conf" |
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,3 @@ | ||
{ | ||
"comment" : "empty JSON loads a default clusterm configuration. Add configuration here and restart clusterm service to load non-default configuration" | ||
} |
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,5 @@ | ||
--- | ||
# The dependecies for cluster-mgr | ||
|
||
dependencies: | ||
- { role: ansible } |
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
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
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
Oops, something went wrong.