feat: initial commit
This commit is contained in:
parent
e4243a7952
commit
cf9fbd2283
13 changed files with 150 additions and 93 deletions
16
tasks/install.yaml
Normal file
16
tasks/install.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
|
||||
# install nfs_server
|
||||
- name: "installation - nfsd"
|
||||
ansible.builtin.apt:
|
||||
name: "nfs-kernel-server"
|
||||
state: "latest"
|
||||
cache_valid_time: "120"
|
||||
when: 'ansible_os_family == "Debian"'
|
||||
|
||||
# start nfs service
|
||||
- name: "service start nfs-server"
|
||||
ansible.builtin.systemd:
|
||||
name: "nfs-server"
|
||||
state: "started"
|
||||
enabled: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue