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

Notify when shared directories are mounted #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jpiron
Copy link
Contributor

@jpiron jpiron commented Jan 19, 2018

This will allow parent playbooks/roles to trigger specific actions on
mount state change (with the listen directive).

This will allow parent playbooks/roles to trigger specific actions on
mount state change (with the listen directive).
@micafer
Copy link
Collaborator

micafer commented Jan 23, 2018

Hi @jpiron,
But the "nfs shared directories mounted" handler must be defined in some place or the role will fail.
This change will make this role to depend on some parent role to work.

@jpiron
Copy link
Contributor Author

jpiron commented Feb 8, 2018

Sorry, I didn't pay attention to the min_ansible_version of the meta file. It will indeed fail with Ansible versions prior to 2.0. With Ansible 2+ it won't and with Ansible 2.2+ it allows other roles/playbooks to hook it up.
What do you want me to do ? Close this issue or update the min_ansible_version to Ansible 2.0 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants