Role - edpm_logrotate_crond

osp.edpm.edpm_logrotate_crond role – The main entry point for the edpm_logrotate_crond role.

Entry point main – The main entry point for the edpm_logrotate_crond role.

Synopsis

Parameters

Parameter

Comments

edpm_logrotate_crond_compress

boolean

Configures the logrotate compress parameter.

Choices:

  • false

  • true ← (default)

edpm_logrotate_crond_config_dir

path

Path to the crond config directory.

Default: "/var/lib/config-data/ansible-generated/crond"

edpm_logrotate_crond_config_use_ansible

boolean

Should the logrotate crond be configured by the role?

Choices:

  • false

  • true ← (default)

edpm_logrotate_crond_copytruncate

boolean

Configures the logrotate copytruncate parameter.

Choices:

  • false

  • true ← (default)

edpm_logrotate_crond_cronie_package

string

Name of the package installed by the role

Default: "cronie"

edpm_logrotate_crond_dateext

string

Configures the dateext parameter.

edpm_logrotate_crond_dateformat

string

Configures the dateformat parameter used with dateext parameter.

edpm_logrotate_crond_dateyesterday

string

Configures the dateyesterday parameter used with dateext parameter.

edpm_logrotate_crond_delaycompress

boolean

Configures the logrotate delaycompress parameter.

Choices:

  • false

  • true ← (default)

edpm_logrotate_crond_download_delay

integer

The seconds between retries for failed download tasks

Default: 5

edpm_logrotate_crond_download_retries

integer

The number of retries for failed download tasks

Default: 5

edpm_logrotate_crond_healthcheck

boolean

Enable container health check injection

Choices:

  • false

  • true ← (default)

edpm_logrotate_crond_image

string

URL of the cron image.

Default: "quay.io/podified-antelope-centos9/openstack-cron:current-podified"

edpm_logrotate_crond_maxsize

string

Configures the logrotate maxsize parameter.

Default: "10M"

edpm_logrotate_crond_minsize

integer

Configures the logrotate minsize parameter.

Default: 1

edpm_logrotate_crond_notifempty

boolean

Configures the logrotate notifempty parameter.

Choices:

  • false

  • true ← (default)

edpm_logrotate_crond_podman_pid

string

Pid namespace for podman container. Only change for testing.

Default: "host"

edpm_logrotate_crond_purge_after_days

integer

Enforces life time (days) of rotated and compressed files. Overrides the rotation and rotate settings.

Default: 14

edpm_logrotate_crond_rotate

integer

Configures the logrotate rotate parameter.

Default: 14

edpm_logrotate_crond_rotation

string

Configures the logrotate rotation interval.

Default: "daily"

edpm_logrotate_crond_volumes

list / elements=string

List of crond volumes in a mount point form. The `ansible-generated` volume location is based on value of the `edpm_logrotate_crond_config_dir` variable.

Default: ["/var/lib/kolla/config_files/logrotate_crond.json:/var/lib/kolla/config_files/config.json:ro", "/var/lib/config-data/ansible-generated/crond:/var/lib/kolla/config_files/src:ro", "/var/log/containers:/var/log/containers:z"]