Simplify test include. (#54962)
This commit is contained in:
parent
993727ff5e
commit
b92281fe70
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue