diff --git a/roles/node_exporter/molecule/alternative/prepare.yml b/roles/node_exporter/molecule/alternative/prepare.yml index b56b97c1d..900c61a18 100644 --- a/roles/node_exporter/molecule/alternative/prepare.yml +++ b/roles/node_exporter/molecule/alternative/prepare.yml @@ -54,3 +54,17 @@ csr_path: "/tmp/tls.csr" privatekey_path: "/tmp/tls.key" provider: selfsigned + + - name: Create test mount directory + ansible.builtin.file: + path: /home/test + state: directory + owner: root + group: root + mode: 0755 + + - name: Mount test filesystem + ansible.posix.mount: + path: /home/test + src: tmpfs + fstype: tmpfs