# =================================================================================================== # ? ABOUT # @author : Noah Knegt # @email : personal@noahknegt.com # @repo : https://git.noahknegt.com/noah.knegt/ansible-automations # @createdOn : 27-02-2023 # @description : This file contains the tasks for the base role, this role will be applied to # all machines. # =================================================================================================== --- - name: Include distribution variables ansible.builtin.include_vars: "{{ ansible_distribution }}.yml" # Setup the ansible user - name: Create ansible user ansible.builtin.include_tasks: users/ansible.yml - name: Create usable user ansible.builtin.include_tasks: users/noahk.yml # Setup the sshd - name: Setup openssh ansible.builtin.include_tasks: system/openssh.yml # Setup the repositories for Debian based systems - name: Setup Debian based repositories ansible.builtin.include_tasks: software/repositories.yml - name: Install and configure UFW ansible.builtin.include_tasks: software/ufw.yml