Remove Share Drives (#28)
* Add another requirement for Debian to download key. * Add setup script instead of using scm.hyperling.com. * Fix setup permissions. * Starting effort to remove share drives from script. Downsizing homelab. * Remove files which are no longer useful without mounts. * Allow initializing on alternate branches. * Fix Lynis and NMap log locations. * Remove deleted files from main. * Fix nmap filename. * Remove _name from report variables.
This commit is contained in:
@ -1,11 +1,6 @@
|
||||
---
|
||||
# Mount network shares.
|
||||
|
||||
- name: Workstation | Settings | NFS | Facts
|
||||
set_fact:
|
||||
media_folder: /mnt/media
|
||||
mount_number: 0
|
||||
|
||||
- name: Workstation | Settings | NFS | Facts (Linux)
|
||||
set_fact:
|
||||
mount_options: defaults,_netdev
|
||||
@ -42,21 +37,3 @@
|
||||
create: yes
|
||||
backup: yes
|
||||
when: ansible_system == "FreeBSD"
|
||||
|
||||
|
||||
- name: Workstation | Settings | NFS | Create Folders
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
mode: '0777'
|
||||
loop:
|
||||
- "{{ media_folder }}"
|
||||
|
||||
|
||||
- name: Workstation | Settings | NFS | Create Mount Instructions
|
||||
blockinfile:
|
||||
path: /etc/fstab
|
||||
marker: "# {mark} MANAGED BY ANSIBLE | Media"
|
||||
block: |
|
||||
htpc:/mnt/hdd_unsafe/media {{ media_folder }} nfs {{ mount_options }} {{ mount_number }} {{ mount_number }}
|
||||
backup: yes
|
||||
|
Reference in New Issue
Block a user