@@ -10,21 +10,35 @@
|
||||
|
||||
---
|
||||
- name: Include distribution variables
|
||||
ansible.builtin.include_vars: "{{ ansible_distribution }}.yml"
|
||||
ansible.builtin.include_vars:
|
||||
file: "{{ ansible_distribution }}.yml"
|
||||
|
||||
# Setup the ansible user
|
||||
- name: Create ansible user
|
||||
ansible.builtin.include_tasks: users/ansible.yml
|
||||
ansible.builtin.include_tasks:
|
||||
file: users/ansible.yml
|
||||
- name: Create usable user
|
||||
ansible.builtin.include_tasks: users/noahk.yml
|
||||
ansible.builtin.include_tasks:
|
||||
file: users/noahk.yml
|
||||
|
||||
# Setup the sshd
|
||||
# Setup the sshd
|
||||
- name: Setup openssh
|
||||
ansible.builtin.include_tasks: system/openssh.yml
|
||||
ansible.builtin.include_tasks:
|
||||
file: system/openssh.yml
|
||||
|
||||
# Setup the repositories for Debian based systems
|
||||
- name: Setup Debian based repositories
|
||||
ansible.builtin.include_tasks: software/repositories.yml
|
||||
ansible.builtin.include_tasks:
|
||||
file: software/repositories.yml
|
||||
|
||||
- name: Install and configure UFW
|
||||
ansible.builtin.include_tasks: software/ufw.yml
|
||||
ansible.builtin.include_tasks:
|
||||
file: software/ufw.yml
|
||||
|
||||
- name: Install stow
|
||||
ansible.builtin.include_tasks:
|
||||
file: software/stow.yml
|
||||
|
||||
- name: Configure the usable user
|
||||
ansible.builtin.include_tasks:
|
||||
file: config/noahk.yml
|
||||
|
||||
Reference in New Issue
Block a user