Fix fedora reset (#8205)

* Reset: Fedora uses NetworkManager

* CI: test reset on fedora
pull/8215/head
Cristian Calin 2021-11-19 02:46:51 +02:00 committed by GitHub
parent 0263c649f4
commit acd5185ad4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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