This commit is contained in:
2021-01-23 01:19:53 -05:00
parent 2238339553
commit 6cc1f8efda
6 changed files with 1110 additions and 0 deletions

6
ops/provision/deploy.sh Executable file
View File

@ -0,0 +1,6 @@
source ../lib/mo
apt install -y apache2
apache_vhost="$(cat ops/apache2/vhost.conf)"
echo "$apache_vhost" | mo > /etc/apache2/sites-enabled/000-default.conf

8
ops/provision/test.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
source ../lib/mo
apt install -y apache2
apache_vhost="$(cat ops/apache2/vhost.conf)"
echo "$apache_vhost" | mo > /etc/apache2/sites-enabled/000-default.conf

2
ops/provision/vals Normal file
View File

@ -0,0 +1,2 @@
name="Billy"
age="22"