Skip to content
Snippets Groups Projects
Commit 5b6e1e9e authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Simulate normal ansible behaviour with shared role"

parents 3b8e6007 f66d1fa7
No related branches found
No related tags found
No related merge requests found
--- ---
# Due to the way we do our inventory, ansible does not pick up on the fact that
# this role has already run. We can track what has run with host facts.
common_run: False
#################### ####################
# Docker # Docker
#################### ####################
......
--- ---
- include: "{{ action }}.yml" - include: "{{ action }}.yml"
when: not common_run
- name: Registering common role has run
set_fact:
common_run: True
when: not common_run
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment