mg
181da3c38a
keepass vars playbook jenkins java jenkins in inventory Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#80 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
12 lines
343 B
YAML
12 lines
343 B
YAML
---
|
|
- 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
|