tf-oci-ans-selfhost-dev/ansible_playbooks/wolfreealpha_residue.yml

51 lines
1.5 KiB
YAML
Raw Normal View History

2023-07-31 10:43:21 -04:00
#
# vars:
#
# search_path: "/var/lib/docker/containers/overlay2/*/diff/usr/share/nginx"
# - name: Download the vscode server
# become: true
# ansible.builtin.get_url:
# url: https://github.com/coder/code-server/releases/download/v4.12.0/code-server_4.12.0_amd64.deb
# dest: .
# mode: '0400'
#
# - name: Install vs-code server
# become: true
# ansible.builtin.apt:
# deb: ./code-server_4.12.0_amd64.deb
#
# - name: Copy apt install log to disk
# delegate_to: localhost
# ansible.builtin.copy:
# content: '{{ installout }}'
# dest: ./install_log.txt
# mode: '0600'
#
# - name: Download the wolfreealpha Dockerfile
# become: true
# ansible.builtin.get_url:
# url: https://git.disroot.org/wolfree/wolfree-dockerfile/raw/branch/master/Dockerfile
# dest: .
# mode: '0400'
#
# - name: Copy apt update log to disk
# delegate_to: localhost
# ansible.builtin.copy:
# content: '{{ updateout }}'
# dest: ./update_log.txt
# mode: '0600'
#
# - name: Check if file exists
# become: true
# ansible.builtin.stat:
# path: "{{ search_path }}"
# register: result
#
# - name: Build wolfreealpha container
# become: true
# environment:
# DOCKER_BUILDKIT: 1
# when: not result.stat.exists
# ansible.builtin.command:
# cmd: 'docker build --progress=plain --tag wolfree https://try.gitea.io/wolfree/wolfree-dockerfile.git'