Skip to content
Snippets Groups Projects
Commit 2eb17b20 authored by Shahaan Ayyub's avatar Shahaan Ayyub
Browse files

Removed accidentally merged files

parent 6bc4203f
No related branches found
No related tags found
No related merge requests found
---
- include: mountFileSystem.yml
---
-
mount: "name={{ item.0 }} src={{ nfs_server }}:{{ item.1 }} fstype=nfs opts=vers=3,noatime,rsize=16384,wsize=16384,hard,intr,tcp,nolock state=mounted"
name: "Mounting NFS mounts"
with_together:
- destDir
- srcDir
---
srcDir: ['/mnt']
destDir: ['/mnt/test-nfs']
---
-
name: "Run rpcbind service"
service: "name=rpcbind state=started"
---
- include: yumPackages.yml
---
-
name: "Install nfs-utils"
with_items:
- bind-utils
- nfs-utils
yum: "name={{ item }} state=latest"
---
- include: startServer.yml
---
-
name: "Starting rpcbind"
service: "name=rpcbind state=started"
-
name: "Copying /etc/exports template"
template: "src=exports.j2 dest=/etc/exports mode=0644 owner=root"
-
name: "Start the Server"
service: "name=nfs state=started"
/mnt {{ nfs_network }}(rw,sync,root_squash)
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [3876421698:11303590692860]
:OpenVPN-INPUT - [0:0]
-A INPUT -i tun0 -j OpenVPN-INPUT
-A FORWARD -j OpenVPN-INPUT
# Start adding the Rules
#-A OpenVPN-INPUT -p tcp -m tcp -i tun0 -s {{ nfs_network }} -j ACCEPT
-P INPUT -i tun0 -j ACCEPT
COMMIT
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