mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 02:20:51 +08:00
[copr][base] use ansible_distribution != 'Fedora' to detect non fedora hosts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user