Simplify test include. (#54962)

pull/54952/head
Felix Fontein 6 years ago committed by ansibot
parent 993727ff5e
commit b92281fe70

@ -4,7 +4,7 @@
tasks:
- name: Setup docker
include_role:
name: ../../setup_docker
name: setup_docker
- name: Create a Swarm cluster
docker_swarm:
state: present

@ -14,7 +14,7 @@ cleanup() {
trap cleanup INT TERM EXIT
echo "Setup"
ansible-playbook playbooks/swarm_setup.yml
ANSIBLE_ROLES_PATH=.. ansible-playbook playbooks/swarm_setup.yml
echo "Test docker_swarm inventory 1"
ansible-playbook -i inventory_1.docker_swarm.yml playbooks/test_inventory_1.yml

Loading…
Cancel
Save