homeserver/Archiv/jenkins/geerlingguy.jenkins/handlers/main.yml

13 lines
343 B
YAML
Raw Normal View History

2021-01-21 09:07:19 +01:00
---
- name: restart jenkins
service: name=jenkins state=restarted
- name: configure default users
template:
src: basic-security.groovy.j2
dest: "{{ jenkins_home }}/init.groovy.d/basic-security.groovy"
owner: "{{ jenkins_process_user }}"
group: "{{ jenkins_process_group }}"
mode: 0775
register: jenkins_users_config