Skip to content
Snippets Groups Projects
Commit 738d1ab2 authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

Move task to make a more logical grouping of tasks.

i.e. after the NFS mounts are setup.
parent ebf2c979
No related branches found
No related tags found
No related merge requests found
...@@ -86,6 +86,17 @@ ...@@ -86,6 +86,17 @@
- { path: /data/project, src: "gpfs.rc.uab.edu:/data/project", fstype: nfs, opts: _netdev,defaults } - { path: /data/project, src: "gpfs.rc.uab.edu:/data/project", fstype: nfs, opts: _netdev,defaults }
- { path: /data/user, src: "gpfs.rc.uab.edu:/data/user", fstype: nfs, opts: _netdev,defaults } - { path: /data/user, src: "gpfs.rc.uab.edu:/data/user", fstype: nfs, opts: _netdev,defaults }
- { path: /data/rc/apps, src: "gpfs.rc.uab.edu:/data/rc/apps", fstype: nfs, opts: _netdev,defaults } - { path: /data/rc/apps, src: "gpfs.rc.uab.edu:/data/rc/apps", fstype: nfs, opts: _netdev,defaults }
- name: Create symbolic links
ansible.builtin.file:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: root
group: root
force: yes
state: link
loop:
- { src: /local, dest: /scratch/local }
- { src: /share/apps, dest: /data/rc/apps }
- name: Add ssh key for root access - name: Add ssh key for root access
ansible.posix.authorized_key: ansible.posix.authorized_key:
user: root user: root
...@@ -124,14 +135,3 @@ ...@@ -124,14 +135,3 @@
- munge - munge
- slurmd - slurmd
- nslcd - nslcd
- name: Create symbolic links
ansible.builtin.file:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: root
group: root
force: yes
state: link
loop:
- { src: /local, dest: /scratch/local }
- { src: /share/apps, dest: /data/rc/apps }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment