Make this task work with rhel and fedora releng hosts.
This commit is contained in:
parent
e01a829c2d
commit
061b5eb734
1 changed files with 11 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue