From 6dabb84a089935a3a056a3ab2d395960bc7c74ef Mon Sep 17 00:00:00 2001 From: Mischa ter Smitten Date: Wed, 27 Nov 2024 17:08:04 +0100 Subject: [PATCH] Add forgotten state --- tasks/repository.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/repository.yml b/tasks/repository.yml index 7724076..764f416 100644 --- a/tasks/repository.yml +++ b/tasks/repository.yml @@ -30,7 +30,7 @@ - name: repository | add ansible.builtin.apt_repository: repo: "{{ item.type }} {{ item.url }} {{ item.component }}" - state: present + state: "{{ item.state | default('present') }}" update_cache: true mode: 0644 with_items: "{{ virtualbox_repositories }}"