summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathaniel Case <this.is@nathanielca.se>2020-11-09 09:02:48 -0500
committerGitHub <noreply@github.com>2020-11-09 14:02:48 +0000
commitfa49471bc7c343f282bf123bb8f419c8a00316ff (patch)
tree6a95c0ee83fa35914d939c1437808566aa096056
parente660b9c9a36a095588d9952cfe0e6396dc40d0c7 (diff)
downloadvyos.vyos-fa49471bc7c343f282bf123bb8f419c8a00316ff.tar.gz
vyos.vyos-fa49471bc7c343f282bf123bb8f419c8a00316ff.zip
Add version key to galaxy.yaml (#100)
Add version key to galaxy.yaml Reviewed-by: https://github.com/apps/ansible-zuul
-rw-r--r--changelogs/fragments/galaxy-version.yaml3
-rw-r--r--galaxy.yml3
2 files changed, 6 insertions, 0 deletions
diff --git a/changelogs/fragments/galaxy-version.yaml b/changelogs/fragments/galaxy-version.yaml
new file mode 100644
index 0000000..6d5e47e
--- /dev/null
+++ b/changelogs/fragments/galaxy-version.yaml
@@ -0,0 +1,3 @@
+---
+bugfixes:
+ - Add version key to galaxy.yaml to work around ansible-galaxy bug
diff --git a/galaxy.yml b/galaxy.yml
index b47d6ab..34146e9 100644
--- a/galaxy.yml
+++ b/galaxy.yml
@@ -10,3 +10,6 @@ namespace: vyos
readme: README.md
repository: https://github.com/ansible-collections/vyos.vyos
tags: [vyos, networking]
+# NOTE(pabelanger): We create an empty version key to keep ansible-galaxy
+# happy. We dynamically inject version info based on git information.
+version: null