lbu exclude ash_history

main
Ricard Illa 2022-08-30 14:26:42 +02:00
parent 52cbd1f6b5
commit d8cf4364c9
1 changed files with 9 additions and 0 deletions

View File

@ -17,6 +17,14 @@
- rilla - rilla
- wheel - wheel
- name: commit ansible's home to lbu
lbu:
include:
- /home/rilla
exclude:
- /home/rilla/.ash_history
when: ansible_distribution == "Alpine"
- name: create group 'ansible' - name: create group 'ansible'
group: group:
name: ansible name: ansible
@ -47,4 +55,5 @@
- /var/lib/ansible - /var/lib/ansible
exclude: exclude:
- /var/lib/ansible/.ansible - /var/lib/ansible/.ansible
- /var/lib/ansible/.ash_history
when: ansible_distribution == "Alpine" when: ansible_distribution == "Alpine"