Starting to put together a little FreeBSD-based web application example

Not yet done, but enough for now
This commit is contained in:
R Tyler Croy 2020-12-31 22:43:18 -08:00
parent 46dbe64f5f
commit fc1f951c19
3 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,15 @@
groups:
- name: bsd
targets:
- zap-freebsd
targets:
- name: zap-freebsd
uri: 192.168.1.224
config:
ssh:
user: root
password: root
config:
transport: ssh

1
examples/bsd-webapp/tasks Symbolic link
View File

@ -0,0 +1 @@
../../tasks

View File

@ -0,0 +1,15 @@
/*
* This plan will set up an nginx server on a FreeBSD machine
*/
task 'tasks/install/freebsd.ztask' {
packages = 'nginx'
provides = '/usr/local/sbin/nginx'
}
task 'tasks/shell/sh.ztask' {
script = 'sysrc nginx_enable="YES"'
}