Skip to content

Commit 48b18d9

Browse files
authored
Merge pull request #528 from stackhpc/upstream/master-2026-02-23
Synchronise master with upstream
2 parents c028815 + e227935 commit 48b18d9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+871
-55
lines changed

ansible/apt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: Ensure APT is configured
3-
hosts: seed-hypervisor:seed:overcloud:infra-vms
3+
hosts: seed-hypervisor:seed:overcloud:infra-vms:ansible-control
44
max_fail_percentage: >-
55
{{ apt_max_fail_percentage |
66
default(host_configure_max_fail_percentage) |

ansible/container-engine.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
docker_http_proxy: "{{ kolla_http_proxy }}"
2020
docker_https_proxy: "{{ kolla_https_proxy }}"
2121
docker_no_proxy: "{{ kolla_no_proxy | select | join(',') }}"
22-
when: container_engine == "docker"
22+
when: container_engine_enabled | default(true) | bool and container_engine == "docker"
2323

2424
- name: Ensure podman is configured
2525
hosts: container-engine
@@ -34,4 +34,4 @@
3434
tasks:
3535
- include_role:
3636
name: openstack.kolla.podman
37-
when: container_engine == "podman"
37+
when: container_engine_enabled | default(true) | bool and container_engine == "podman"

ansible/control-host-configure.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
- import_playbook: "ssh-known-host.yml"
3+
- import_playbook: "kayobe-ansible-user.yml"
4+
- import_playbook: "logging.yml"
5+
- import_playbook: "proxy.yml"
6+
- import_playbook: "apt.yml"
7+
- import_playbook: "dnf.yml"
8+
- import_playbook: "pip.yml"
9+
- import_playbook: "kayobe-target-venv.yml"
10+
- import_playbook: "wipe-disks.yml"
11+
- import_playbook: "users.yml"
12+
- import_playbook: "dev-tools.yml"
13+
- import_playbook: "selinux.yml"
14+
- import_playbook: "network.yml"
15+
- import_playbook: "firewall.yml"
16+
- import_playbook: "tuned.yml"
17+
- import_playbook: "sysctl.yml"
18+
- import_playbook: "time.yml"
19+
- import_playbook: "mdadm.yml"
20+
- import_playbook: "luks.yml"
21+
- import_playbook: "lvm.yml"
22+
- import_playbook: "swap.yml"
23+
- import_playbook: "container-engine.yml"

ansible/dev-tools.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: Ensure development tools are installed
3-
hosts: seed-hypervisor:seed:overcloud:infra-vms
3+
hosts: seed-hypervisor:seed:overcloud:infra-vms:ansible-control
44
max_fail_percentage: >-
55
{{ dev_tools_max_fail_percentage |
66
default(host_configure_max_fail_percentage) |

ansible/dnf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: Ensure DNF repos are configured
3-
hosts: seed-hypervisor:seed:overcloud:infra-vms
3+
hosts: seed-hypervisor:seed:overcloud:infra-vms:ansible-control
44
max_fail_percentage: >-
55
{{ dnf_max_fail_percentage |
66
default(host_configure_max_fail_percentage) |

ansible/firewall.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: Ensure firewall is configured
3-
hosts: seed-hypervisor:seed:overcloud:infra-vms
3+
hosts: seed-hypervisor:seed:overcloud:infra-vms:ansible-control
44
max_fail_percentage: >-
55
{{ firewall_max_fail_percentage |
66
default(host_configure_max_fail_percentage) |

ansible/host-command-run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: Run a command
3-
hosts: seed-hypervisor:seed:overcloud:infra-vms
3+
hosts: seed-hypervisor:seed:overcloud:infra-vms:ansible-control
44
gather_facts: False
55
max_fail_percentage: >-
66
{{ host_command_run_max_fail_percentage |

ansible/host-package-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: Update host packages
3-
hosts: seed-hypervisor:seed:overcloud:infra-vms
3+
hosts: seed-hypervisor:seed:overcloud:infra-vms:ansible-control
44
max_fail_percentage: >-
55
{{ host_package_update_max_fail_percentage |
66
default(kayobe_max_fail_percentage) |
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
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
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
# Host/IP with which to access the Ansible control host via SSH.
3+
ansible_host: "{{ admin_oc_net_name | net_ip }}"

0 commit comments

Comments
 (0)