cleans up support scripts

This commit is contained in:
2025-10-29 19:48:30 +01:00
parent f37bd556c3
commit dd1306766c
7 changed files with 31 additions and 2 deletions

View File

@@ -0,0 +1,34 @@
---
- name: Ensure the system is updated and potentially rebooted
hosts: all
roles:
- system_update
- name: Ensure correct authorized_keys are deployed
hosts: all
roles:
- authorized_keys
- name: Ensure ll alias is set
hosts: all
become: yes
tasks:
- name: Add ll alias to /etc/bash.bashrc
ansible.builtin.lineinfile:
path: /etc/bash.bashrc
line: "alias ll='ls -l --color=auto'"
state: present
create: yes
- name: Clean up unused Docker data
hosts: Docker_Hosts
tasks:
- name: Clean up unused Docker data
community.docker.docker_prune:
containers: true
images: true
networks: true
volumes: true
builder_cache: true
become: true