Use correct module
This commit is contained in:
parent
4201d060c7
commit
d4949a5aed
@ -25,17 +25,12 @@
|
||||
args:
|
||||
creates: /home/dokku/keycloak/letsencrypt/cron-job
|
||||
|
||||
- name: Create volume mount configuration directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: dokku
|
||||
group: dokku
|
||||
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: Specify certificate docker volume mounts
|
||||
dokku_storage:
|
||||
app: keycloak
|
||||
mounts:
|
||||
- "/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"
|
||||
|
||||
- name: Remove automatically configured ports
|
||||
dokku_ports:
|
||||
|
Reference in New Issue
Block a user