summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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