summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts2
-rw-r--r--roles/install-custom-packages/tasks/main.yml1
-rw-r--r--vagrant-libvirt.yml2
3 files changed, 2 insertions, 3 deletions
diff --git a/hosts b/hosts
index 3fcf34c..29ebf47 100644
--- a/hosts
+++ b/hosts
@@ -10,5 +10,5 @@ localhost
[hyperv]
localhost
-[vagrant-libvirt]
+[vagrant_libvirt]
localhost
diff --git a/roles/install-custom-packages/tasks/main.yml b/roles/install-custom-packages/tasks/main.yml
index de7ef26..d3a0cbf 100644
--- a/roles/install-custom-packages/tasks/main.yml
+++ b/roles/install-custom-packages/tasks/main.yml
@@ -31,7 +31,6 @@
become: true
command: chroot {{ vyos_install_root }} apt-get -t {{ vyos_branch | default('current') }} install -y --no-install-recommends {{ lookup('file', 'files/custom_packages_list.txt') }}
- name: Install custom packages from deb files
- command:
become: true
command: chroot {{ vyos_install_root }} dpkg -i --force-depends /tmp/custom_debs/{{ item | basename }}
with_fileglob: "{{ vyos_install_root }}/tmp/custom_debs/*.deb"
diff --git a/vagrant-libvirt.yml b/vagrant-libvirt.yml
index 7be24d6..954af6f 100644
--- a/vagrant-libvirt.yml
+++ b/vagrant-libvirt.yml
@@ -1,5 +1,5 @@
---
-- hosts: vagrant-libvirt
+- hosts: vagrant_libvirt
become: True
gather_facts: False
connection: local