Good ol' organization. Tasks folder started getting too busy, and still kind of is.
This commit is contained in:
parent
47be3301e1
commit
0f0f9a3aeb
18
local.yml
18
local.yml
@ -14,12 +14,12 @@
|
|||||||
- include: facts/user.yml
|
- include: facts/user.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: tasks/packages.yml
|
- include: tasks/general/packages.yml
|
||||||
- include: tasks/groups.yml
|
- include: tasks/general/groups.yml
|
||||||
- include: tasks/users.yml
|
- include: tasks/general/users.yml
|
||||||
- include: tasks/cron.yml
|
- include: tasks/general/cron.yml
|
||||||
- include: tasks/sudo.yml
|
- include: tasks/general/sudo.yml
|
||||||
- include: tasks/harden.yml
|
- include: tasks/general/harden.yml
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
|
|
||||||
@ -30,13 +30,13 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: tasks/flatpaks.yml
|
- include: tasks/linux/flatpaks.yml
|
||||||
when: ansible_system == "Linux" and
|
when: ansible_system == "Linux" and
|
||||||
flatpak_distro == yes
|
flatpak_distro == yes
|
||||||
- shell: echo "Not implemented yet. :("
|
- shell: echo "Not implemented yet. :("
|
||||||
when: ansible_system == "Linux" and
|
when: ansible_system == "Linux" and
|
||||||
flatpak_distro == no
|
flatpak_distro == no
|
||||||
- include: tasks/freebsd_gui.yml
|
- include: tasks/freebsd/gui.yml
|
||||||
when: ansible_system == "FreeBSD"
|
when: ansible_system == "FreeBSD"
|
||||||
|
|
||||||
|
|
||||||
@ -47,4 +47,4 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: tasks/hardness_check_lynis.yml
|
- include: tasks/general/hardness_check_lynis.yml
|
@ -7,4 +7,11 @@
|
|||||||
- htop
|
- htop
|
||||||
- neofetch
|
- neofetch
|
||||||
- "{{ sshfs }}"
|
- "{{ sshfs }}"
|
||||||
|
- locate
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Remove Repo Software
|
||||||
|
package:
|
||||||
|
name:
|
||||||
|
- cowsay # Sorry ;)
|
||||||
state: present
|
state: present
|
@ -7,7 +7,7 @@
|
|||||||
name: ansible
|
name: ansible
|
||||||
comment: Ansible
|
comment: Ansible
|
||||||
system: yes
|
system: yes
|
||||||
|
|
||||||
|
|
||||||
# Superuser
|
# Superuser
|
||||||
- name: Create User Hyperling
|
- name: Create User Hyperling
|
||||||
@ -19,5 +19,4 @@
|
|||||||
append: yes
|
append: yes
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
create_home: yes
|
create_home: yes
|
||||||
skeleton: yes
|
generate_ssh_key: yes
|
||||||
generate_ssh_key: yes
|
|
Loading…
x
Reference in New Issue
Block a user