From 3dba9426b4c8a997bd60b46b9bf7bf745af297e4 Mon Sep 17 00:00:00 2001 From: Patrick Toal Date: Tue, 14 Aug 2018 12:10:29 -0400 Subject: [PATCH] Spike for ovirt guest agent --- hello.yml | 10 ---------- site.retry | 1 + site.yml | 15 +++++++++++++++ 3 files changed, 16 insertions(+), 10 deletions(-) delete mode 100644 hello.yml create mode 100644 site.retry create mode 100644 site.yml diff --git a/hello.yml b/hello.yml deleted file mode 100644 index 12d03b6..0000000 --- a/hello.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- -- name: Install /tmp/hello.txt - hosts: all - - tasks: - - name: Install hello file - copy: - src: files/hello.txt - dest: /tmp/hello.txt - diff --git a/site.retry b/site.retry new file mode 100644 index 0000000..44edcb9 --- /dev/null +++ b/site.retry @@ -0,0 +1 @@ +minecraft1.lab.toal.ca diff --git a/site.yml b/site.yml new file mode 100644 index 0000000..d4bb34e --- /dev/null +++ b/site.yml @@ -0,0 +1,15 @@ +--- +# This is mostly just a spike at this point. +# This will eventually be refactored into roles. +- name: Virtual Machine setup + hosts: all + become: true + + tasks: + - name: Install ovirt-guest-agent on RHV Guests + yum: + name: ovirt-guest-agent + state: latest + when: ansible_virtualization_type == "RHEV" + +