websoft9/apps/roles/fastpanel/tasks/main.yml

17 lines
655 B
YAML
Raw Normal View History

2022-09-07 10:48:24 +08:00
- name: Install common on app without docker
2022-09-07 10:24:20 +08:00
include_tasks: tasks/install_without_docker.yml
2022-09-06 17:44:14 +08:00
2022-09-06 16:05:56 +08:00
- name: Install {{appname}}
2022-09-06 17:47:02 +08:00
shell: |
wget http://repo.fastpanel.direct/install_fastpanel.sh -O - | bash - > /credentials/tmp 2>&1
grep "Login" /credentials/tmp >> /credentials/password.txt
grep "Password" /credentials/tmp >> /credentials/password.txt
2022-09-06 16:21:19 +08:00
- name: Output version
2022-09-06 16:34:34 +08:00
shell: echo "fastpanel version refer to https://fastpanel.direct/changelog" >> /data/logs/install_version.txt
2022-09-07 10:51:33 +08:00
- name: Save the init script shell
template:
src: init_without_docker.sh
dest: /data/apps/{{appname}}/init_without_docker.sh