First commit
This commit is contained in:
commit
e54b5a5663
24 changed files with 3047 additions and 0 deletions
11
roles/jenkins-php-v1/handlers/main.yml
Normal file
11
roles/jenkins-php-v1/handlers/main.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
|
||||
- name: restart jenkins
|
||||
service: name=jenkins state=restarted
|
||||
|
||||
- name: safe-restart jenkins
|
||||
shell: "{{ jenkins_cli_command }} safe-restart"
|
||||
|
||||
# As of now (Ansible 2.7.7), Ansible doesn't support blocks in handlers
|
||||
- name: safe-restart jenkins and wait
|
||||
import_tasks: roles/jenkins-php-v1/tasks/include_saferestartandwait.yml
|
Reference in a new issue