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,10 +0,0 @@
|
||||
---
|
||||
# Install .deb packages on Debian and Ubuntu machines.
|
||||
|
||||
- name: Workstattion | Linux | Software | Apt Distro | .deb Files
|
||||
apt:
|
||||
deb: '{{ leet_drive }}/InstallFiles/Programs/{{ item }}.deb'
|
||||
state: present
|
||||
loop:
|
||||
- atomicwallet
|
||||
ignore_errors: yes
|
@ -1,7 +0,0 @@
|
||||
---
|
||||
# Download and install DMG files that are not yet in Homebrew.
|
||||
|
||||
# macFUSE, sshfs, balena-etcher
|
||||
|
||||
- name: Workstation | Mac OS | Software | DMGs | TBD
|
||||
shell: echo TBD
|
@ -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