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,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 apply the base configuration to the list of machines.
#===================================================================================================
# ===================================================================================================
---
- hosts: datacenter
@@ -20,12 +20,12 @@
tasks:
- name: cleanup package cache (debian and ubuntu)
apt:
autoclean: yes
autoclean: true
changed_when: false
when: ansible_os_family == "Debian"
- name: autoremove packages (debian and ubuntu)
apt:
autoremove: yes
purge: yes
autoremove: true
purge: true
when: ansible_os_family == "Debian"