Initial Commit
This commit is contained in:
@ -1,3 +1,30 @@
|
||||
---
|
||||
- import_playbook: ghshr.yml
|
||||
- name: Prepare all servers
|
||||
hosts: all
|
||||
become: true
|
||||
vars:
|
||||
alpine_latest_image: "alpine:latest"
|
||||
ubuntu_latest_image: "node:22-trixie"
|
||||
debian_latest_image: "git.comprofix.com/mmckinnon/debian-latest:2025.08.31-093853"
|
||||
|
||||
pre_tasks:
|
||||
- name: Create directories
|
||||
file:
|
||||
path: "/data"
|
||||
state: directory
|
||||
|
||||
- name: Setup base system
|
||||
import_tasks: tasks/base.yml
|
||||
tags: base_setup
|
||||
|
||||
roles:
|
||||
- role: geerlingguy.docker
|
||||
docker_users:
|
||||
- administrator
|
||||
tasks:
|
||||
- name: Deploy docker apps
|
||||
include_tasks: "tasks/{{ container }}.yml"
|
||||
loop:
|
||||
- gitea-runner
|
||||
loop_control:
|
||||
loop_var: container
|
Reference in New Issue
Block a user