diff --git a/playbooks/00_poweroff.yml b/playbooks/00_poweroff.yml index f37d03e..5908b42 100644 --- a/playbooks/00_poweroff.yml +++ b/playbooks/00_poweroff.yml @@ -5,3 +5,4 @@ tasks: - name: Shut down community.general.shutdown: + ignore_errors: yes diff --git a/playbooks/sync_all.yaml b/playbooks/sync_all.yaml index a65d396..0923d8d 100644 --- a/playbooks/sync_all.yaml +++ b/playbooks/sync_all.yaml @@ -56,4 +56,16 @@ when: inventory_hostname in groups['raspberrypi5'] - include_tasks: start_containers.yaml name: Start Containers + when: inventory_hostname in groups['raspberrypi5'] + - name: Get relevant configs + ansible.builtin.shell: 'docker exec -it gitlab update-permissions' + ignore_errors: yes + become: yes + register: result + when: inventory_hostname in groups['raspberrypi5'] + - name: Get relevant configs + ansible.builtin.shell: 'docker restart gitlab' + ignore_errors: yes + become: yes + register: result when: inventory_hostname in groups['raspberrypi5'] \ No newline at end of file