I needed this for ubuntu as well as rhel 7. So, put it in a place
where they can both use the same code.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
--- /dev/null
+---
+- name: Upload a dummy nfs export so that the nfs kernel server starts.
+ template:
+ src: exports
+ dest: /etc/exports
+ owner: root
+ group: root
+ mode: 0644
+ notify:
+ - start nfs-server
---
-- name: Upload a dummy nfs export so that the nfs kernel server starts.
- template:
- src: ../../templates/exports
- dest: /etc/exports
- owner: root
- group: root
- mode: 0644
- notify:
- - start nfs-server
+- include: ../nfs.yml
tags:
- nfs
# isn't found the file is left unchanged
backrefs: yes
state: present
+
+- include: nfs.yml
+ tags:
+ - nfs
---
ntp_service_name: ntp
ssh_service_name: ssh
+nfs_service: nfs-kernel-server
ceph_packages:
- ceph