Restart nexus after updating certs
This commit is contained in:
parent
cec3286081
commit
128491d154
3 changed files with 8 additions and 1 deletions
|
@ -28,4 +28,4 @@ become_method = sudo
|
||||||
become_user = root
|
become_user = root
|
||||||
|
|
||||||
[diff]
|
[diff]
|
||||||
always = yes
|
always = True
|
||||||
|
|
|
@ -3,3 +3,9 @@
|
||||||
service:
|
service:
|
||||||
name: consul
|
name: consul
|
||||||
state: reloaded
|
state: reloaded
|
||||||
|
|
||||||
|
- name: restart nexus
|
||||||
|
docker_container:
|
||||||
|
name: nexus
|
||||||
|
image: sonatype/nexus3
|
||||||
|
restart: True
|
||||||
|
|
|
@ -61,6 +61,7 @@
|
||||||
Verifying - Enter Export Password:
|
Verifying - Enter Export Password:
|
||||||
- password
|
- password
|
||||||
when: cert_written.changed
|
when: cert_written.changed
|
||||||
|
notify: restart nexus
|
||||||
|
|
||||||
- name: remove tmp keystore
|
- name: remove tmp keystore
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Reference in a new issue