added playbook for n8n
This commit is contained in:
parent
c8ecfc9b89
commit
747b9970af
@ -18,6 +18,8 @@ all:
|
|||||||
ansible_host: 192.168.150.130
|
ansible_host: 192.168.150.130
|
||||||
harvester:
|
harvester:
|
||||||
ansible_host: 192.168.150.175
|
ansible_host: 192.168.150.175
|
||||||
|
n8n:
|
||||||
|
ansible_host: 192.168.150.176
|
||||||
bankmanager:
|
bankmanager:
|
||||||
ansible_host: 192.168.110.20
|
ansible_host: 192.168.110.20
|
||||||
urbackup:
|
urbackup:
|
||||||
|
|||||||
45
playbooks/captica-automation-n8n.yml
Normal file
45
playbooks/captica-automation-n8n.yml
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
#
|
||||||
|
#
|
||||||
|
# Automated installation for bankmanager
|
||||||
|
#
|
||||||
|
# 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: 1036
|
||||||
|
lxc_name: n8n
|
||||||
|
lxc_domain: leh01.local
|
||||||
|
lxc_template: "local:vztmpl/debian-12-standard_12.2-1_amd64.tar.zst"
|
||||||
|
lxc_mac: CC:CC:CC:15:01:76
|
||||||
|
lxc_bridge: vmbr150
|
||||||
|
lxc_vlan: ""
|
||||||
|
lxc_disk: datapool:32
|
||||||
|
lxc_cpu: 2
|
||||||
|
lxc_memory: 2048
|
||||||
|
lxc_swap: 1024
|
||||||
|
lxc_mounts: '{"mp0":"lxc-n8n:50,mp=/opt/n8n"}'
|
||||||
|
lxc_ssh_pub_key: ~/.ssh/id_ed25519_ansible.pub
|
||||||
|
roles:
|
||||||
|
- lxc-container
|
||||||
|
|
||||||
|
- hosts: "n8n"
|
||||||
|
vars:
|
||||||
|
hostname: n8n
|
||||||
|
tools_install_users:
|
||||||
|
- root
|
||||||
|
- ansible
|
||||||
|
ssh_pubkeys_root:
|
||||||
|
- "../files/ssh/root.pub"
|
||||||
|
ssh_pubkeys_ansible:
|
||||||
|
- "../files/ssh/id_ed25519_ansible.pub"
|
||||||
|
roles:
|
||||||
|
- linux-base-install
|
||||||
|
- zsh
|
||||||
|
- vim
|
||||||
|
- fzf
|
||||||
|
- n8n
|
||||||
@ -59,6 +59,10 @@ roles:
|
|||||||
src: git@git.captica.de:captica-automation/de.captica.automation.ansible.role.open-webui.git
|
src: git@git.captica.de:captica-automation/de.captica.automation.ansible.role.open-webui.git
|
||||||
scm: git
|
scm: git
|
||||||
version: main
|
version: main
|
||||||
|
- name: n8n
|
||||||
|
src: git@git.captica.de:captica-automation/de.captica.automation.ansible.role.n8n.git
|
||||||
|
scm: git
|
||||||
|
version: main
|
||||||
|
|
||||||
# Collections requirements
|
# Collections requirements
|
||||||
collections:
|
collections:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user