Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker_swarm inventory plugin: fix tests #54962

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/integration/targets/inventory_docker_swarm/runme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down