35 lines
757 B
YAML
35 lines
757 B
YAML
---
|
|
- 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 -la --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
|