Move base to setup role

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2023-03-27 16:32:09 +02:00
parent 7197ff9140
commit 6e457b2be3
17 changed files with 3 additions and 4 deletions

View File

@@ -0,0 +1,24 @@
#===================================================================================================
# ? 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.
#===================================================================================================
---
- include_vars: "{{ ansible_distribution }}.yml"
- block:
# Setup the ansible user
- include_tasks: users/ansible.yml
- include_tasks: users/noahk.yml
# Setup the sshd
- include_tasks: system/openssh.yml
# Setup the repositories for Debian based systems
- include_tasks: software/repositories.yml