tripleo-heat-templates/deployment/login-defs/login-defs-baremetal.yaml
Kevin Carter 9a2a36437d
Update all roles to use the new role name
Ansible has decided that roles with hypens in them are no longer supported
by not including support for them in collections. This change renames all
the roles we use to the new role name.

Depends-On: Ie899714aca49781ccd240bb259901d76f177d2ae
Change-Id: I4d41b2678a0f340792dd5c601342541ade771c26
Signed-off-by: Kevin Carter <kecarter@redhat.com>
2020-01-20 10:32:23 -06:00

68 lines
2.0 KiB
YAML

heat_template_version: rocky
description: >
Configure login.defs values
parameters:
ServiceData:
default: {}
description: Dictionary packing service data
type: json
ServiceNetMap:
default: {}
description: Mapping of service_name -> network name. Typically set
via parameter_defaults in the resource registry. This
mapping overrides those in ServiceNetMapDefaults.
type: json
DefaultPasswords:
default: {}
type: json
RoleName:
default: ''
description: Role name on which the service is applied
type: string
RoleParameters:
default: {}
description: Parameters specific to the role
type: json
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
PasswordMaxDays:
default: 99999
description: Set the maximum age allowed for passwords
type: number
PasswordMinDays:
default: 7
description: Set the minimum age allowed for passwords
type: number
PasswordWarnAge:
default: 7
description: Set the warning period for password expiration
type: number
PasswordMinLen:
default: 6
description: Set the minimum length allowed for passwords
type: number
FailDelay:
default: 4
description: The period of time between password retries
type: number
outputs:
role_data:
description: Parameters for configuration of the login.defs file
value:
service_name: login_defs
host_prep_tasks:
- include_role:
name: login_defs
ansible_group_vars:
tripleo_login_defs_password_max_days: {get_param: PasswordMaxDays}
tripleo_login_defs_password_min_days: {get_param: PasswordMinDays}
tripleo_login_defs_password_min_len: {get_param: PasswordWarnAge}
tripleo_login_defs_password_warn_age: {get_param: PasswordMinLen}
tripleo_login_defs_fail_delay: {get_param: FailDelay}