This commit is contained in:
David Rotermund 2024-04-18 10:48:34 +02:00
parent 7be0a6074d
commit 9bc81f92b4
9 changed files with 23 additions and 21 deletions

View file

@ -1 +0,0 @@
ansible.neuro.uni-bremen.de ansible_user=ansibleuser

1
machines/egg Normal file
View file

@ -0,0 +1 @@
egg.neuro.uni-bremen.de ansible_user=ansibleuser

View file

@ -1 +0,0 @@
10.10.0.5 ansible_user=ansibleuser

1
machines/portainer Normal file
View file

@ -0,0 +1 @@
portainer.neuro.uni-bremen.de ansible_user=ansibleuser

1
machines/survivor Normal file
View file

@ -0,0 +1 @@
survivor.neuro.uni-bremen.de ansible_user=ansibleuser

View file

@ -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

View file

@ -0,0 +1 @@
nmap -sn 10.10.10.0/24

View file

@ -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