You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If my install fails halfway through and I need to re-run, I can't use Ansible's --start-at-task option, because of the required calls to set_fact in in the common role. This means running the entire process again including unnecessary large downloads.
It might be better to set these variables in "group_vars" using a combination of the "default" filter and other logic, or at least import the common tasks at the start of roles that require them to have been run.
The text was updated successfully, but these errors were encountered:
About repeating/reruning ansible: we use the --tags, for instance to repeat some war deploy (because I changed some service version) with common,deploy tags. In our case, we use the ansible wrapper:
If my install fails halfway through and I need to re-run, I can't use Ansible's
--start-at-task
option, because of the required calls toset_fact
in in thecommon
role. This means running the entire process again including unnecessary large downloads.It might be better to set these variables in "group_vars" using a combination of the "default" filter and other logic, or at least import the common tasks at the start of roles that require them to have been run.
The text was updated successfully, but these errors were encountered: