Skip to content

Commit

Permalink
Fix fedora reset (#8205)
Browse files Browse the repository at this point in the history
* Reset: Fedora uses NetworkManager

* CI: test reset on fedora
  • Loading branch information
cristicalin authored Nov 19, 2021
1 parent 0263c64 commit acd5185
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitlab-ci/packet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion roles/reset/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit acd5185

Please sign in to comment.