Run OpenBSD from console.sh and desktop.sh
This commit is contained in:
parent
60134dba95
commit
fac69bd1a3
3 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
7
inventories/openbsd.ini
Normal file
|
@ -0,0 +1,7 @@
|
|||
[all]
|
||||
localhost
|
||||
|
||||
[all:vars]
|
||||
ansible_connection=local
|
||||
ansible_python_interpreter=/usr/local/bin/python3
|
||||
ansible_become_method=su
|
Loading…
Reference in a new issue