Role - edpm_bootstrap

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

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

Synopsis

Parameters

Parameter

Comments

edpm_bootstrap_command

string

Shell command that is executed before any packages are installed by the role. Can be used to register systems using any arbitrary registration command(s).

Default: ""

edpm_bootstrap_command_done_file

path

The path of the file that will be used as a marker when the edpm_bootstrap_command has been executed on the node.

Default: "/.bootstrap_command_done"

edpm_bootstrap_download_delay

integer

The seconds between retries for failed download tasks

Default: 5

edpm_bootstrap_download_retries

integer

The number of retries for failed download tasks

Default: 5

edpm_bootstrap_fips_fms_status

list / elements=string

Map between `fips-mode-setup –is-enabled` exit status and messages, as defined in man page fips-mode-setup(8)

Default: [{"exit_code": 0, "message": "FIPS is enabled"}, {"exit_code": 1, "message": "FIPS setup is inconsistent"}, {"exit_code": 2, "message": "FIPS is disabled"}]

edpm_bootstrap_fips_mode

string

edpm_bootstrap_fips_mode is used to check fips status or enable/disable it can take on the following values: enabled: Enable FIPS disabled: Disable FIPS check: Check the FIPS status (this is the default)

Default: "check"

edpm_bootstrap_legacy_network_packages

list / elements=string

List of packages that are required for legacy networking to function. NOTE: We are using ‘network’ service provided by ‘network-scripts’ (initscripts) which deprecated in recent releases but os-net-config doesn’t support yet NetworkManager. Until it happens, we need to ensure that network is started at boot, as it’ll take care of restarting the network interfaces managed by OVS. Note that OVS unit service is already configure to start before network.service.

Default: ["openstack-network-scripts"]

edpm_bootstrap_network_resolvconf_update

boolean

Control resolv.conf management by NetworkManager false = disable NetworkManager resolv.conf update (default) true = enable NetworkManager resolv.conf update

Choices:

  • false ← (default)

  • true

edpm_bootstrap_network_service

string

Default: "NetworkManager"

edpm_bootstrap_packages_bootstrap

list / elements=string

List of packages that are requred to bootstrap EDPM.

Default: ["driverctl", "lvm2", "crudini", "jq", "nftables", "openstack-selinux", "os-net-config", "python3-libselinux", "python3-pyyaml", "rsync", "tmpwatch", "sysstat", "iproute-tc", "ksmtuned", "systemd-container", "crypto-policies-scripts", "grubby"]

edpm_bootstrap_reboot_dir

path

Path of the reboot_required folder used by `edpm_reboot` role

Default: "/var/lib/openstack/reboot_required"

edpm_bootstrap_release_version_package

list / elements=string

Default: ["rhoso-release"]

edpm_bootstrap_selinux_mode

string

String for SELinux state. One of: disabled, enforcing, permissive

Default: "enforcing"

edpm_bootstrap_swap_partition_enabled

boolean

Enable swap partition instead of swap file.

Choices:

  • false ← (default)

  • true

edpm_bootstrap_swap_partition_label

string

Partition label used to search swap partition on disk.

Default: "swap1"

edpm_bootstrap_swap_path

path

Swap file location.

Default: "/swap"

edpm_bootstrap_swap_size_megabytes

integer

Swap file size (in Megabytes).

Default: 1024