summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--installer-ansible.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/installer-ansible.yml b/installer-ansible.yml
index 5e56d32..22a9a73 100644
--- a/installer-ansible.yml
+++ b/installer-ansible.yml
@@ -112,6 +112,12 @@
apt:
name: vmdb2
+ - name: "install file with version info"
+ copy:
+ content: |
+ {{ lookup('pipe', 'git describe --dirty') }}
+ dest: /etc/v-i-version
+
vars:
hostname: v-i
ansible_python_interpreter: /usr/bin/python3