Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
565 additions
and
244 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
|
||
- name: Destroy instance on failure | ||
os_server: | ||
cloud: "{{ cloud_id }}" | ||
name: "{{ inventory_hostname }}" | ||
state: absent | ||
delegate_to: localhost | ||
become: no | ||
|
||
- name: Fail due to previous failure | ||
fail: | ||
msg: failed |
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,5 +1,12 @@ | ||
[defaults] | ||
inventory = inventory | ||
remote_user = centos | ||
private_key_file = swarm_kp.pem | ||
retry_files_enabled = false | ||
transport = ssh | ||
|
||
[inventory] | ||
enable_plugins = host_list, ini, openstack | ||
|
||
[ssh_connection] | ||
ssh_args = -o BatchMode=yes -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no |
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,12 @@ | ||
--- | ||
|
||
image: JS-API-Featured-CentOS7-May-11-2018 | ||
key_name: swarm_kp | ||
nics: net-name=swarm | ||
security_groups: default,swarm_worker | ||
auto_ip: yes | ||
flavor: m1.medium | ||
|
||
# don't auto-start docker, this will be done by Ansible on spawn/resume once the hostname is set | ||
docker_service_enabled: false | ||
docker_swarm_manager: jetstream-iu0.galaxyproject.org:2377 |
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 was deleted.
Oops, something went wrong.
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,7 @@ | ||
--- | ||
|
||
plugin: openstack | ||
only_clouds: | ||
- jetstream_iu | ||
private: no | ||
expand_hostvars: no |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.