base: set hostname on all hosts, not just rhel7.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
abf757a7d7
commit
1d68465ff2
1 changed files with 1 additions and 2 deletions
|
@ -127,9 +127,8 @@
|
|||
- base
|
||||
when: ansible_distribution_major_version|int > 29 and ansible_distribution == 'Fedora' and ansible_cmdline.ostree is not defined
|
||||
|
||||
- name: make sure hostname is set right on rhel7 hosts
|
||||
- name: make sure hostname is set right on all hosts
|
||||
hostname: name="{{inventory_hostname}}"
|
||||
when: ansible_distribution_major_version|int == 7 and ansible_distribution == 'RedHat'
|
||||
|
||||
#
|
||||
# We set builders root password in the koji_builder role, so do not set those here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue