commit eb121c0c80d59af42c96266c8090398196ea8baf parent 0a4aab041098584b9b75485e68209cd254f7ea92 Author: Vincent Demeester <vincent@sbr.pm> Date: Fri, 28 Jun 2019 23:07:21 +0200 ansible: add virtualization Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | playbook.yml | | | 1 | + |
A | roles/virtualization/tasks/main.yml | | | 11 | +++++++++++ |
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/playbook.yml b/playbook.yml @@ -6,6 +6,7 @@ - desktop - { role: laptop, when: ansible_form_factor == 'Notebook' } - gcloud + - virtualization - dev - wireguard diff --git a/roles/virtualization/tasks/main.yml b/roles/virtualization/tasks/main.yml @@ -0,0 +1,11 @@ +--- +- name: install the 'Virtualization' package group + dnf: + name: '@Virtualization' + state: present +- name: Install virtualization essentials + become: yes + package: name={{item}} state=present + with_items: + - guestfs-browser + - libguestfs-tools