From 41933c02a19850aed2b654b76a7f08b8ba7cd8bd Mon Sep 17 00:00:00 2001 From: jaydee Date: Fri, 15 Nov 2024 14:03:46 +0100 Subject: [PATCH] bitwarden --- playbooks/sync_all.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/playbooks/sync_all.yaml b/playbooks/sync_all.yaml index 32c94fd..1f5af94 100644 --- a/playbooks/sync_all.yaml +++ b/playbooks/sync_all.yaml @@ -76,12 +76,12 @@ ansible.builtin.shell: sqlite3 /share/docker_data/heimdall/config/www/app.sqlite "UPDATE setting_user SET uservalue = 'backgrounds/TRN2Ydr5dyVAkWvCq4xqR5bQ6iyv5XaKvM1r84sJ.jpg' WHERE user_id = (SELECT id FROM users WHERE username = 'jaydee')" become: true when: inventory_hostname == destination_server - # - include_tasks: start_containers.yaml - # name: Start Containers - # when: inventory_hostname in groups['raspberrypi5'] - # - name: Pause for 60 seconds - # ansible.builtin.pause: - # seconds: 10 + - include_tasks: start_containers.yaml + name: Start Containers + when: inventory_hostname == destination_server + - name: Pause for 60 seconds + ansible.builtin.pause: + seconds: 60 - name: Update gitlab perms ansible.builtin.shell: 'docker exec -t gitlab update-permissions' ignore_errors: true