Skip to content

Commit e2c1b04

Browse files
Merge branch 'master' into api-weave
2 parents ff07c8f + 7d92171 commit e2c1b04

3 files changed

Lines changed: 6 additions & 12 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ ansible-playbook -i ./[stage-hosts, prod-hosts] [appname].yml -t deploy -e git_b
6060
This will redeploy the current deploy without rebuilding
6161

6262
```
63-
ansible-playbook -i./[stage-hosts, prod-hosts] [appname].yml -e git_branch=some-branch-name -e build_args=--no-cache
63+
ansible-playbook -i./[stage-hosts, prod-hosts] [appname].yml -e git_branch=some-branch-name -e build_args=--no-cache
6464
```
6565

6666
deploy latest version of the branch

ansible/roles/loggly/handlers/main.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

ansible/roles/loggly/tasks/main.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,11 @@
2525
dest=/etc/rsyslog.conf
2626
owner=root
2727
group=root
28-
notify:
29-
- restart rsyslog
3028

3129
- name: stop rsyslog
3230
tags: [loggly, deploy]
3331
sudo: yes
3432
service: name=rsyslog state=stopped
35-
notify:
36-
- restart rsyslog
3733

3834
- name: clear rsyslog state file
3935
tags: [loggly, deploy]
@@ -46,8 +42,6 @@
4642
tags: [loggly, deploy]
4743
stat: path=/var/log/{{ name }}
4844
register: log_file
49-
notify:
50-
- restart rsyslog
5145

5246
- name: remove old log file
5347
when: log_file.stat.exists
@@ -56,3 +50,8 @@
5650
file:
5751
path=/var/log/{{ name }}.log
5852
state=absent
53+
54+
- name: restart rsyslog
55+
tags: [loggly, deploy]
56+
sudo: yes
57+
service: name=rsyslog state=restarted

0 commit comments

Comments
 (0)