mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-24 04:49:26 +00:00
no gitlab perms aplied
This commit is contained in:
parent
4b36935dc0
commit
ae2b88a0a9
@ -55,18 +55,21 @@
|
|||||||
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')"
|
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
|
become: true
|
||||||
when: inventory_hostname in groups['raspberrypi5']
|
when: inventory_hostname in groups['raspberrypi5']
|
||||||
# - 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
|
- name: Pause for 60 seconds
|
||||||
# ansible.builtin.shell: 'docker exec -it gitlab update-permissions'
|
ansible.builtin.pause:
|
||||||
# ignore_errors: yes
|
seconds: 10
|
||||||
# become: yes
|
- name: Update gitlab perms
|
||||||
# register: result
|
ansible.builtin.shell: 'docker exec -it gitlab update-permissions'
|
||||||
# when: inventory_hostname in groups['raspberrypi5']
|
|
||||||
- name: Get relevant configs
|
|
||||||
ansible.builtin.shell: 'docker restart gitlab'
|
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
become: yes
|
become: yes
|
||||||
register: result
|
register: result
|
||||||
when: inventory_hostname in groups['raspberrypi5']
|
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