diff --git a/deploy.yml b/deploy.yml index f485a63..e8ec7aa 100644 --- a/deploy.yml +++ b/deploy.yml @@ -120,8 +120,11 @@ - snitch - suricata become: true - roles: - - lbu_commit + post_tasks: + - name: lbu commit + lbu: + commit: true + when: ansible_distribution == "Alpine" and alpine_mode in ["diskless", "data"] - name: mount ro hosts: diff --git a/roles/lbu_commit/tasks/main.yml b/roles/lbu_commit/tasks/main.yml deleted file mode 100644 index 01397e5..0000000 --- a/roles/lbu_commit/tasks/main.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- name: lbu commit - lbu: - commit: true - when: ansible_distribution == "Alpine" and alpine_mode in ["diskless", "data"]