-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a small bug in the cleanup role, fix some inconsistencies of th…
…e startup logic, and added some pre- and post-hooks to some of the roles.
- Loading branch information
1 parent
447a57c
commit fd2ddf1
Showing
6 changed files
with
27 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
--- | ||
# tasks file for cleanup | ||
|
||
- name: "Running cleanup pre-tasks {{ cleanup_pre_hooks }}" | ||
include_tasks: "{{ item }}" | ||
with_items: "{{ cleanup_pre_hooks }}" | ||
when: cleanup_pre_hooks is defined | ||
|
||
- name: "Stop minishift if running" | ||
import_tasks: cleanup.yml | ||
import_tasks: cleanup.yml | ||
|
||
- name: "Running cleanup post-tasks {{ cleanup_post_hooks }}" | ||
include_tasks: "{{ item }}" | ||
with_items: "{{ cleanup_post_hooks }}" | ||
when: cleanup_post_hooks is defined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters