Adjust upgrade playbook for packages.
This commit is contained in:
parent
6667afd72d
commit
a20b67dd03
1 changed files with 6 additions and 1 deletions
|
@ -38,14 +38,19 @@
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- packages/web
|
- role: packages/web
|
||||||
|
when: env != "staging"
|
||||||
|
- role: packages3/web
|
||||||
|
when: env == "staging"
|
||||||
|
|
||||||
post_tasks:
|
post_tasks:
|
||||||
- service: name="fcomm-cache-worker" state=stopped
|
- service: name="fcomm-cache-worker" state=stopped
|
||||||
|
when: env != "staging"
|
||||||
- service: name="httpd" state=stopped
|
- service: name="httpd" state=stopped
|
||||||
# TODO -- do any DB maintenance steps we need to do here..
|
# TODO -- do any DB maintenance steps we need to do here..
|
||||||
- service: name="httpd" state=started
|
- service: name="httpd" state=started
|
||||||
- service: name="fcomm-cache-worker" state=started
|
- service: name="fcomm-cache-worker" state=started
|
||||||
|
when: env != "staging"
|
||||||
|
|
||||||
- name: tell nagios to unshush
|
- name: tell nagios to unshush
|
||||||
nagios: action=unsilence service=host host={{ inventory_hostname_short }}{{ env_suffix }}
|
nagios: action=unsilence service=host host={{ inventory_hostname_short }}{{ env_suffix }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue