Fix the yamllint errors
Some checks failed
continuous-integration/drone Build is failing

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2023-03-30 14:28:10 +02:00
parent adc69ecc5b
commit aa9e658986
15 changed files with 38 additions and 91 deletions

View File

@@ -1,4 +1,4 @@
#===================================================================================================
# ===================================================================================================
# ? ABOUT
# @author : Noah Knegt
# @email : personal@noahknegt.com
@@ -6,19 +6,17 @@
# @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 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
# Setup the sshd
- include_tasks: system/openssh.yml
# Setup the repositories for Debian based systems
- include_tasks: software/repositories.yml

View File

@@ -1,11 +1,11 @@
#===================================================================================================
# ===================================================================================================
# ? ABOUT
# @author : Noah Knegt
# @email : personal@noahknegt.com
# @repo : https://git.noahknegt.com/noah.knegt/ansible-automations
# @createdOn : 27-02-2023
# @description : This will contain all the default software for the machines.
#===================================================================================================
# ===================================================================================================
---
- name: Install aptitude and software-properties-common

View File

@@ -1,11 +1,11 @@
#===================================================================================================
# ===================================================================================================
# ? ABOUT
# @author : Noah Knegt
# @email : personal@noahknegt.com
# @repo : https://git.noahknegt.com/noah.knegt/ansible-automations
# @createdOn : 27-02-2023
# @description : This will setup the ssh server on the machine.
#===================================================================================================
# ===================================================================================================
---
- name: Install or update openssh

View File

@@ -1,11 +1,11 @@
#===================================================================================================
# ===================================================================================================
# ? ABOUT
# @author : Noah Knegt
# @email : personal@noahknegt.com
# @repo : https://git.noahknegt.com/noah.knegt/ansible-automations
# @createdOn : 27-02-2023
# @description : It contains the tasks to properly configure the ansible user.
#===================================================================================================
# ===================================================================================================
---
- name: Add ansible group

View File

@@ -1,11 +1,11 @@
#===================================================================================================
# ===================================================================================================
# ? ABOUT
# @author : Noah Knegt
# @email : personal@noahknegt.com
# @repo : https://git.noahknegt.com/noah.knegt/ansible-automations
# @createdOn : 27-02-2023
# @description : This will setup the normal user on the machine.
#===================================================================================================
# ===================================================================================================
---
- name: Create the group
@@ -38,7 +38,7 @@
group: noahk
mode: 0700
with_items:
- { dir: /home/noahk/.ssh }
- dir: /home/noahk/.ssh
- name: Copy ssh public key
authorized_key:

View File

@@ -1,11 +1,11 @@
#===================================================================================================
# ===================================================================================================
# ? 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 variables for arch based distros.
#===================================================================================================
# ===================================================================================================
---
sudo_group: wheel

View File

@@ -1,11 +1,11 @@
#===================================================================================================
# ===================================================================================================
# ? 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

View File

@@ -1,11 +1,11 @@
#===================================================================================================
# ===================================================================================================
# ? 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

View File

@@ -1,11 +1,11 @@
#===================================================================================================
# ===================================================================================================
# ? 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 variables for the base role tasks.
#===================================================================================================
# ===================================================================================================
---
ansible_password: '$6$8eLzx6DNI/aamHAp$ZJK3kpbXDaMDUxuCFzRbbYL78aqdDnRRd1zbQPO2ED.pQQdcuAEnwBI2Vf3a36j7I5ED4STx6TLQnB8RiY3Vw/'