Hi,
is there a way for executing role tasks before executing role dependencies?
In my apache_httpd role I want to deploy some configuration files before
calling the sub role docker_application. Latter will do some boilerplate
tasks when creating docker contianers (in this case starting the httpd
container). But before I want to deploy the httpd.conf and basic_auth file
with the apache_httpd role.
I tried to create a role within a role and add is as dependency with the
absolute path:
"{{ role_path }}/subroles/apache_httpd_pretasks"
, but at the moment of resolving the depenencies the roles_path variable
isn't set yet.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/df027bf3-81f2-4ab8-b74b-992d7bb2b50c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.