Run storprep in the sp-init task
Change-Id: Id9af4e98f05c21673dd969942cbe65e9017d7db8
diff --git a/playbooks/sp-init.yaml b/playbooks/sp-init.yaml
index 59ac2cc..4b8db46 100644
--- a/playbooks/sp-init.yaml
+++ b/playbooks/sp-init.yaml
@@ -11,3 +11,20 @@
- name: sp-whereami-pwd
shell:
cmd: pwd
+
+ - name: sp-dump-ansible-facts
+ ansible.builtin.debug:
+ var: hostvars
+
+ - name: sp-storprep
+ host: localhost
+ shell:
+ cmd: /var/lib/storprep/bin/storprep -n lab-charmed-testing-storage -s lab-vlan400 -- {{ hostvars['tempest']['ansible_facts']['_zuul_frozen']['nodepool']['external_id'] }}
+
+ - name: sp-processes
+ shell:
+ cmd: ps awwfux
+
+ - name: sp-processes-pstree
+ shell:
+ cmd: pstree -l