Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit 551304f

Browse files
committed
tests: 'hostname' also need explicit install on EL8
1 parent f16399e commit 551304f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

molecule/_resources/prepare.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- hostname
1111
- glibc-all-langpacks
1212
state: installed
13-
when: ansible_distribution == 'Fedora'
13+
when: ansible_distribution == 'Fedora' or (ansible_os_family == "RedHat" and ansible_distribution_major_version|int >= 8)
1414
# to ensure having a real FQDN
1515
# (dots are not allowed in LXD container names, thus sticking to short names)
1616
- name: set proper hostname

0 commit comments

Comments
 (0)