Skip to content

Commit

Permalink
Ensure service restart when environment changes.
Browse files Browse the repository at this point in the history
When environment variables are changed as part of a post deployment
update, the service should restart to affect the new changes.
  • Loading branch information
brianshumate committed Mar 24, 2016
1 parent 6fec9dc commit 8f95921
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 13 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,12 @@

## v1.6.1

- Ensure service is started at end of tasks
- Add systemd unit
- Ensure service is started at end of tasks (thanks @emanuelis)
- Add systemd unit (thanks @emanuelis)
- Additional node modules
- Use become
- Make playbook filename a variable in Vagrantfile

## v1.6.2

- Ensure service is restarted after environment changes (thanks @emanuelis)
20 changes: 20 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# CONTRIBUTORS

```
________ _____ _ ____ ______ __
/_ __/ // / _ | / |/ / //_/ __/ / /
/ / / _ / __ |/ / ,< _\ \ /_/
/_/ /_//_/_/ |_/_/|_/_/|_/___/ (_)
`
Much thanks to these fine folks for contributing to the role:
* [Mikko Ohtamaa](https://github.com/miohtama)
* [Galaczi Endre Elek](https://github.com/chiller)
* [Joe Stewart](https://github.com/joestewart)
* [Rémy Greinhofer](https://github.com/rgreinho)
* [Craig R Webster](https://github.com/craigw)
* [Emanuelis](https://github.com/emanuelis)
If you want to contribute, please file an issue or pull request at the
[GitHub project repository](https://github.com/brianshumate/ansible-hubot)
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,4 @@ Apache 2

## Contributors

Much thanks to these fine folks for contributing to the role:

* [Mikko Ohtamaa](https://github.com/miohtama)
* [Galaczi Endre Elek](https://github.com/chiller)
* [Joe Stewart](https://github.com/joestewart)
* [Rémy Greinhofer](https://github.com/rgreinho)
* [Craig R Webster](https://github.com/craigw)

If you want to contribute, please file an issue or pull request at the
[GitHub project repository](https://github.com/brianshumate/ansible-hubot)
See CONTRIBUTORS.md
2 changes: 2 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@
dest: "{{ hubot_dir }}/{{ hubot_identity }}.env"
tags:
- hubot_environment
notify:
- restart hubot

- name: Install Hubot start script
become: True
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.5.3
v1.6.2

0 comments on commit 8f95921

Please sign in to comment.