nfs_client: Rename role
This commit is contained in:
parent
0702b45dad
commit
5b2ccd99c6
8 changed files with 6 additions and 6 deletions
31
roles/nfs_client/tasks/main.yml
Normal file
31
roles/nfs_client/tasks/main.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
- name: install nfs packages
|
||||
package:
|
||||
name: nfs-utils
|
||||
state: installed
|
||||
|
||||
- name: configure idmapd
|
||||
lineinfile:
|
||||
path: /etc/idmapd.conf
|
||||
regexp: '^#?Domain\s*=.*'
|
||||
line: "Domain = {{ mail_domain }}"
|
||||
|
||||
- name: disable sending raw uid/gid to nfs server
|
||||
copy:
|
||||
dest: /etc/modprobe.d/nfs.conf
|
||||
content: "options nfs nfs4_disable_idmapping=0\n"
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
|
||||
- name: allow gssproxy to connect kerberos servers over https
|
||||
seboolean:
|
||||
name: nis_enabled
|
||||
state: true
|
||||
persistent: true
|
||||
|
||||
- name: enable rpc-gssd services
|
||||
service:
|
||||
name: rpc-gssd
|
||||
state: started
|
||||
enabled: true
|
Loading…
Add table
Add a link
Reference in a new issue