More organization and beginning to add 1337 share.

This commit is contained in:
Hyperling 2021-02-01 05:03:27 -06:00
parent 834800df8c
commit af1eee5f03
12 changed files with 34 additions and 9 deletions

View File

@ -14,12 +14,16 @@
- include: facts/user.yml
tasks:
- include: tasks/general/packages.yml
- include: tasks/general/groups.yml
- include: tasks/general/users.yml
- include: tasks/general/cron.yml
- include: tasks/general/sudo.yml
- include: tasks/general/harden.yml
- include: tasks/general/software/packages.yml
- include: tasks/general/software/harden.yml
- include: tasks/general/acct_mgmt/groups.yml
- include: tasks/general/acct_mgmt/users.yml
- include: tasks/general/acct_mgmt/sudo.yml
- include: tasks/general/acct_mgmt/keys.yml
- include: tasks/general/acct_mgmt/mounts.yml
- include: tasks/general/cron/ansible.yml
ignore_errors: yes
@ -30,13 +34,14 @@
become: true
tasks:
- include: tasks/linux/flatpaks.yml
- include: tasks/linux/software/flatpaks.yml
when: ansible_system == "Linux" and
flatpak_distro == "true"
- shell: echo "Not implemented yet. :("
when: ansible_system == "Linux" and
flatpak_distro != "true"
- include: tasks/freebsd/gui.yml
- include: tasks/freebsd/software/gui.yml
when: ansible_system == "FreeBSD"
@ -47,4 +52,4 @@
become: true
tasks:
- include: tasks/general/hardness_check_lynis.yml
- include: tasks/general/hardness_checks/lynis.yml

View File

@ -0,0 +1,10 @@
---
# Extra SSH keys
- name: Create Root's SSH Key
openssh_keypair:
path: /root/.ssh/id_rsa
- name: Join System to 1337 Share
shell:
path: ssh-copy-id -f ling@leet

View File

@ -0,0 +1,9 @@
---
# Mount shares that all systems should have.
- name: Add 1337 to fstab
blockinfile:
path: /etc/fstab
block: |
ling@leet: /mnt/leet fuse.sshfs defaults,_netdev,allow_other,delay_connect 0 0
backup: yes

View File

@ -14,4 +14,5 @@
package:
name:
- cowsay # Sorry ;)
- snapd
state: absent