websoft9/apps/roles/nextcloud/tasks/pre.yml

5 lines
225 B
YAML
Raw Normal View History

2022-05-17 08:56:42 +08:00
- name: Config .env for start containers
shell: |
public_ip=`wget -O - https://download.websoft9.com/ansible/get_ip.sh | bash`
2022-05-17 09:13:37 +08:00
sed -i "s/APP_TRUST_URL=.*/APP_TRUST_URL=$public_ip/g" {{installpath}}/{{appname}}/.env