Skip to main content
Version: 8.x

Provision Recipe

require 'recipe/provision.php';

Source

Configuration

lsb_release

Source

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

Source

Default user to use for provisioning.

Default value
'root'

Tasks

provision

Source

Provision the server.

This task is group task which contains next tasks:

provision:check

Source

Checks pre-required state.

provision:configure

Source

Collects required params.

provision:update

Source

Adds repositories and update.

provision:upgrade

Source

Upgrades all packages.

provision:install

Source

Installs packages.

provision:ssh

Source

Configures the ssh.

provision:firewall

Source

Setups a firewall.

provision:verify

Source

Verifies what provision was successful.