-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More stylistic updates and fix retries not working
- You need until: for retries to work (oops) - Change more key=value syntax into colon syntax
- Loading branch information
Showing
3 changed files
with
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
--- | ||
# handlers/main.yml: Handlers for RocketChat.Ansible | ||
- name: Reload the Nginx service | ||
service: name=nginx state=reloaded | ||
service: | ||
name: nginx | ||
state: reloaded | ||
|
||
- name: Restart the MongoDB service | ||
service: name=mongod state=restarted | ||
service: | ||
name: mongod | ||
state: restarted | ||
|
||
- name: Upgrade Rocket.Chat | ||
include: upgrade.yml | ||
when: rocket_chat_deploy_state.stat.exists | ||
tags: | ||
- upgrade | ||
tags: upgrade | ||
|
||
- name: Update the Rocket.Chat service configuration | ||
shell: "{{ rocket_chat_service_update_command }}" | ||
when: rocket_chat_service_update_command is defined | ||
|
||
- name: Restart the Rocket.Chat service | ||
service: name=rocketchat state=restarted | ||
service: | ||
name: rocketchat | ||
state: restarted |
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