summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuya Kusakabe <yuya.kusakabe@gmail.com>2022-03-16 09:39:42 +0900
committerGitHub <noreply@github.com>2022-03-16 09:39:42 +0900
commitaf02e37a4701480393c233c272be5b11074db345 (patch)
treefaf9a1aa8566cf3776233837da19b7e2d659486c
parent5574d61e0a8c5cb7f3ea47077f3f501cca22370b (diff)
parent2354faf934d635ff225fd55f14f59e4af0d9939b (diff)
downloadvyos-vm-images-af02e37a4701480393c233c272be5b11074db345.tar.gz
vyos-vm-images-af02e37a4701480393c233c272be5b11074db345.zip
Merge pull request #24 from hakwerk/fix-ansible-warnings
T4298: solve ansible warnings
-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