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
|
||||
|
||||
[diff]
|
||||
always = yes
|
||||
always = True
|
||||
|
|
|
@ -3,3 +3,9 @@
|
|||
service:
|
||||
name: consul
|
||||
state: reloaded
|
||||
|
||||
- name: restart nexus
|
||||
docker_container:
|
||||
name: nexus
|
||||
image: sonatype/nexus3
|
||||
restart: True
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
Verifying - Enter Export Password:
|
||||
- password
|
||||
when: cert_written.changed
|
||||
notify: restart nexus
|
||||
|
||||
- name: remove tmp keystore
|
||||
file:
|
||||
|
|
Loading…
Reference in a new issue