diff --git a/group_vars/all b/group_vars/all index 54abf5b..cc16370 100644 --- a/group_vars/all +++ b/group_vars/all @@ -64,3 +64,5 @@ racktables_dbpass: chee6iechuz1EghuheiD snmp_allowed: - 172.23.2.5 - 172.23.2.6 + +virtual_machine: true diff --git a/host_vars/bacon.binary.kitchen b/host_vars/bacon.binary.kitchen index aa0b7f6..1dc6e13 100644 --- a/host_vars/bacon.binary.kitchen +++ b/host_vars/bacon.binary.kitchen @@ -10,3 +10,5 @@ ntp_peers: slapd_hostname: ldap1.binary.kitchen slapd_role: slave + +virtual_machine: false diff --git a/roles/common/tasks/Debian.yml b/roles/common/tasks/Debian.yml index b488e81..e1ae82b 100644 --- a/roles/common/tasks/Debian.yml +++ b/roles/common/tasks/Debian.yml @@ -35,6 +35,10 @@ - vim-nox - zsh +- name: Install qemu-agent on VMs + apt: name=qemu-guest-agent + when: virtual_machine == true + - name: Configure misc software copy: src={{ item.src }} dest={{ item.dest }} with_items: