|
| 1 | +--- |
| 2 | +############################################################################### |
| 3 | +# Ansible control host configuration. |
| 4 | + |
| 5 | +# User with which to access the Ansible control host via SSH during bootstrap, |
| 6 | +# in order to setup the Kayobe user account. Default is {{ os_distribution }}. |
| 7 | +ansible_control_bootstrap_user: "{{ os_distribution }}" |
| 8 | + |
| 9 | +############################################################################### |
| 10 | +# Ansible control host network interface configuration. |
| 11 | + |
| 12 | +# List of networks to which Ansible control host are attached. |
| 13 | +ansible_control_network_interfaces: > |
| 14 | + {{ (ansible_control_default_network_interfaces + |
| 15 | + ansible_control_extra_network_interfaces) | select | unique | list }} |
| 16 | + |
| 17 | +# List of default networks to which Ansible control host are attached. |
| 18 | +ansible_control_default_network_interfaces: > |
| 19 | + {{ [admin_oc_net_name] | select | unique | list }} |
| 20 | + |
| 21 | +# List of extra networks to which Ansible control host are attached. |
| 22 | +ansible_control_extra_network_interfaces: [] |
| 23 | + |
| 24 | +############################################################################### |
| 25 | +# Ansible control host software RAID configuration. |
| 26 | + |
| 27 | +# List of software RAID arrays. See mrlesmithjr.mdadm role for format. |
| 28 | +ansible_control_mdadm_arrays: [] |
| 29 | + |
| 30 | +############################################################################### |
| 31 | +# Ansible control host encryption configuration. |
| 32 | + |
| 33 | +# List of block devices to encrypt. See stackhpc.luks role for format. |
| 34 | +ansible_control_luks_devices: [] |
| 35 | + |
| 36 | +############################################################################### |
| 37 | +# Ansible control host LVM configuration. |
| 38 | + |
| 39 | +# List of Ansible control host volume groups. See mrlesmithjr.manage_lvm role |
| 40 | +# for format. |
| 41 | +ansible_control_lvm_groups: "{{ ansible_control_lvm_groups_default + ansible_control_lvm_groups_extra }}" |
| 42 | + |
| 43 | +# Default list of Ansible control host volume groups. See |
| 44 | +# mrlesmithjr.manage_lvm role for format. |
| 45 | +ansible_control_lvm_groups_default: "{{ [ansible_control_lvm_group_data] if ansible_control_lvm_group_data_enabled | bool else [] }}" |
| 46 | + |
| 47 | +# Additional list of Ansible control host volume groups. See |
| 48 | +# mrlesmithjr.manage_lvm role for format. |
| 49 | +ansible_control_lvm_groups_extra: [] |
| 50 | + |
| 51 | +# Whether a 'data' LVM volume group should exist on the Ansible control host. |
| 52 | +# By default this contains a 'docker-volumes' logical volume for Docker volume |
| 53 | +# storage. Default is false. |
| 54 | +ansible_control_lvm_group_data_enabled: false |
| 55 | + |
| 56 | +# Ansible control host LVM volume group for data. See mrlesmithjr.manage_lvm |
| 57 | +# role for format. |
| 58 | +ansible_control_lvm_group_data: |
| 59 | + vgname: data |
| 60 | + disks: "{{ ansible_control_lvm_group_data_disks }}" |
| 61 | + create: True |
| 62 | + lvnames: "{{ ansible_control_lvm_group_data_lvs }}" |
| 63 | + |
| 64 | +# List of disks for use by Ansible control host LVM data volume group. Default |
| 65 | +# to an invalid value to require configuration. |
| 66 | +ansible_control_lvm_group_data_disks: |
| 67 | + - changeme |
| 68 | + |
| 69 | +# List of LVM logical volumes for the data volume group. |
| 70 | +ansible_control_lvm_group_data_lvs: |
| 71 | + - "{{ ansible_control_lvm_group_data_lv_docker_volumes }}" |
| 72 | + |
| 73 | +# Docker volumes LVM backing volume. |
| 74 | +ansible_control_lvm_group_data_lv_docker_volumes: |
| 75 | + lvname: docker-volumes |
| 76 | + size: "{{ ansible_control_lvm_group_data_lv_docker_volumes_size }}" |
| 77 | + create: True |
| 78 | + filesystem: "{{ ansible_control_lvm_group_data_lv_docker_volumes_fs }}" |
| 79 | + mount: True |
| 80 | + mntp: /var/lib/docker/volumes |
| 81 | + |
| 82 | +# Size of docker volumes LVM backing volume. |
| 83 | +ansible_control_lvm_group_data_lv_docker_volumes_size: 75%VG |
| 84 | + |
| 85 | +# Filesystem for docker volumes LVM backing volume. ext4 allows for shrinking. |
| 86 | +ansible_control_lvm_group_data_lv_docker_volumes_fs: ext4 |
| 87 | + |
| 88 | +############################################################################### |
| 89 | +# Ansible control host sysctl configuration. |
| 90 | + |
| 91 | +# Dict of sysctl parameters to set. |
| 92 | +ansible_control_sysctl_parameters: {} |
| 93 | + |
| 94 | +############################################################################### |
| 95 | +# Ansible control host tuned configuration. |
| 96 | + |
| 97 | +# Builtin tuned profile to use. Format is same as that used by giovtorres.tuned |
| 98 | +# role. Default is throughput-performance. |
| 99 | +ansible_control_tuned_active_builtin_profile: "throughput-performance" |
| 100 | + |
| 101 | +############################################################################### |
| 102 | +# Ansible control host user configuration. |
| 103 | + |
| 104 | +# List of users to create. This should be in a format accepted by the |
| 105 | +# singleplatform-eng.users role. |
| 106 | +ansible_control_users: "{{ users_default }}" |
| 107 | + |
| 108 | +############################################################################### |
| 109 | +# Ansible control host firewalld configuration. |
| 110 | + |
| 111 | +# Whether to install and enable firewalld. |
| 112 | +ansible_control_firewalld_enabled: false |
| 113 | + |
| 114 | +# A list of zones to create. Each item is a dict containing a 'zone' item. |
| 115 | +ansible_control_firewalld_zones: [] |
| 116 | + |
| 117 | +# A firewalld zone to set as the default. Default is unset, in which case the |
| 118 | +# default zone will not be changed. |
| 119 | +ansible_control_firewalld_default_zone: |
| 120 | + |
| 121 | +# A list of firewall rules to apply. Each item is a dict containing arguments |
| 122 | +# to pass to the firewalld module. Arguments are omitted if not provided, with |
| 123 | +# the following exceptions: |
| 124 | +# - offline: true |
| 125 | +# - permanent: true |
| 126 | +# - state: enabled |
| 127 | +ansible_control_firewalld_rules: [] |
| 128 | + |
| 129 | +############################################################################### |
| 130 | +# Ansible control host swap configuration. |
| 131 | + |
| 132 | +# List of swap devices. Each item is a dict containing a 'device' item. |
| 133 | +ansible_control_swap: [] |
| 134 | + |
| 135 | +############################################################################### |
| 136 | +# Ansible control host container engine configuration. |
| 137 | + |
| 138 | +# Whether a container engine should be configured. Default is false. |
| 139 | +ansible_control_container_engine_enabled: false |
0 commit comments