added nodered-datalogger to playbooks

This commit is contained in:
Tobias Lehmann 2024-03-12 14:25:43 +01:00
parent 4388a52e92
commit 10e07c90e2
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,16 @@
- hosts: "leh01"
name: Create container
vars:
lxc_id: 1035
lxc_name: nodered-datalogger
lxc_domain: nodered-datalogger.leh01.local
lxc_template: "local:vztmpl/debian-12-standard_12.2-1_amd64.tar.zst"
lxc_mac: CC:CC:CC:15:01:65
lxc_vlan: "vmbr150"
lxc_disk: vm:32
lxc_cpu: 2
lxc_memory: 2048
lxc_swap: 1024
lxc_mounts: '{"mp0":"nodered-datalogger:100,mp=/opt/nodered-datalogger"}'
roles:
- lxc-container

View File

@ -40,6 +40,11 @@ roles:
scm: git
version: main
- name: lxc-container
src: git@git.captica.de:captica-automation/de.captica.automation.ansible.role.lxc-container.git
scm: git
version: main
# Collections requirements
collections:
- name: community.general