From d8cf4364c97653eb195c503b071943a5e2961e7f Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Tue, 30 Aug 2022 14:26:42 +0200 Subject: [PATCH] lbu exclude ash_history --- roles/basic/tasks/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/basic/tasks/main.yml b/roles/basic/tasks/main.yml index bf6663d..2dd327c 100644 --- a/roles/basic/tasks/main.yml +++ b/roles/basic/tasks/main.yml @@ -17,6 +17,14 @@ - rilla - 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' group: name: ansible @@ -47,4 +55,5 @@ - /var/lib/ansible exclude: - /var/lib/ansible/.ansible + - /var/lib/ansible/.ash_history when: ansible_distribution == "Alpine"