mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-08 09:04:42 +02:00
feat: initial commit — Ansible roles storage-01/gpu-01 opérationnels
This commit is contained in:
commit
b3fce8af5d
70 changed files with 2688 additions and 0 deletions
14
ansible/roles/nfs_server/handlers/main.yml
Normal file
14
ansible/roles/nfs_server/handlers/main.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- name: Rebuild initramfs
|
||||
ansible.builtin.command: dracut --force
|
||||
listen: Rebuild initramfs
|
||||
|
||||
- name: Reload exports
|
||||
ansible.builtin.command: exportfs -ra
|
||||
listen: Reload exports
|
||||
|
||||
- name: Restart nfs-server
|
||||
ansible.builtin.systemd:
|
||||
name: nfs-server
|
||||
state: restarted
|
||||
listen: Restart nfs-server
|
||||
Loading…
Add table
Add a link
Reference in a new issue