Use correct module
This commit is contained in:
parent
4201d060c7
commit
d4949a5aed
@ -25,17 +25,12 @@
|
|||||||
args:
|
args:
|
||||||
creates: /home/dokku/keycloak/letsencrypt/cron-job
|
creates: /home/dokku/keycloak/letsencrypt/cron-job
|
||||||
|
|
||||||
- name: Create volume mount configuration directories
|
- name: Specify certificate docker volume mounts
|
||||||
file:
|
dokku_storage:
|
||||||
path: "{{ item }}"
|
app: keycloak
|
||||||
state: directory
|
mounts:
|
||||||
owner: dokku
|
- "/home/dokku/keycloak/letsencrypt/certs/current/key.pem:/etc/x509/https/tls.key"
|
||||||
group: dokku
|
- "/home/dokku/keycloak/letsencrypt/certs/current/cert.pem:/etc/x509/https/tls.crt"
|
||||||
with_items:
|
|
||||||
- "/home/dokku/keycloak/letsencrypt/certs/current/key.pem:/etc/x509/https/tls.key"
|
|
||||||
- "/home/dokku/keycloak/letsencrypt/certs/current/cert.pem:/etc/x509/https/tls.crt"
|
|
||||||
become: true
|
|
||||||
register: volume_mounts
|
|
||||||
|
|
||||||
- name: Remove automatically configured ports
|
- name: Remove automatically configured ports
|
||||||
dokku_ports:
|
dokku_ports:
|
||||||
|
Reference in New Issue
Block a user