summaryrefslogtreecommitdiffstats
path: root/roles/openstack-stack/test
diff options
context:
space:
mode:
authorEric Sauer <etsauer@gmail.com>2016-12-21 10:37:40 -0500
committerØystein Bedin <oybed@users.noreply.github.com>2016-12-21 08:37:40 -0700
commit11b48fe4e237950f9d9e9a0e66d8b15f48be1ea0 (patch)
tree37465841228605d501ef1761578856df90e45a22 /roles/openstack-stack/test
parent953e8a7403f49640c04175386eadda329e9fd4b0 (diff)
downloadopenshift-11b48fe4e237950f9d9e9a0e66d8b15f48be1ea0.tar.gz
openshift-11b48fe4e237950f9d9e9a0e66d8b15f48be1ea0.tar.bz2
openshift-11b48fe4e237950f9d9e9a0e66d8b15f48be1ea0.tar.xz
openshift-11b48fe4e237950f9d9e9a0e66d8b15f48be1ea0.zip
Openstack heat (#2)
* Adding a role to invoke openstack heat * Adding readme * Pulling parameters out to inventory file * start of end-to-end playbook * More enhancements and refactoring to make dynamic inventory the driver for an openshift install * Switching to variable substituted path to config.yaml playbook * Changes to allow defining of number of nodes/infranodes. * Added labels to inventory * Start of end-to-end functionality * Enhancements to support openstack heat provisioning * Updating inventory sample to remove some deprecation warnings * Working towards making the secure-registry role 'become' aware * Fixing node labels and removing secure-registry as it's no longer needed * No longer need insecure registry line, as installer will secure our registry * Adjusted dynamic inventory to filter by clusterid * Minor updates to dynamic inventory bug * Adding a refactored sample inventory directory * Refactoring playbooks for better directory structure, and to narrow down host groups * Adding volume mounts to heat template * Moving dns playbooks back to original location * Fixing incorrect file path * Cleaning up inventory samples * One more hostname to clean up * Changing var name * changed openshift-provision to openshift-prep * Adjusting current provision script to avoid breakage by new openstack-heat code
Diffstat (limited to 'roles/openstack-stack/test')
l---------roles/openstack-stack/test/roles1
-rw-r--r--roles/openstack-stack/test/stack-create-test.yml17
2 files changed, 18 insertions, 0 deletions
diff --git a/roles/openstack-stack/test/roles b/roles/openstack-stack/test/roles
new file mode 120000
index 000000000..e2b799b9d
--- /dev/null
+++ b/roles/openstack-stack/test/roles
@@ -0,0 +1 @@
+../../../roles/ \ No newline at end of file
diff --git a/roles/openstack-stack/test/stack-create-test.yml b/roles/openstack-stack/test/stack-create-test.yml
new file mode 100644
index 000000000..94e312ee3
--- /dev/null
+++ b/roles/openstack-stack/test/stack-create-test.yml
@@ -0,0 +1,17 @@
+---
+- hosts: localhost
+ roles:
+ - role: openstack-stack
+ stack_name: test-stack
+ dns_domain: "{{ openstack_dns_domain }}"
+ dns_nameservers: "{{ openstack_nameservers }}"
+ subnet_prefix: "{{ openstack_subnet_prefix }}"
+ ssh_public_key: "{{ openstack_ssh_public_key }}"
+ openstack_image: "{{ openstack_default_image_name }}"
+ etcd_flavor: "{{ openstack_default_flavor }}"
+ master_flavor: "{{ openstack_default_flavor }}"
+ node_flavor: "{{ openstack_default_flavor }}"
+ infra_flavor: "{{ openstack_default_flavor }}"
+ dns_flavor: "{{ openstack_default_flavor }}"
+ external_network: "{{ openstack_external_network_name }}"
+