ensures ll alias on host
This commit is contained in:
@@ -9,6 +9,18 @@
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user