maxhoesel.proxmox.pbs role – Performs basic setup steps on a Proxmox Backup Server host

Note

This role is part of the maxhoesel.proxmox collection (version 5.1.1).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install maxhoesel.proxmox.

To use it in a playbook, specify: maxhoesel.proxmox.pbs.

Entry point main – Performs basic setup steps on a Proxmox Backup Server host

Synopsis

  • This role performs basic setup steps on a Proxmox Backup Server host. It does not manage PBS configuration (storages, pools, etc.) - instead, it configures the underlying system and platform (such as the root user and proxmox repository).

  • The PBS host must already be running and accessible via SSH

Parameters

Parameter

Comments

pbs_configure_smartd

boolean

Whether to enable configuration of smartd with this role.

Choices:

  • false ← (default)

  • true

pbs_repo_type

string

Selects which PBS repository is enabled for pulling updates

Please note that this role does not configure your subscription key, you will have to do so yourself

Choices:

  • "enterprise"

  • "no-subscription" ← (default)

  • "test"

pbs_root_password

string / required

Password for the root user

Must be a string of at least 8 characters

pbs_smartd_mail

string

Where to send mail alerts. Can be a user name of an email address

Default: "root"

pbs_smartd_temperature_warn

integer

Hard disk temperature at which smartd should throw an alarm.

Default: 40

pbs_smartd_test_schedule

string

Schedule regex for drive self-tests, as passed to the `-s` parameter of smartd.

See the man page for more details

Default: "(S/../.././02|L/../../6/03)"