ansible-personal/roles/nginx/tasks
Alan Orth 1738507ee9
roles/nginx: Use dynamic includes for Let's Encrypt
As of Ansible 2.4 and 2.5 the behavior for importing tasks has changed
to introduce the notion of static imports and dynamic includes. If the
tasks doing the import is using variable interpolation or conditionals
then the task should be dynamic. This results in quicker playbook runs
due to less importing of unneccessary tasks.

One side effect of this is that child tasks of dynamic includes do not
inherit their parents' tags so you must tag them explicitly or a block.

Also, I had to move the letsencrypt tasks to the main task file so the
tags were available (due to dynamic tasks not inheriting tags).
2018-04-26 11:00:47 +03:00
..
letsencrypt.yml roles/nginx: Use dynamic includes for Let's Encrypt 2018-04-26 11:00:47 +03:00
main.yml roles/nginx: Use dynamic includes for Let's Encrypt 2018-04-26 11:00:47 +03:00
vhosts.yml roles/nginx: Use dynamic includes for Let's Encrypt 2018-04-26 11:00:47 +03:00