Update
This commit is contained in:
parent
7be0a6074d
commit
9bc81f92b4
9 changed files with 23 additions and 21 deletions
|
@ -1 +0,0 @@
|
|||
ansible.neuro.uni-bremen.de ansible_user=ansibleuser
|
1
machines/egg
Normal file
1
machines/egg
Normal file
|
@ -0,0 +1 @@
|
|||
egg.neuro.uni-bremen.de ansible_user=ansibleuser
|
|
@ -1 +0,0 @@
|
|||
10.10.0.5 ansible_user=ansibleuser
|
1
machines/portainer
Normal file
1
machines/portainer
Normal file
|
@ -0,0 +1 @@
|
|||
portainer.neuro.uni-bremen.de ansible_user=ansibleuser
|
1
machines/survivor
Normal file
1
machines/survivor
Normal file
|
@ -0,0 +1 @@
|
|||
survivor.neuro.uni-bremen.de ansible_user=ansibleuser
|
|
@ -4,25 +4,6 @@
|
|||
become: true
|
||||
|
||||
tasks:
|
||||
- name: remove other files
|
||||
include_tasks: yaml_sub/myrepo_clean.yaml
|
||||
- name: update file myrepo.repo
|
||||
import_tasks: yaml_sub/myrepo_data.yaml
|
||||
|
||||
- name: install nfs tools
|
||||
dnf:
|
||||
name: nfs-utils,nfs-utils-coreos,nfsv4-client-utils,rpcbind
|
||||
state: present
|
||||
update_cache: true
|
||||
skip_broken: true
|
||||
nobest: false
|
||||
allowerasing: true
|
||||
|
||||
- name: Make sure rpcbind service unit is started
|
||||
systemd_service:
|
||||
enabled: true
|
||||
state: started
|
||||
name: rpcbind
|
||||
|
||||
- name: mount_info
|
||||
include_tasks: yaml_sub/mount_info.yaml
|
||||
|
|
1
scan_workstations_nmap.sh
Normal file
1
scan_workstations_nmap.sh
Normal file
|
@ -0,0 +1 @@
|
|||
nmap -sn 10.10.10.0/24
|
|
@ -70,6 +70,15 @@
|
|||
path: /data_1
|
||||
opts: rw,sync,hard,nolock
|
||||
boot: true
|
||||
state: absent
|
||||
fstype: nfs
|
||||
|
||||
- name: Mount /data_1
|
||||
ansible.posix.mount:
|
||||
src: 10.10.1.51:/volume1/data_1
|
||||
path: /data_1
|
||||
opts: rw,sync,hard,nolock
|
||||
boot: true
|
||||
state: mounted
|
||||
fstype: nfs
|
||||
|
||||
|
@ -79,6 +88,16 @@
|
|||
path: /web
|
||||
opts: rw,sync,hard,nolock
|
||||
boot: true
|
||||
state: absent
|
||||
fstype: nfs
|
||||
|
||||
|
||||
- name: Mount /web
|
||||
ansible.posix.mount:
|
||||
src: 10.10.1.51:/volume1/web
|
||||
path: /web
|
||||
opts: rw,sync,hard,nolock
|
||||
boot: true
|
||||
state: mounted
|
||||
fstype: nfs
|
||||
|
||||
|
|
Loading…
Reference in a new issue