Fix quotad port.
This commit is contained in:
parent
501bd47a6e
commit
38cacfe240
|
@ -19,6 +19,8 @@ Manage NFS (client) installation and configuration.
|
||||||
* **nfs_cli_pkg_state** : State of new `nfs-client` package(s) [default : `installed`].
|
* **nfs_cli_pkg_state** : State of new `nfs-client` package(s) [default : `installed`].
|
||||||
* **nfs_cli_conf_path** : Configuration file for `nfs-client` [default : `/etc/default/nfs-common`].
|
* **nfs_cli_conf_path** : Configuration file for `nfs-client` [default : `/etc/default/nfs-common`].
|
||||||
* **nfs_cli_conf_tpl** : Template used to generate the previous config file [default : `etc/default/nfs-common.j2`].
|
* **nfs_cli_conf_tpl** : Template used to generate the previous config file [default : `etc/default/nfs-common.j2`].
|
||||||
|
* **nfs_quota_conf_path** : Configuration file for `quota` (`nfs-client`) [default : `/etc/default/quota`].
|
||||||
|
* **nfs_quota_conf_tpl** : Template used to generate the previous config file [default : `etc/default/quota.j2`].
|
||||||
* **nfs_rpc_nfsd** : Port used by the NFS server [default : `2049`].
|
* **nfs_rpc_nfsd** : Port used by the NFS server [default : `2049`].
|
||||||
* **nfs_rpc_nfs_cb** : Port used by RPC callback [default : `32764`].
|
* **nfs_rpc_nfs_cb** : Port used by RPC callback [default : `32764`].
|
||||||
* **nfs_rpc_statd_bc** : Port used by RPC statd broadcast [default : `32765`].
|
* **nfs_rpc_statd_bc** : Port used by RPC statd broadcast [default : `32765`].
|
||||||
|
|
|
@ -7,6 +7,9 @@ nfs_cli_pkg_state: 'installed'
|
||||||
nfs_cli_conf_path: '/etc/default/nfs-common'
|
nfs_cli_conf_path: '/etc/default/nfs-common'
|
||||||
nfs_cli_conf_tpl: 'etc/default/nfs-common.j2'
|
nfs_cli_conf_tpl: 'etc/default/nfs-common.j2'
|
||||||
|
|
||||||
|
nfs_quota_conf_path: '/etc/default/quota'
|
||||||
|
nfs_quota_conf_tpl: 'etc/default/quota.j2'
|
||||||
|
|
||||||
# rpcbind
|
# rpcbind
|
||||||
nfs_rpc_nfsd: '2049'
|
nfs_rpc_nfsd: '2049'
|
||||||
nfs_rpc_nfs_cb: '32764'
|
nfs_rpc_nfs_cb: '32764'
|
||||||
|
|
|
@ -27,6 +27,16 @@
|
||||||
backup: true
|
backup: true
|
||||||
when: nfs_cli_manage
|
when: nfs_cli_manage
|
||||||
|
|
||||||
|
- name: CONFIG nfs-quota
|
||||||
|
template:
|
||||||
|
src: '{{ nfs_quota_conf_tpl }}'
|
||||||
|
dest: '{{ nfs_quota_conf_path }}'
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0644
|
||||||
|
backup: true
|
||||||
|
when: nfs_cli_manage
|
||||||
|
|
||||||
- name: CONFIG add rpcbind services
|
- name: CONFIG add rpcbind services
|
||||||
blockinfile:
|
blockinfile:
|
||||||
state: present
|
state: present
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
# {{ ansible_managed }}
|
||||||
|
RPCRQUOTADOPTS="-p {{ nfs_rpc_quotad }}"
|
Reference in New Issue