Updated for new version
This commit is contained in:
@@ -28,6 +28,16 @@
|
||||
- wikideck_existing_claim | length == 0 or wikideck_existing_claim is match('^[a-z0-9]([a-z0-9.-]*[a-z0-9])?$')
|
||||
- wikideck_public_origin is string
|
||||
- wikideck_public_origin | length == 0 or wikideck_public_origin is match('^https://[a-z0-9.-]+(:[0-9]+)?$')
|
||||
- wikideck_mainnet_launch is string
|
||||
- wikideck_mainnet_launch | length == 0 or wikideck_mainnet_launch is match('^[a-f0-9]{64}$')
|
||||
- wikideck_mainnet_risk_ack is string
|
||||
- wikideck_mainnet_risk_ack in ['', 'operator-accepts-unaudited-risk']
|
||||
- wikideck_trusted_proxies is sequence and wikideck_trusted_proxies is not string and wikideck_trusted_proxies is not mapping
|
||||
- wikideck_trusted_proxies | length <= 16
|
||||
- wikideck_trusted_proxies | select('string') | list | length == wikideck_trusted_proxies | length
|
||||
- wikideck_trusted_proxies | select('match', '^[0-9a-fA-F:.]+(/[0-9]{1,3})?$') | list | length == wikideck_trusted_proxies | length
|
||||
- wikideck_ops_port is string or wikideck_ops_port is integer
|
||||
- wikideck_ops_port | string | length == 0 or ((wikideck_ops_port | string) is match('^[1-9][0-9]{0,4}$') and wikideck_ops_port | int <= 65535)
|
||||
- wikideck_ingress_enabled is boolean
|
||||
- wikideck_network_policy_enabled is boolean
|
||||
- wikideck_allow_private_peers is boolean
|
||||
@@ -68,6 +78,7 @@
|
||||
- wikideck_network_policy_https_ports
|
||||
- wikideck_network_policy_peer_egress
|
||||
- wikideck_peers
|
||||
- wikideck_trusted_proxies
|
||||
|
||||
- name: Validate the static peer allowlist
|
||||
ansible.builtin.assert:
|
||||
|
||||
Reference in New Issue
Block a user