diff options
Diffstat (limited to 'roles/services/jenkins/handlers')
-rw-r--r-- | roles/services/jenkins/handlers/main.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/services/jenkins/handlers/main.yml b/roles/services/jenkins/handlers/main.yml new file mode 100644 index 0000000..92f0084 --- /dev/null +++ b/roles/services/jenkins/handlers/main.yml | |||
@@ -0,0 +1,13 @@ | |||
1 | - name: update repos | ||
2 | apt: | ||
3 | update_cache: yes | ||
4 | |||
5 | - name: restart nginx | ||
6 | service: | ||
7 | name: nginx | ||
8 | state: restarted | ||
9 | |||
10 | - name: restart jenkins | ||
11 | service: | ||
12 | name: jenkins | ||
13 | state: restarted | ||