Move poudriere to inside a VM.
This commit is contained in:
parent
8e412456d2
commit
93dab70817
@ -53,7 +53,3 @@ sway_conf_files:
|
||||
wireguard_directory: odo
|
||||
enabled_wireguard:
|
||||
- wgh
|
||||
poudriere_builds:
|
||||
- jail: current
|
||||
ports: default
|
||||
set: framework
|
||||
|
5
ansible/environments/vm/host_vars/poudriereodo
Normal file
5
ansible/environments/vm/host_vars/poudriereodo
Normal file
@ -0,0 +1,5 @@
|
||||
os_flavor: "freebsd"
|
||||
poudriere_builds:
|
||||
- jail: 13amd64
|
||||
ports: default
|
||||
set: framework
|
2
ansible/environments/vm/hosts
Normal file
2
ansible/environments/vm/hosts
Normal file
@ -0,0 +1,2 @@
|
||||
[vm]
|
||||
poudriereodo ansible_user=builder ansible_host=10.213.177.11
|
@ -1,4 +1,4 @@
|
||||
- hosts: all:!jail
|
||||
- hosts: all:!jail:!vm
|
||||
vars:
|
||||
ansible_become: True
|
||||
roles:
|
||||
@ -37,10 +37,17 @@
|
||||
# - ansible
|
||||
# - wireguard
|
||||
# - portshaker
|
||||
- poudriere
|
||||
# - poudriere
|
||||
|
||||
- hosts: nat_dhcp:homeserver_nat_dhcp
|
||||
vars:
|
||||
ansible_become: True
|
||||
roles:
|
||||
- jail_nat_dhcp
|
||||
|
||||
- hosts: poudriereodo
|
||||
vars:
|
||||
ansible_become: True
|
||||
roles:
|
||||
- portshaker
|
||||
- poudriere
|
||||
|
@ -26,7 +26,8 @@ elif [ "$target" = "jail_nat_dhcp" ]; then
|
||||
ansible-playbook -v -i environments/jail playbook.yaml --diff --limit nat_dhcp "${@}"
|
||||
elif [ "$target" = "jail_homeserver_nat_dhcp" ]; then
|
||||
ansible-playbook -v -i environments/jail playbook.yaml --diff --limit homeserver_nat_dhcp "${@}"
|
||||
#
|
||||
elif [ "$target" = "vm_poudriereodo" ]; then
|
||||
ansible-playbook -v -i environments/vm playbook.yaml --diff --limit poudriereodo "${@}"
|
||||
else
|
||||
die 1 "Unrecognized target"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user