Skip to content

Commit

Permalink
Rebase on bootc branch
Browse files Browse the repository at this point in the history
Signed-off-by: Brendan Shephard <[email protected]>
  • Loading branch information
bshephar committed Dec 11, 2024
1 parent c04ac6a commit 02186d5
Show file tree
Hide file tree
Showing 17 changed files with 11 additions and 17 deletions.
1 change: 0 additions & 1 deletion roles/edpm_kernel/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ edpm_nova_compute_config_dir: /var/lib/config-data/ansible-generated/nova_libvir

# KSM control
edpm_kernel_enable_ksm: false
edpm_use_bootc: false
2 changes: 1 addition & 1 deletion roles/edpm_kernel/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
register: _install_packages_result
when:
- edpm_kernel_extra_packages | length > 0
- not edpm_use_bootc
- not bootc
until: _install_packages_result is succeeded
retries: "{{ edpm_kernel_download_retries }}"
delay: "{{ edpm_kernel_download_delay }}"
Expand Down
1 change: 0 additions & 1 deletion roles/edpm_libvirt/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,3 @@ edpm_libvirt_password_path: /var/lib/openstack/configs/{{ edpm_libvirt_service_n
# certs
edpm_libvirt_tls_certs_enabled: "{{ edpm_tls_certs_enabled | default(False) }}"
edpm_libvirt_tls_cert_src_dir: /var/lib/openstack/certs/{{ edpm_libvirt_service_name }}/default
edpm_use_bootc: false
2 changes: 1 addition & 1 deletion roles/edpm_libvirt/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
delay: "{{ edpm_libvirt_download_delay }}"
notify:
- Restart libvirt
when: not edpm_use_bootc
when: not bootc

- name: Ensure monolithic libvirt and tcp socket activation is not enabled or running
tags:
Expand Down
1 change: 0 additions & 1 deletion roles/edpm_logrotate_crond/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,3 @@ edpm_logrotate_crond_dateformat: null
edpm_logrotate_crond_dateyesterday: null
# If container health check should be enabled
edpm_logrotate_crond_healthcheck: true
edpm_use_bootc: false
2 changes: 1 addition & 1 deletion roles/edpm_logrotate_crond/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
retries: "{{ edpm_logrotate_crond_download_retries }}"
delay: "{{ edpm_logrotate_crond_download_delay }}"
when:
- not edpm_use_bootc
- not bootc

- name: Gather SELinux fact if needed
when:
Expand Down
1 change: 0 additions & 1 deletion roles/edpm_network_config/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,3 @@ edpm_network_config_safe_defaults: true
edpm_network_config_template: ""
edpm_bond_interface_ovs_options: "bond_mode=active-backup"
edpm_dns_search_domains: []
edpm_use_bootc: false
2 changes: 1 addition & 1 deletion roles/edpm_network_config/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- name: Configure network with network role from system roles [nmstate]
when:
- edpm_network_config_tool == 'nmstate'
- not edpm_use_bootc
- not bootc
become: true
block:
- name: Install OVS NetworkManager plugin [nmstate]
Expand Down
2 changes: 1 addition & 1 deletion roles/edpm_network_config/tasks/network_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
until: edpm_network_config_onc_download is succeeded
retries: "{{ edpm_network_config_download_retries }}"
delay: "{{ edpm_network_config_download_delay }}"
when: not edpm_use_bootc
when: not bootc

- name: Ensure /var/lib/edpm-config directory exists
become: true
Expand Down
2 changes: 1 addition & 1 deletion roles/edpm_nvmeof/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
ansible.builtin.package:
name: nvme-cli
state: present
when: not edpm_use_bootc
when: not bootc
1 change: 0 additions & 1 deletion roles/edpm_ovs/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,3 @@ edpm_ovs_packages:
- openvswitch
# whether to reload the openvswitch service after an update is complete
edpm_ovs_reload_after_update: false
edpm_use_bootc: false
2 changes: 1 addition & 1 deletion roles/edpm_ovs/tasks/download_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
until: _install_packages_result is succeeded
retries: "{{ edpm_ovs_download_retries }}"
delay: "{{ edpm_ovs_download_delay }}"
when: not edpm_use_bootc
when: not bootc
2 changes: 1 addition & 1 deletion roles/edpm_ovs/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
until: edpm_ovs_package_install is succeeded
retries: "{{ edpm_ovs_download_retries }}"
delay: "{{ edpm_ovs_download_delay }}"
when: not edpm_use_bootc
when: not bootc

- name: Ensure ovs services are enabled and running
tags:
Expand Down
1 change: 0 additions & 1 deletion roles/edpm_podman/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,3 @@ edpm_podman_auth_file: ~/.config/containers/auth.json

edpm_podman_registries_conf: ""
edpm_podman_disconnected_ocp: false
edpm_use_bootc: false
2 changes: 1 addition & 1 deletion roles/edpm_podman/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
until: edpm_podman_package_download is succeeded
retries: "{{ edpm_podman_download_retries }}"
delay: "{{ edpm_podman_download_delay }}"
when: not edpm_use_bootc
when: not bootc

- name: Ensure we get the ansible interfaces facts
when:
Expand Down
2 changes: 1 addition & 1 deletion roles/edpm_reboot/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
become: true
ansible.builtin.dnf:
name: yum-utils
when: not edpm_use_bootc
when: not bootc

- name: Check if reboot is required with needs-restarting
ansible.builtin.command: needs-restarting -r
Expand Down
2 changes: 1 addition & 1 deletion roles/edpm_sshd/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
retries: "{{ edpm_sshd_download_retries }}"
delay: "{{ edpm_sshd_download_delay }}"
when:
- not edpm_use_bootc
- not bootc

# NOTE(mwhahaha): we need this here because in order to validate our generated
# config, we need to ensure the host keys exist
Expand Down

0 comments on commit 02186d5

Please sign in to comment.