mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Make this task work with rhel and fedora releng hosts.
This commit is contained in:
@@ -109,11 +109,21 @@
|
||||
tags:
|
||||
- configs
|
||||
|
||||
- name: enable nfs-related services and run them
|
||||
- name: enable nfs-related services and run them (fedora)
|
||||
action: service name={{ item }} enabled=true state=started
|
||||
with_items:
|
||||
- nfs-idmapd
|
||||
- nfs-lock
|
||||
when: ansible_distribution == 'Fedora'
|
||||
|
||||
- name: enable nfs-related services and run them (rhel)
|
||||
action: service name={{ item }} enabled=true state=started
|
||||
with_items:
|
||||
- rpcidmapd
|
||||
- rpcbind
|
||||
- nfs
|
||||
- nfslock
|
||||
when: ansible_distribution == 'RedHat'
|
||||
|
||||
- name: route to netapp network
|
||||
action: copy src="{{ files }}/../roles/koji_builder/files/route-eth1" dest=/etc/sysconfig/network-scripts/route-eth1
|
||||
|
||||
Reference in New Issue
Block a user