Files
SDIS-29-3.p2/ansible/payara.yml
2025-12-05 08:14:54 +00:00

33 lines
753 B
YAML

---
- name:
hosts: ap33-pt
become: yes
tasks:
- name: download docker
ansible.builtin.get_url:
url: http://depl.sio.lan/store/get-docker.sh
dest: /tmp
- name: execution script get docker
ansible.builtin.shell:
cmd: export https_proxy=http://10.121.38.1:8080 ; bash /tmp/get-docker.sh
- name: creation dossier payara
ansible.builtin.file:
path: /home/debian/payara
state: directory
mode: '0755'
become: no
- name: importation
ansible.builtin.copy:
src: ./compose.yml
dest: ~/paraya/compose.yml
mode: '0755'
become: no
- name: docker pull
ansible.builtin.script:
cmd: cd ~/payara ; docker compose pull