Update to support deb11
- Remove apt_key, switch to copying dearmored key
- Add ability to globally install npm modules
Metadata fixes for ansible galaxy support
Change-Id: Ic3873cf0e491cb91e3e6891f1f85409901e38f8d
diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml
index f556f9e..205828f 100644
--- a/molecule/default/molecule.yml
+++ b/molecule/default/molecule.yml
@@ -14,8 +14,8 @@
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
- - name: "debian-10-priv"
- image: "quay.io/paulfantom/molecule-systemd:debian-10"
+ - name: "debian-11-priv"
+ image: "onfinfra/molecule-systemd:debian-11"
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
diff --git a/molecule/default/verify.yml b/molecule/default/verify.yml
index 2c81204..0f916c0 100644
--- a/molecule/default/verify.yml
+++ b/molecule/default/verify.yml
@@ -10,12 +10,13 @@
- name: Check installed Node.js version string
command:
- cmd: "nodejs --version"
+ cmd: "node --version"
register: nodejs_version
tags:
- skip_ansible_lint # info gathering
- - debug:
+ - name: Check installed Node.js version number
+ debug:
var: nodejs_version
- name: Assert that installed Node.js version matches version string