Swap to role based tasks #1

Merged
noah.knegt merged 10 commits from roles into master 2023-02-28 15:49:55 +01:00
20 changed files with 318 additions and 72 deletions
Showing only changes of commit 230dde1a9b - Show all commits

View File

@@ -8,13 +8,15 @@
#===================================================================================================
---
- hosts: localhost
- hosts: ubuntu
remote_user: provision
become: true
roles:
- base
# Clean up the system
- hosts: localhost
- hosts: ubuntu
remote_user: provision
become: true
tasks:
- name: cleanup package cache (debian and ubuntu)

View File

@@ -1 +1 @@
noahk ALL=(ALL) ALL:ALL
noahk ALL=(ALL:ALL) ALL

View File

@@ -0,0 +1,14 @@
#===================================================================================================
# ? 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 all the variables for the base role, for the debian OS.
#===================================================================================================
---
sudo_group: sudo
openssh_service: ssh
openssh_package: openssh-server
ssh_port: 4422