Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
74fe416
keystone: Add support for deploying httpd for federation
mnasiadka Sep 23, 2025
660c098
Drop python3.10 from setup.cfg
mnasiadka Nov 17, 2025
3cd32ec
Fix inventory file for cyborg control services
ednxzu Nov 8, 2024
af1063c
MariaDB: Improve recovery
mnasiadka Nov 14, 2025
1befe66
CI: Bump tempest compute.build_timeout to 900s
mnasiadka Nov 21, 2025
e4614dd
ansible-lint: Remove key-order[task] exclude
mnasiadka Nov 12, 2025
f2346b2
ansible-lint: Remove no-free-form from excludes
mnasiadka Nov 12, 2025
081991a
ansible-lint: Remove ignore-errors from excludes
mnasiadka Nov 12, 2025
997e779
ansible-lint: Fix yaml[truthy] in aodh role
mnasiadka Nov 12, 2025
db4d544
ansible-lint: Fix yaml[truthy] in barbican role
mnasiadka Nov 12, 2025
a5a2f08
ansible-lint: Fix yaml[truthy] in bifrost role
mnasiadka Nov 12, 2025
5a09831
ansible-lint: Fix yaml[truthy] in blazar role
mnasiadka Nov 12, 2025
7c70cb2
ansible-lint: Fix yaml[truthy] in cinder role
mnasiadka Nov 12, 2025
463a6e7
ansible-lint: Fix yaml[truthy] in certificates role
mnasiadka Nov 12, 2025
bbd3292
ansible-lint: Fix yaml[truthy] in ceilometer role
mnasiadka Nov 12, 2025
0eebe49
ansible-lint: Fix yaml[truthy] in cron role
mnasiadka Nov 12, 2025
2beb095
ansible-lint: Fix yaml[truthy] in cloudkitty role
mnasiadka Nov 12, 2025
b7df4ce
ansible-lint: Fix yaml[truthy] in cyborg role
mnasiadka Nov 12, 2025
a460a3c
ansible-lint: Fix yaml[truthy] in collectd role
mnasiadka Nov 12, 2025
3d83dab
ansible-lint: Fix yaml[truthy] in destroy role
mnasiadka Nov 12, 2025
a469490
ansible-lint: Fix yaml[truthy] in designate role
mnasiadka Nov 12, 2025
8808828
ansible-lint: Fix yaml[truthy] in fluentd role
mnasiadka Nov 12, 2025
44e6fec
ansible-lint: Fix yaml[truthy] in glance role
mnasiadka Nov 12, 2025
1eda8de
ansible-lint: Fix yaml[truthy] in gnocchi role
mnasiadka Nov 12, 2025
16c282e
ansible-lint: Fix yaml[truthy] in grafana role
mnasiadka Nov 12, 2025
afcf4d4
ansible-lint: Fix yaml[truthy] in hacluster role
mnasiadka Nov 12, 2025
8f6e904
ansible-lint: Fix yaml[truthy] in haproxy-config role
mnasiadka Nov 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,11 @@ skip_list:
# role name check matching ^*$
- role-name
# TODO(frickler): Discuss these in detail, skipping for now to unblock things
- key-order[task]
- no-free-form
- name[play]
- var-naming[no-role-prefix]
- risky-file-permissions
- risky-shell-pipe
- command-instead-of-shell
- command-instead-of-module
- ignore-errors
- yaml[truthy]
- yaml[line-length]
1 change: 0 additions & 1 deletion ansible/inventory/all-in-one
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ control

[cyborg:children]
control
compute

[tacker:children]
control
Expand Down
1 change: 0 additions & 1 deletion ansible/inventory/multinode
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ control

[cyborg:children]
control
compute

[gnocchi:children]
control
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/aodh/tasks/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
login_user: "{{ aodh_database_shard_root_user }}"
login_password: "{{ database_password }}"
name: "{{ aodh_database_name }}"
run_once: True
run_once: true
delegate_to: "{{ groups['aodh-api'][0] }}"
when:
- not use_preconfigured_databases | bool
Expand All @@ -32,7 +32,7 @@
host: "%"
priv: "{{ aodh_database_name }}.*:ALL"
append_privs: "yes"
run_once: True
run_once: true
delegate_to: "{{ groups['aodh-api'][0] }}"
when:
- not use_preconfigured_databases | bool
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/aodh/tasks/bootstrap_service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
kolla_container:
action: "start_container"
common_options: "{{ docker_common_options }}"
detach: False
detach: false
environment:
KOLLA_BOOTSTRAP:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
Expand All @@ -16,5 +16,5 @@
name: "bootstrap_aodh"
restart_policy: oneshot
volumes: "{{ aodh_api.volumes | reject('equalto', '') | list }}"
run_once: True
run_once: true
delegate_to: "{{ groups[aodh_api.group][0] }}"
2 changes: 1 addition & 1 deletion ansible/roles/aodh/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- name: Check if policies shall be overwritten
stat:
path: "{{ item }}"
run_once: True
run_once: true
delegate_to: localhost
register: aodh_policy
with_first_found:
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/barbican/tasks/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
login_user: "{{ barbican_database_shard_root_user }}"
login_password: "{{ database_password }}"
name: "{{ barbican_database_name }}"
run_once: True
run_once: true
delegate_to: "{{ groups['barbican-api'][0] }}"
when:
- not use_preconfigured_databases | bool
Expand All @@ -32,7 +32,7 @@
host: "%"
priv: "{{ barbican_database_name }}.*:ALL"
append_privs: "yes"
run_once: True
run_once: true
delegate_to: "{{ groups['barbican-api'][0] }}"
when:
- not use_preconfigured_databases | bool
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/barbican/tasks/bootstrap_service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
kolla_container:
action: "start_container"
common_options: "{{ docker_common_options }}"
detach: False
detach: false
environment:
KOLLA_BOOTSTRAP:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
Expand All @@ -16,5 +16,5 @@
name: "bootstrap_barbican"
restart_policy: oneshot
volumes: "{{ barbican_api.volumes | reject('equalto', '') | list }}"
run_once: True
run_once: true
delegate_to: "{{ groups[barbican_api.group][0] }}"
4 changes: 2 additions & 2 deletions ansible/roles/barbican/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
- name: Check if policies shall be overwritten
stat:
path: "{{ item }}"
run_once: True
run_once: true
delegate_to: localhost
register: barbican_policy
with_first_found:
Expand Down Expand Up @@ -72,7 +72,7 @@
service: "{{ barbican_services['barbican-api'] }}"
stat:
path: "{{ node_custom_config }}/barbican/barbican-api-paste.ini"
run_once: True
run_once: true
delegate_to: localhost
register: check_barbican_api_paste_ini
when: service | service_enabled_and_mapped_to_host
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/bifrost/tasks/start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
common_options: "{{ docker_common_options }}"
image: "{{ bifrost_deploy_image_full }}"
name: "bifrost_deploy"
privileged: True
privileged: true
environment: "{{ bifrost_deploy_container_proxy }}"
volumes:
- "{{ node_config_directory }}/bifrost/:/etc/bifrost:ro"
Expand Down
14 changes: 6 additions & 8 deletions ansible/roles/bifrost/tasks/stop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
- block:
- when:
- inventory_hostname in groups['bifrost']
- "'bifrost_deploy' not in skip_stop_containers"
block:
- name: Check if bifrost_deploy container is running
become: true
kolla_container_facts:
Expand All @@ -9,7 +12,8 @@
- bifrost_deploy
register: container_facts

- block:
- when: container_facts.containers['bifrost_deploy'] is defined
block:
# Ensure that all services are stopped gracefully, and in a sensible
# order.
- name: Stop services gracefully
Expand All @@ -26,9 +30,3 @@
action: "stop_container"
common_options: "{{ docker_common_options }}"
name: "bifrost_deploy"

when: "container_facts.containers['bifrost_deploy'] is defined"

when:
- inventory_hostname in groups['bifrost']
- "'bifrost_deploy' not in skip_stop_containers"
6 changes: 3 additions & 3 deletions ansible/roles/blazar/tasks/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
login_user: "{{ blazar_database_shard_root_user }}"
login_password: "{{ database_password }}"
name: "{{ blazar_database_name }}"
run_once: True
run_once: true
delegate_to: "{{ groups['blazar-api'][0] }}"
when:
- not use_preconfigured_databases | bool
Expand All @@ -32,7 +32,7 @@
host: "%"
priv: "{{ blazar_database_name }}.*:ALL"
append_privs: "yes"
run_once: True
run_once: true
delegate_to: "{{ groups['blazar-api'][0] }}"
when:
- not use_preconfigured_databases | bool
Expand All @@ -48,7 +48,7 @@
endpoint_type: "{{ openstack_interface }}"
region_name: "{{ openstack_region_name }}"
name: "{{ blazar_aggregate_pool_name }}"
run_once: True
run_once: true
delegate_to: "{{ groups['blazar-api'][0] }}"

- import_tasks: bootstrap_service.yml
4 changes: 2 additions & 2 deletions ansible/roles/blazar/tasks/bootstrap_service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
kolla_container:
action: "start_container"
common_options: "{{ docker_common_options }}"
detach: False
detach: false
environment:
KOLLA_BOOTSTRAP:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
Expand All @@ -16,5 +16,5 @@
name: "bootstrap_blazar"
restart_policy: oneshot
volumes: "{{ blazar_api.volumes | reject('equalto', '') | list }}"
run_once: True
run_once: true
delegate_to: "{{ groups[blazar_api.group][0] }}"
2 changes: 1 addition & 1 deletion ansible/roles/blazar/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- name: Check if policies shall be overwritten
stat:
path: "{{ item }}"
run_once: True
run_once: true
delegate_to: localhost
register: blazar_policy
with_first_found:
Expand Down
8 changes: 4 additions & 4 deletions ansible/roles/ceilometer/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ ceilometer_services:
ceilometer-notification:
container_name: ceilometer_notification
group: ceilometer-notification
enabled: True
enabled: true
image: "{{ ceilometer_notification_image_full }}"
volumes: "{{ ceilometer_notification_default_volumes + ceilometer_notification_extra_volumes }}"
dimensions: "{{ ceilometer_notification_dimensions }}"
healthcheck: "{{ ceilometer_notification_healthcheck }}"
ceilometer-central:
container_name: ceilometer_central
group: ceilometer-central
enabled: True
enabled: true
image: "{{ ceilometer_central_image_full }}"
volumes: "{{ ceilometer_central_default_volumes + ceilometer_central_extra_volumes }}"
dimensions: "{{ ceilometer_central_dimensions }}"
healthcheck: "{{ ceilometer_central_healthcheck }}"
ceilometer-compute:
container_name: ceilometer_compute
group: ceilometer-compute
enabled: True
privileged: True
enabled: true
privileged: true
image: "{{ ceilometer_compute_image_full }}"
volumes: "{{ ceilometer_compute_default_volumes + ceilometer_compute_extra_volumes + lookup('vars', 'run_default_volumes_' + kolla_container_engine) }}"
dimensions: "{{ ceilometer_compute_dimensions }}"
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/ceilometer/tasks/bootstrap_service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
kolla_container:
action: "start_container"
common_options: "{{ docker_common_options }}"
detach: False
detach: false
environment:
KOLLA_BOOTSTRAP:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
Expand All @@ -18,5 +18,5 @@
name: "bootstrap_ceilometer"
restart_policy: oneshot
volumes: "{{ ceilometer_notification.volumes | reject('equalto', '') | list }}"
run_once: True
run_once: true
delegate_to: "{{ groups[ceilometer_notification.group][0] }}"
14 changes: 7 additions & 7 deletions ansible/roles/ceilometer/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
copy:
src: "{{ node_custom_config }}/ceilometer/{{ ceilometer_custom_meters_local_folder }}/"
dest: "{{ node_config_directory }}/{{ item.key }}/meters.d"
force: True
force: true
mode: "0660"
become: true
when:
Expand All @@ -59,7 +59,7 @@
path: "{{ node_custom_config }}/ceilometer/{{ ceilometer_dynamic_pollsters_local_folder }}"
delegate_to: localhost
register: ceilometer_dynamic_pollsters_folder
run_once: True
run_once: true

- name: Set the variable that control the copy of dynamic pollsters definitions
set_fact:
Expand Down Expand Up @@ -102,7 +102,7 @@
copy:
src: "{{ node_custom_config }}/ceilometer/polling.yaml"
dest: "{{ node_config_directory }}/{{ item.key }}/polling.yaml"
force: True
force: true
mode: "0660"
become: true
when:
Expand All @@ -125,7 +125,7 @@
copy:
src: "{{ node_custom_config }}/ceilometer/gnocchi_resources.yaml"
dest: "{{ node_config_directory }}/{{ item.key }}/gnocchi_resources.yaml"
force: True
force: true
mode: "0660"
become: true
when:
Expand All @@ -142,7 +142,7 @@
stat:
path: "{{ item }}"
delegate_to: localhost
run_once: True
run_once: true
register: ceilometer_policy
with_first_found:
- files: "{{ supported_policy_format_list }}"
Expand Down Expand Up @@ -196,7 +196,7 @@
copy:
src: "{{ node_custom_config }}/ceilometer/event_definitions.yaml"
dest: "{{ node_config_directory }}/ceilometer-notification/event_definitions.yaml"
force: True
force: true
mode: "0660"
become: true
register: ceilometer_event_definitions_overwriting
Expand Down Expand Up @@ -245,7 +245,7 @@
template:
src: "{{ node_custom_config }}/ceilometer/pipeline.yaml"
dest: "{{ node_config_directory }}/{{ item.key }}/pipeline.yaml"
force: True
force: true
mode: "0660"
become: true
register: ceilometer_pipeline_overwriting
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/ceilometer/tasks/precheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
that:
- not (enable_ceilometer | bool) or enable_gnocchi | bool or enable_ceilometer_prometheus_pushgateway | bool
msg: "At least one Ceilometer publisher must be enabled"
run_once: True
run_once: true
changed_when: false
Loading