Skip to content

Commit 5f34dc3

Browse files
committed
tests: Remove installing custom hostapd build for OWE
Previously, the role used to install customly-built hostapd package with OWE enabled. Currently, hostapd in Fedora and RHEL have OWE enabled by default, so there is no need to use custom build. Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
1 parent 88a2609 commit 5f34dc3

1 file changed

Lines changed: 5 additions & 18 deletions

File tree

tests/tasks/setup_mock_wifi_wpa3_owe.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,14 @@
2020
# if using rpm ostree - so just skip this test
2121
- name: >-
2222
This is an rpm-ostree system. This test cannot be run on such a system.
23-
The test wants to install the hostapd package from copr, and install
24-
the mac80211_hwsim kernel module. These operations are currently not
25-
supported on rpm-ostree systems.
23+
The test wants to install the mac80211_hwsim kernel module.
24+
These operations are currently not supported on rpm-ostree systems.
2625
meta: end_host
2726
when: __network_is_ostree | d(false)
2827
2928
# yamllint disable rule:line-length
30-
# Even though hostapd can be installed via EPEL, Opportunistic Wireless Encryption
31-
# (OWE) has not been enabled by default. To warrant the test support on RHEL(dist-tag),
32-
# we setup hostapd copr repo to enable OWE option.
33-
- name: Install hostapd and mac80211_hwsim kernel module in CentOS
29+
- name: Install hostapd and mac80211_hwsim kernel modules in CentOS
3430
shell: |
35-
dnf -y copr enable liangwen12year/hostapd-owe
3631
dnf -y install hostapd
3732
release=$(uname -r)
3833
tmp="${release/-//}"
@@ -43,21 +38,13 @@
4338
changed_when: false
4439
# yamllint enable rule:line-length
4540

46-
- name: Install hostapd in Fedora
41+
- name: Install hostapd and mac80211_hwsim kernel modules in Fedora
4742
shell: |
48-
dnf -y copr enable liangwen12year/hostapd-owe
4943
dnf -y install hostapd
50-
when:
51-
- ansible_facts['distribution'] == 'Fedora'
52-
changed_when: false
53-
54-
- name: Install mac80211_hwsim kernel modules in Fedora
55-
shell: |
5644
dnf -y install koji
5745
koji download-build --arch=$(uname -m) kernel-modules-internal-$(uname -r)
5846
dnf -y install kernel-modules*.rpm
59-
when:
60-
- ansible_facts['distribution'] == 'Fedora'
47+
when: ansible_facts['distribution'] == 'Fedora'
6148
changed_when: false
6249

6350
- name: Create hostapd config

0 commit comments

Comments
 (0)