Merge pull request #43 from generoi/issue-35
Issue #35: Add support for post-provision tasks
This commit is contained in:
commit
2f43db9439
@ -74,3 +74,7 @@ mas_email: ""
|
|||||||
mas_password: ""
|
mas_password: ""
|
||||||
|
|
||||||
osx_script: "~/.osx --no-restart"
|
osx_script: "~/.osx --no-restart"
|
||||||
|
|
||||||
|
# Glob pattern to ansible task files that will run after all other tasks have
|
||||||
|
# finished.
|
||||||
|
post_provision_tasks: []
|
||||||
|
|||||||
6
main.yml
6
main.yml
@ -27,3 +27,9 @@
|
|||||||
|
|
||||||
- include: tasks/osx.yml
|
- include: tasks/osx.yml
|
||||||
when: configure_osx
|
when: configure_osx
|
||||||
|
|
||||||
|
- name: Run configured post-provision ansible task files.
|
||||||
|
include: "{{ outer_item }}"
|
||||||
|
loop_control:
|
||||||
|
loop_var: outer_item
|
||||||
|
with_fileglob: "{{ post_provision_tasks|default(omit) }}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user