From b91f816fe1f35323241e8dd9b3d4d462aed4e953 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 6 Oct 2018 12:27:59 +0100 Subject: [PATCH] Remove aur user right at the end --- dotfiles.yml | 2 ++ tasks/cleanup.yml | 3 +++ tasks/packages.yml | 4 ---- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 tasks/cleanup.yml diff --git a/dotfiles.yml b/dotfiles.yml index 6ddb3cd..c11ee24 100644 --- a/dotfiles.yml +++ b/dotfiles.yml @@ -22,3 +22,5 @@ when: ansible_fqdn == "TOO-Work" - import_tasks: tasks/laptop.yml when: ansible_fqdn == "TOO-Laptop" + + - import_tasks: tasks/cleanup.yml diff --git a/tasks/cleanup.yml b/tasks/cleanup.yml new file mode 100644 index 0000000..d893a7f --- /dev/null +++ b/tasks/cleanup.yml @@ -0,0 +1,3 @@ +- user: + name: aur_builder + state: absent diff --git a/tasks/packages.yml b/tasks/packages.yml index 6b46a37..f36fd61 100644 --- a/tasks/packages.yml +++ b/tasks/packages.yml @@ -167,7 +167,3 @@ - 'zsh-completions' - 'zsh-doc' - 'zsh-syntax-highlighting' - -- user: - name: aur_builder - state: absent