Files
ansible-automations/roles/setup/tasks/main.yml
2023-03-27 16:32:09 +02:00

25 lines
902 B
YAML

#===================================================================================================
# ? 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