Provision Recipe
require 'recipe/provision.php';
Configuration
lsb_release
Name of lsb_release like: focal, bionic, etc.
As only Ubuntu 20.04 LTS is supported for provision should be the focal
.
Default value
return run("lsb_release -s -c");
provision_user
Default user to use for provisioning.
Default value
'root'
Tasks
provision
Provision the server.
This task is group task which contains next tasks:
- provision:check
- provision:configure
- provision:update
- provision:upgrade
- provision:install
- provision:ssh
- provision:firewall
- provision:user
- provision:php
- provision:node
- provision:databases
- provision:composer
- provision:server
- provision:website
- provision:verify
provision:check
Checks pre-required state.
provision:configure
Collects required params.
provision:update
Adds repositories and update.
provision:upgrade
Upgrades all packages.
provision:install
Installs packages.
provision:ssh
Configures the ssh.
provision:firewall
Setups a firewall.
provision:verify
Verifies what provision was successful.