gitea-set-org-logos: use -T on mariadb command
For some reason something about running under Ansible 6 trips this up and fails with "unable to allocate a TTY", whereas the old version didn't. Tell it not to allocate a tty. Change-Id: Iceb3686d6c00380f4ffba0be8a7af7abd10f8f8b
This commit is contained in:
parent
c2c0edfae4
commit
65856979f8
@ -41,7 +41,7 @@
|
|||||||
- name: Run update query
|
- name: Run update query
|
||||||
shell: >-
|
shell: >-
|
||||||
/usr/local/bin/docker-compose -f /etc/gitea-docker/docker-compose.yaml
|
/usr/local/bin/docker-compose -f /etc/gitea-docker/docker-compose.yaml
|
||||||
exec mariadb bash -c 'mysql -uroot -p"$MYSQL_ROOT_PASSWORD" -e
|
exec -T mariadb bash -c 'mysql -uroot -p"$MYSQL_ROOT_PASSWORD" -e
|
||||||
"USE gitea; UPDATE user SET avatar = '\''{{ item }}'\'', use_custom_avatar = 1 WHERE name = '\''{{ item }}'\''"'
|
"USE gitea; UPDATE user SET avatar = '\''{{ item }}'\'', use_custom_avatar = 1 WHERE name = '\''{{ item }}'\''"'
|
||||||
args:
|
args:
|
||||||
executable: '/bin/bash'
|
executable: '/bin/bash'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user