removed tasks

This commit is contained in:
Aritra Dalal
2026-04-20 23:45:30 +01:00
parent 77958ce155
commit aa1ccb02f5

View File

@@ -1,20 +1,19 @@
--- ---
tasks: - name: install_nfs_client_packages
- name: install_nfs_client_packages ansible.builtin.package:
ansible.builtin.package: name: "{{ 'nfs-common' if ansible_os_family == 'Debian' else 'nfs-utils' }}"
name: "{{ 'nfs-common' if ansible_os_family == 'Debian' else 'nfs-utils' }}" state: present
state: present
- name: ensure_local_mount_dir_exists - name: ensure_local_mount_dir_exists
ansible.builtin.file: ansible.builtin.file:
path: "{{ nfs_client_path }}" path: "{{ nfs_client_path }}"
state: directory state: directory
mode: '0755' mode: '0755'
- name: configure_mount_nfs - name: configure_mount_nfs
ansible.posix.mount: ansible.posix.mount:
src: "{{ nfs_server }}:{{ nfs_server_path }}" src: "{{ nfs_server }}:{{ nfs_server_path }}"
path: "{{ nfs_client_path }}" path: "{{ nfs_client_path }}"
fstype: nfs fstype: nfs
opts: rw,sync,hard,intr opts: rw,sync,hard,intr
state: mounted state: mounted