summaryrefslogtreecommitdiff
path: root/root_ls_color.yml
blob: c71e139b925861c79992ecbaf5107127ade438e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
---
- name: Make sure colorful ls
  hosts: all
  gather_facts: false
  tasks:
    - name: Add line
      lineinfile:
        path: ~/.bashrc
        state: present
        search_string: "alias ls"
        line: "alias ls='ls -F --color=auto'"