This repository has been archived by the owner on Sep 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from eumel8/galaxy
Add Galaxy Support
- Loading branch information
Showing
194 changed files
with
387 additions
and
4,727 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
_secrets.yml | ||
_user_data*.txt | ||
tenant.ini.* | ||
roles/ | ||
*.retry | ||
.eggs/ | ||
.tox/ | ||
|
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 |
---|---|---|
@@ -1,36 +1,20 @@ | ||
--- | ||
sudo: required | ||
dist: xenial | ||
|
||
language: python | ||
python: | ||
- "2.7" | ||
- "3.5" | ||
|
||
# Doc: https://docs.travis-ci.com/user/customizing-the-build#Build-Matrix | ||
# https://docs.travis-ci.com/user/common-build-problems/ | ||
env: | ||
- ANSIBLE_VERSION=latest | ||
- ANSIBLE_VERSION=2.4.3.0 | ||
- ANSIBLE_VERSION=2.5.0 | ||
- ANSIBLE_VERSION=2.5.2 | ||
|
||
branches: | ||
only: | ||
- master | ||
- dev | ||
- galaxy | ||
|
||
# before_install: | ||
# - sudo apt-get update -qq | ||
|
||
install: | ||
# Install Ansible. | ||
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible; else pip install ansible==$ANSIBLE_VERSION; fi | ||
- pip install ansible-lint jmespath | ||
before_install: | ||
- sudo apt-get update | ||
- sudo apt-get install -y tox make latexmk texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra | ||
|
||
script: | ||
# Check the role/playbook's syntax. | ||
- find roles/ -name "*.yml" | xargs ansible-lint | ||
|
||
# Run the role/playbook with ansible-playbook. | ||
- tests/tests.sh | ||
- tox |
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,48 @@ | ||
- name: otc_auth | ||
scm: git | ||
src: https://github.com/eumel8/otc_auth.git | ||
- name: otc_cts | ||
scm: git | ||
src: https://github.com/eumel8/otc_cts.git | ||
- name: otc_dns | ||
scm: git | ||
src: https://github.com/eumel8/otc_dns.git | ||
- name: otc_ecs | ||
scm: git | ||
src: https://github.com/eumel8/otc_ecs.git | ||
- name: otc_eip | ||
scm: git | ||
src: https://github.com/eumel8/otc_eip.git | ||
- name: otc_elb | ||
scm: git | ||
src: https://github.com/eumel8/otc_elb.git | ||
- name: otc_evs | ||
scm: git | ||
src: https://github.com/eumel8/otc_evs.git | ||
- name: otc_ims | ||
scm: git | ||
src: https://github.com/eumel8/otc_ims.git | ||
- name: otc_job | ||
scm: git | ||
src: https://github.com/eumel8/otc_job.git | ||
- name: otc_keypair | ||
scm: git | ||
src: https://github.com/eumel8/otc_keypair.git | ||
- name: otc_obs | ||
scm: git | ||
src: https://github.com/eumel8/otc_obs.git | ||
- name: otc_rds | ||
scm: git | ||
src: https://github.com/eumel8/otc_rds.git | ||
- name: otc_secgroup | ||
scm: git | ||
src: https://github.com/eumel8/otc_secgroup.git | ||
- name: otc_subnet | ||
scm: git | ||
src: https://github.com/eumel8/otc_subnet.git | ||
- name: otc_vpc | ||
scm: git | ||
src: https://github.com/eumel8/otc_vpc.git | ||
- name: os-client-config | ||
scm: git | ||
src: https://github.com/eumel8/os-client-config.git |
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,25 @@ | ||
Ansible Galaxy | ||
============== | ||
|
||
Ansible Galaxy is a repository for sharing roles. | ||
You can search for specific roles on `Galaxy website <http://galaxy.ansible.com/>`__. | ||
All ansible-otc are to find there and you can also use the CLI:: | ||
|
||
ansible-galaxy search otc_ | ||
|
||
To install a specific role you can use:: | ||
|
||
ansible-galaxy install eumel8.otc_auth | ||
|
||
or with the requirements file with Galaxy source:: | ||
|
||
ansible-galaxy install -r galaxy.yml | ||
|
||
or with the requirements file with Git source:: | ||
|
||
ansible-galaxy install -r ansible-role-requirements.yml | ||
|
||
You need to adjust the roles_path in ansible.cfg. The system-white | ||
roles_path is /etc/ansible/roles | ||
|
||
WIP: This feature is a Proof of Concept |
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.