de.lehmann.automation.ansib.../playbooks/lehmann-crawl4ai.yml
2025-07-27 21:04:57 +02:00

44 lines
951 B
YAML

#
#
# Automated installation for photoprism
#
# Project: playbooks
# Author: Tobias Lehmann <tobias.lehmann@captica.de>
# License: MIT License (see LICENSE.md)
#
# Copyright (c) captica GmbH est. 2021
#
- hosts: "leh01"
name: Create container
vars:
lxc_id: 1038
lxc_name: crawl4ai
lxc_domain: leh01.local
lxc_template: "local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst"
lxc_mac: CC:CC:CC:15:01:77
lxc_bridge: vmbr150
lxc_vlan: ""
lxc_disk: datapool:20
lxc_cpu: 2
lxc_memory: 4096
lxc_swap: 4192
lxc_ssh_pub_key: ~/.ssh/id_ed25519_ansible.pub
roles:
- lxc-container
- hosts: "crawl4ai"
vars:
hostname: crawl4ai
tools_install_users:
- root
- ansible
ssh_pubkeys_root:
- "../files/ssh/root.pub"
ssh_pubkeys_ansible:
- "../files/ssh/ansible.pub"
roles:
- linux-base-install
- zsh
- vim
- fzf
- linux-docker