diff --git a/base.yml b/base.yml index 8bebd28..52bc867 100644 --- a/base.yml +++ b/base.yml @@ -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) diff --git a/roles/base/files/noahk/noahk_sudoers b/roles/base/files/noahk/noahk_sudoers index b2d10ef..711552d 100644 --- a/roles/base/files/noahk/noahk_sudoers +++ b/roles/base/files/noahk/noahk_sudoers @@ -1 +1 @@ -noahk ALL=(ALL) ALL:ALL +noahk ALL=(ALL:ALL) ALL diff --git a/roles/base/vars/Ubuntu.yml b/roles/base/vars/Ubuntu.yml new file mode 100644 index 0000000..792ace3 --- /dev/null +++ b/roles/base/vars/Ubuntu.yml @@ -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