Use correct module

This commit is contained in:
Luke Murphy 2020-03-25 00:14:04 +01:00
parent 4201d060c7
commit d4949a5aed
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -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: