Simplify test include. (#54962)

This commit is contained in:
Felix Fontein 2019-04-07 22:51:14 +02:00 committed by ansibot
parent 993727ff5e
commit b92281fe70
2 changed files with 2 additions and 2 deletions

View file

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

View file

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