Commit 394e7d06 authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Rafael Monnerat

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.

/reviewed-on nexedi/slapos.package!33
parent 1ecebc8b
---
slapos_ansible_offline: False
\ No newline at end of file
---
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