Add(module): add girasol module
Add(module): add amap module Add(module): add common lib and services Add(module): add base structure for keycloak Add(module): add base structure for rocket Add(module): add n8n and windmill modules Add(docker): add install docker script in common module Add(template): add root for aldon.fr and mathieu.wiki in traefik.service template
This commit is contained in:
@@ -21,8 +21,6 @@ package_upgrade: false
|
||||
packages:
|
||||
- git
|
||||
- nfs-common
|
||||
- docker.io
|
||||
- docker-compose
|
||||
- curl
|
||||
- jq
|
||||
|
||||
@@ -34,6 +32,10 @@ write_files:
|
||||
permissions: "0644"
|
||||
content: |
|
||||
${env-file-content}
|
||||
- path: /opt/${hostname}/install-docker.sh
|
||||
permissions: "0755"
|
||||
content: |
|
||||
${install-docker-script}
|
||||
- path: /usr/local/bin/restore-backup.sh
|
||||
permissions: "0755"
|
||||
content: |
|
||||
@@ -73,9 +75,7 @@ runcmd:
|
||||
- mount -t nfs ${proxmox_host_ip}:/main/backups /backups
|
||||
- systemctl enable --now create-backup.timer
|
||||
# Docker setup
|
||||
- systemctl enable docker
|
||||
- systemctl start docker
|
||||
- usermod -aG docker ${hostname}
|
||||
- /opt/${hostname}/install-docker.sh
|
||||
# Act_runner install
|
||||
- /opt/${hostname}/install-runner.sh
|
||||
- systemctl daemon-reload
|
||||
|
||||
@@ -33,6 +33,7 @@ module "vm" {
|
||||
act_runner-install-script = indent(6, file("${path.module}/../common/scripts/install-runner.sh"))
|
||||
|
||||
service-install-script = indent(6, file("${path.module}/../common/scripts/install-service-ci.sh"))
|
||||
install-docker-script = indent(6, file("${path.module}/../common/scripts/install-docker.sh"))
|
||||
|
||||
env-file-content = indent(6, file("${path.module}/.env"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user