Commit 7ea1843f authored by Łukasz Nowak's avatar Łukasz Nowak

playbook: Support "offline" ansible runs

By setting default slapos_ansible_offline to false and using it as
conditional for repository role it is possible to drive, from example
from host variable, if playbook shall restrain itself from running
oneline required roles.
parent e42b3f12
---
slapos_ansible_offline: False
\ No newline at end of file
--- ---
dependencies: dependencies:
- { role: repository } - { role: repository, when: not slapos_ansible_offline}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment