This commit is contained in:
Fritz Grimpen 2022-11-26 22:38:59 +01:00
parent ca45f138f9
commit f5a258b9a1
8 changed files with 27 additions and 4 deletions

View File

@ -3,6 +3,7 @@
- emma
become: yes
tags: bhyve
roles:
- bhyve

View File

@ -3,4 +3,3 @@
become: yes
roles:
- debian
- { role: user_mgmt, tags: [user_mgmt]}

View File

@ -1,5 +1,5 @@
---
ansible_python_interpreter: /usr/bin/python3.7
ansible_python_interpreter: /usr/bin/python3
dns: 213.133.98.98 8.8.8.8
ipv6_subnet: '2a01:4f8:150:926f::'
@ -8,6 +8,6 @@ ipv4_subnet: 10.0.0.0
ipv6: '{{ ipv6_subnet | ipmath(2 * (vm_index +2)+1) }}/127'
ipv6route: '{{ ipv6_subnet | ipmath(2 * (vm_index +2)) }}'
ansible_ssh_host: '{{ ipv4_subnet | ipmath(2 * vm_index +1) }}'
#ansible_ssh_host: '{{ ipv4_subnet | ipmath(2 * vm_index +1) }}'
ipv4: '{{ ipv4_subnet | ipmath(2 * vm_index +1) }}/31'
ipv4route: '{{ ipv4_subnet | ipmath(2 * vm_index) }}'

View File

@ -232,7 +232,6 @@ bhyve_guests:
image: ubuntu-22.04.1-live-server-amd64.iso
password: foobar
order:
- ISO
- DISKS
disks:
- name: disk

View File

@ -0,0 +1,15 @@
vm_index: 9
user_mgmt:
crest:
state: present
groups: sudo
fritz:
state: present
groups: sudo
humm:
state: present
groups: sudo
blazr:
state: present
groups: sudo

2
hosts/10_frab Normal file
View File

@ -0,0 +1,2 @@
[frab]
frab.emma.ccchb.de

View File

@ -7,3 +7,4 @@
- import_playbook: mail.yml
- import_playbook: restic.yml
- import_playbook: wiki.yml
- import_playbook: users.yml

6
users.yml Normal file
View File

@ -0,0 +1,6 @@
---
- hosts: debian frab
become: yes
tags: [user_mgmt]
roles:
- user_mgmt