mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
111
This commit is contained in:
parent
ad548611b2
commit
6b0693a9d0
@ -5,3 +5,4 @@
|
||||
tasks:
|
||||
- name: Shut down
|
||||
community.general.shutdown:
|
||||
ignore_errors: yes
|
||||
|
@ -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']
|
Loading…
x
Reference in New Issue
Block a user