summaryrefslogtreecommitdiffstats
path: root/test/integration/openshift_health_checker/preflight/playbooks/setup_container.yml
diff options
context:
space:
mode:
authorLuke Meyer <lmeyer@redhat.com>2017-03-30 13:08:34 -0400
committerLuke Meyer <lmeyer@redhat.com>2017-04-25 12:16:20 -0400
commit75f0c57654429d3b861d792169a9c1bdf9156bf8 (patch)
tree5d3e40be9e7f05d2855d8f7bd8bcaf21938e6bee /test/integration/openshift_health_checker/preflight/playbooks/setup_container.yml
parent634a8957e1cc29374a170aaa8c2113b8fbbfe7e4 (diff)
downloadopenshift-75f0c57654429d3b861d792169a9c1bdf9156bf8.tar.gz
openshift-75f0c57654429d3b861d792169a9c1bdf9156bf8.tar.bz2
openshift-75f0c57654429d3b861d792169a9c1bdf9156bf8.tar.xz
openshift-75f0c57654429d3b861d792169a9c1bdf9156bf8.zip
preflight int tests: generalize; add tests
Make the container setup and teardown more reusable. Remove example tests. Add basic package tests.
Diffstat (limited to 'test/integration/openshift_health_checker/preflight/playbooks/setup_container.yml')
-rw-r--r--test/integration/openshift_health_checker/preflight/playbooks/setup_container.yml23
1 files changed, 0 insertions, 23 deletions
diff --git a/test/integration/openshift_health_checker/preflight/playbooks/setup_container.yml b/test/integration/openshift_health_checker/preflight/playbooks/setup_container.yml
deleted file mode 100644
index fff797c27..000000000
--- a/test/integration/openshift_health_checker/preflight/playbooks/setup_container.yml
+++ /dev/null
@@ -1,23 +0,0 @@
----
-# Required vars:
-# * name = name of the container to be started
-
-- name: Start CentOS 7 container
- gather_facts: no
- hosts: localhost
- connection: local
- vars:
- container_name: openshift_ansible_test_{{ name }}
- tasks:
- - name: start container
- docker_container:
- name: "{{ container_name }}"
- image: centos:7
- command: sleep infinity
- recreate: yes
- - name: add host
- add_host:
- name: "{{ container_name }}"
- ansible_connection: docker
- groups: OSEv3,masters,nodes
- deployment_type: origin