mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-24 04:49:26 +00:00
111
This commit is contained in:
parent
ad548611b2
commit
6b0693a9d0
@ -5,3 +5,4 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Shut down
|
- name: Shut down
|
||||||
community.general.shutdown:
|
community.general.shutdown:
|
||||||
|
ignore_errors: yes
|
||||||
|
@ -57,3 +57,15 @@
|
|||||||
- include_tasks: start_containers.yaml
|
- include_tasks: start_containers.yaml
|
||||||
name: Start Containers
|
name: Start Containers
|
||||||
when: inventory_hostname in groups['raspberrypi5']
|
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']
|
Loading…
x
Reference in New Issue
Block a user