Enable extrepo
This commit is contained in:
parent
2f6db27a38
commit
78f558feaf
2 changed files with 12 additions and 10 deletions
|
|
@ -11,6 +11,12 @@
|
|||
register: extrepo_update
|
||||
changed_when: "'No updates' not in extrepo_update.stdout"
|
||||
|
||||
- name: Enable VirtualBox repository using extrepo
|
||||
ansible.builtin.command:
|
||||
cmd: extrepo enable virtualbox
|
||||
register: extrepo_enable
|
||||
changed_when: "'enabled' in extrepo_enable.stdout"
|
||||
|
||||
- name: Update package cache
|
||||
ansible.builtin.apt:
|
||||
update_cache: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue