[copr][base] use ansible_distribution != 'Fedora' to detect non fedora hosts
This commit is contained in:
parent
803e9e2485
commit
f4a24f4e54
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
|
||||
- name: enable epel for non-fedora hosts
|
||||
yum: state=present pkg="epel-release"
|
||||
when: not is_fedora
|
||||
when: ansible_distribution != 'Fedora'
|
||||
|
||||
- name: copy .forward file
|
||||
copy: src="{{ _forward_src }}" dest="/root/.forward" owner=root group=root
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue