mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Restructuring for new backup solution
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
- name: Add /var/www/discourse to Git safe.directory
|
||||
command: >
|
||||
docker exec {{ applications['web-app-discourse'].docker.service.discourse.name }} \
|
||||
docker exec {{ applications['web-app-discourse'].docker.services.discourse.name }} \
|
||||
git config --global --add safe.directory /var/www/discourse
|
||||
args:
|
||||
chdir: "{{ docker_compose.directories.instance }}"
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
- name: Revoke old WP Discourse API keys via Rails
|
||||
command: >
|
||||
docker exec {{ applications['web-app-discourse'].docker.service.discourse.name }} bash -lc "\
|
||||
docker exec {{ applications['web-app-discourse'].docker.services.discourse.name }} bash -lc "\
|
||||
cd /var/www/discourse && \
|
||||
script/rails runner \"\
|
||||
ApiKey.where(\
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
- name: Generate new WP Discourse API key via Rake task
|
||||
command: >
|
||||
docker exec {{ applications['web-app-discourse'].docker.service.discourse.name }} bash -lc "\
|
||||
docker exec {{ applications['web-app-discourse'].docker.services.discourse.name }} bash -lc "\
|
||||
cd /var/www/discourse && \
|
||||
bin/rake api_key:create_master['WP Discourse Integration']\
|
||||
"
|
||||
|
Reference in New Issue
Block a user