mirror of
https://github.com/willshersystems/ansible-sshd
synced 2025-01-05 06:50:19 +01:00
docs: Clarify the include_role limitations
Co-authored-by: Matt Willsher <matt@monki.org.uk>
This commit is contained in:
parent
14bf7646ab
commit
a1f6622538
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ via simple password. If you need this functionality, be sure to set
|
||||||
|
|
||||||
**NOTE** The sshd service is reloaded/restarted automatically, only if the role is
|
**NOTE** The sshd service is reloaded/restarted automatically, only if the role is
|
||||||
invoked using `roles` keyword. Using `include_role` won't trigger handlers
|
invoked using `roles` keyword. Using `include_role` won't trigger handlers
|
||||||
as described in
|
as described in the Ansible ['taskify includes' proposal](https://github.com/ansible/proposals/issues/136). To work around this, call `meta: flush_handlers` as detailed in the
|
||||||
[official documentation](https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_handlers.html#controlling-when-handlers-run).
|
[official Ansible documentation](https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_handlers.html#controlling-when-handlers-run).
|
||||||
If you need to invoke the handlers in this case, use `meta: flush_handlers`.
|
If you need to invoke the handlers in this case, use `meta: flush_handlers`.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
Loading…
Reference in a new issue