From 53ef60eb4248968cd5efa06d22bcd16e6edb876c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Tue, 7 May 2024 14:44:30 +0300 Subject: [PATCH] Deployer Tasks: Wordpress - Fix Issue (2) --- tasks/deployer.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tasks/deployer.yml b/tasks/deployer.yml index 55ee92c..d5e41fe 100644 --- a/tasks/deployer.yml +++ b/tasks/deployer.yml @@ -160,7 +160,7 @@ - name: "Deployer - Wordpress - Create Folder" file: - path: "/root/wordpress" + path: "/root/wordpress/wp-content" state: directory tags: - wordpress @@ -172,7 +172,7 @@ force: on register: deployerTask4 -- name: "Deployer - Workpress - Run Container" +- name: "Deployer - Wordpress - Run Container" containers.podman.podman_container: name: wordpress image: docker.io/library/wordpress:latest @@ -180,16 +180,16 @@ recreate: on network: host volumes: - - "/var/www/html/wp-content/:/var/www/html/wp-content/" + - "/root/wordpress/wp-content/:/var/www/html/wp-content/" env: WORDPRESS_DB_HOST: "127.0.0.1" WORDPRESS_DB_USER: "mkj" WORDPRESS_DB_PASSWORD: "{{ secrets.mariadb.users.mkj.password }}" WORDPRESS_DB_NAME: "mkj" - WORDPRESS_AUTH_KEY: "{{ secrets.wordpress.keys.auth }}" - WORDPRESS_SECURE_AUTH_KEY: "{{ secrets.wordpress.keys.secure_auth }}" - WORDPRESS_LOGGED_IN_KEY: "{{ secrets.wordpress.keys.logged_in }}" - WORDPRESS_NONCE_KEY: "{{ secrets.wordpress.keys.nonce }}" + WORDPRESS_AUTH_KEY: "{{ secrets.wordpress['keys'].auth }}" + WORDPRESS_SECURE_AUTH_KEY: "{{ secrets.wordpress['keys'].secure_auth }}" + WORDPRESS_LOGGED_IN_KEY: "{{ secrets.wordpress['keys'].logged_in }}" + WORDPRESS_NONCE_KEY: "{{ secrets.wordpress['keys'].nonce }}" WORDPRESS_AUTH_SALT: "{{ secrets.wordpress.salt.auth }}" WORDPRESS_SECURE_AUTH_SALT: "{{ secrets.wordpress.salt.secure_auth }}" WORDPRESS_LOGGED_IN_SALT: "{{ secrets.wordpress.salt.logged_in }}"