Run OpenBSD from console.sh and desktop.sh

This commit is contained in:
Anthony Rose 2023-08-21 21:54:45 -03:00
parent 60134dba95
commit fac69bd1a3
3 changed files with 13 additions and 0 deletions

View file

@ -3,6 +3,9 @@
if [ $(uname -s) = FreeBSD ]
then
INVENTORY=./inventories/freebsd.ini
elif [ $(uname -s) = OpenBSD ]
then
INVENTORY=./inventories/openbsd.ini
else
INVENTORY=./local.ini
fi

View file

@ -3,6 +3,9 @@
if [ $(uname -s) = FreeBSD ]
then
INVENTORY=./inventories/freebsd.ini
elif [ $(uname -s) = OpenBSD ]
then
INVENTORY=./inventories/openbsd.ini
else
INVENTORY=./local.ini
fi

7
inventories/openbsd.ini Normal file
View file

@ -0,0 +1,7 @@
[all]
localhost
[all:vars]
ansible_connection=local
ansible_python_interpreter=/usr/local/bin/python3
ansible_become_method=su