Browse Source
Fix fedora reset (#8205)
* Reset: Fedora uses NetworkManager
* CI: test reset on fedora
pull/8215/head
Cristian Calin
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
1 deletions
-
.gitlab-ci/packet.yml
-
roles/reset/tasks/main.yml
|
|
@ -202,6 +202,8 @@ packet_fedora33-calico: |
|
|
|
stage: deploy-part2 |
|
|
|
extends: .packet_periodic |
|
|
|
when: on_success |
|
|
|
variables: |
|
|
|
RESET_CHECK: "true" |
|
|
|
|
|
|
|
packet_fedora34-calico-selinux: |
|
|
|
stage: deploy-part2 |
|
|
|
|
|
@ -385,7 +385,7 @@ |
|
|
|
service: |
|
|
|
name: >- |
|
|
|
{% if ansible_os_family == "RedHat" -%} |
|
|
|
{%- if ansible_distribution_major_version|int == 8 or is_fedora_coreos -%} |
|
|
|
{%- if ansible_distribution_major_version|int == 8 or is_fedora_coreos or ansible_distribution == "Fedora" -%} |
|
|
|
NetworkManager |
|
|
|
{%- else -%} |
|
|
|
network |
|
|
|