Skip to content

Commit

Permalink
Add forgotten state
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Nov 27, 2024
1 parent f59187c commit fa3790d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/repository.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
- name: repository | add

Check warning on line 30 in tasks/repository.yml

View workflow job for this annotation

GitHub Actions / Lint

name[casing]

All names should start with an uppercase letter.
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 }}"
Expand Down
2 changes: 2 additions & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ virtualbox_repositories:
- type: 'deb [arch=amd64]'
url: "https://download.virtualbox.org/virtualbox/debian {{ ansible_distribution_release }}"
component: contrib
state: absent
- type: 'deb [arch=amd64]'
url: "http://download.virtualbox.org/virtualbox/debian {{ ansible_distribution_release }}"
component: contrib
state: absent

virtualbox_dependencies_pre:
- software-properties-common
Expand Down

0 comments on commit fa3790d

Please sign in to comment.