From 75f0c57654429d3b861d792169a9c1bdf9156bf8 Mon Sep 17 00:00:00 2001 From: Luke Meyer Date: Thu, 30 Mar 2017 13:08:34 -0400 Subject: preflight int tests: generalize; add tests Make the container setup and teardown more reusable. Remove example tests. Add basic package tests. --- .../preflight/playbooks/setup_container.yml | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 test/integration/openshift_health_checker/preflight/playbooks/setup_container.yml (limited to 'test/integration/openshift_health_checker/preflight/playbooks/setup_container.yml') 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 -- cgit v1.2.3