summaryrefslogtreecommitdiff
path: root/root_ls_color.yml
diff options
context:
space:
mode:
Diffstat (limited to 'root_ls_color.yml')
-rw-r--r--root_ls_color.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/root_ls_color.yml b/root_ls_color.yml
new file mode 100644
index 0000000..c40232b
--- /dev/null
+++ b/root_ls_color.yml
@@ -0,0 +1,11 @@
+- name: Make sure colorful ls
+ hosts: internal
+ gather_facts: false
+ tasks:
+ - name: Add line
+ lineinfile:
+ path: ~/.bashrc
+ state: present
+ search_string: "alias ls='ls --color=auto'"
+ line: "alias ls='ls -F --color=auto'"
+