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

22 lines
1018 B
YAML
Raw Normal View History

2022-07-16 09:04:12 +08:00
- name: Install {{appname}}
include_tasks: tasks/install.yml
vars:
2022-10-25 14:44:02 +08:00
app: "runtime"
2022-10-28 14:06:47 +08:00
2022-10-28 14:07:29 +08:00
- name: Stop all of java runtime except java17
2022-11-01 09:27:59 +08:00
shell: docker stop java8 java11 java13 java14 java15 java18 java19
2022-10-28 14:06:47 +08:00
failed_when: False
2022-11-01 09:27:59 +08:00
- name: Install docker and navigator plugin of cockpit on ubuntu
shell: |
wget https://launchpad.net/ubuntu/+source/cockpit/215-1~ubuntu19.10.1/+build/18889196/+files/cockpit-docker_215-1~ubuntu19.10.1_all.deb
sudo dpkg -i cockpit-docker_215-1~ubuntu19.10.1_all.deb
wget https://github.com/45Drives/cockpit-navigator/releases/download/v0.5.10/cockpit-navigator_0.5.10-1focal_all.deb
DEBIAN_FRONTEND=noninteractive apt install -y ./cockpit-navigator_0.5.10-1focal_all.deb
when: ansible_os_family == "Debian"
- name: Install navigator plugin of cockpit on centos
shell: |
2022-11-01 14:15:40 +08:00
yum install https://github.com/45Drives/cockpit-navigator/releases/download/v0.5.10/cockpit-navigator-0.5.10-1.el7.noarch.rpm -y
2022-11-01 14:15:02 +08:00
when: ansible_os_family == "Redhat"