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

24 lines
791 B
YAML
Raw Normal View History

2022-07-15 08:56:27 +08:00
- name: Install {{appname}}
include_tasks: tasks/install.yml
vars:
2022-07-23 10:26:25 +08:00
app: "oracle"
2022-08-01 15:04:02 +08:00
- block:
- pause:
2022-08-02 08:44:39 +08:00
prompt: "Please check oracle is normal(such as oracle DB and oracle EM), it will take more than 5 miniutes."
2022-08-01 15:04:02 +08:00
echo: no
- name: Output oracle version
shell: |
wget -O /tmp/containers_version.sh https://raw.githubusercontent.com/Websoft9/StackHub/main/scripts/containers_version.sh
bash /tmp/containers_version.sh
rm -f /tmp/containers_version.sh
sleep 20s
- name: Delete contains and images resources
shell: |
docker compose down -v
docker system prune --all --force
2022-09-27 10:42:03 +08:00
docker logout container-registry.oracle.com
2022-08-01 15:04:02 +08:00
args:
chdir: /data/apps/oracle
2022-08-02 08:19:20 +08:00
when: oracle_edition == "enterprise"