Adjust services for rhel buildhw
This commit is contained in:
parent
902afe8a72
commit
77c7ea987f
1 changed files with 11 additions and 1 deletions
|
@ -168,10 +168,20 @@
|
||||||
- kmod-hfsplus
|
- kmod-hfsplus
|
||||||
when: is_rhel == 'True'
|
when: is_rhel == 'True'
|
||||||
|
|
||||||
- name: enable services and start them
|
- name: enable services and start them on Fedora systems
|
||||||
service: name={{ item }} enabled=true state=started
|
service: name={{ item }} enabled=true state=started
|
||||||
with_items:
|
with_items:
|
||||||
- ntpd
|
- ntpd
|
||||||
- nfs-lock
|
- nfs-lock
|
||||||
- nfs-idmap
|
- nfs-idmap
|
||||||
- nfs-mountd
|
- nfs-mountd
|
||||||
|
when: ansible_distribution == 'Fedora'
|
||||||
|
|
||||||
|
- name: enable services and start them on RHEL systems
|
||||||
|
service: name={{ item }} enabled=true state=started
|
||||||
|
with_items:
|
||||||
|
- rpcbind
|
||||||
|
- ntpd
|
||||||
|
- nfslock
|
||||||
|
- nfs
|
||||||
|
when: ansible_distribution == 'RedHat'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue