# inventory.yml --- all: vars: _i: dcontroller: "dcontroller" dns: - 8.8.8.8 - 8.8.4.4 packages: zsh: "zsh" curl: "curl" tmux: "tmux" wget: "wget" figlet: "figlet" neovim: "neovim" group: root: "root" ansible_port: "22" # --- # Declaration of all hosts # --- hosts: # SERVER for domain controller dcontroller: ansible_host: "dcontroller" ip: inbound: "10.8.0.1" outbound: "185.203.114.234" services: tcp: ssh: "22" httpd: "80" udp: wg: "53" # SERVER for vm stack0: ansible_host: "stack0" ip: inbound: "10.8.0.40" outbound: "192.168.5.40" services: tcp: ssh: "22" nextcloud: "80" vm: enabled: true hosts: - "vm-stack0-minecraft" - "vm-stack0-nextcloud" # SERVER for personnal file sync emb0: ansible_host: "emb0" ip: inbound: "10.8.0.41" outbound: "192.168.5.41" services: tcp: ssh: "22" syncthing: "8384" vm-stack0-minecraft: ansible_host: "vm-stack0-minecraft" enabled: true iso: "alpine" memory: "2G" size: "4G" vm-stack0-nextcloud: ansible_host: "vm-stack0-nextcloud" enabled: true iso: "alpine" memory: "2G" size: "4G" # --- # Declaration of groups # --- children: # GROUP server servers: hosts: dcontroller: stack0: emb0: # GROUP openbsd openbsd: vars: path_zsh_bin: "/usr/local/bin/zsh" ansible_become_method: "doas" group: root: "wheel" hosts: dcontroller: stack0: # GROUP debian debian: vars: path_zsh_bin: "/bin/zsh" hosts: emb0: # GROUP alpine alpine: hosts: vm-stack0-minecraft: vm-stack0-nextcloud: