Peter Pentchev | 8e3d295 | 2022-11-10 18:31:17 +0200 | [diff] [blame] | 1 | - hosts: all |
| 2 | tasks: |
| 3 | - name: sp-whoami-hostname |
| 4 | shell: |
| 5 | cmd: hostname |
| 6 | |
| 7 | - name: sp-whoami-id |
| 8 | shell: |
| 9 | cmd: id |
| 10 | |
| 11 | - name: sp-whereami-pwd |
| 12 | shell: |
| 13 | cmd: pwd |
Peter Pentchev | 1a318ae | 2022-11-11 11:24:39 +0200 | [diff] [blame^] | 14 | |
| 15 | - name: sp-dump-ansible-facts |
| 16 | ansible.builtin.debug: |
| 17 | var: hostvars |
| 18 | |
| 19 | - name: sp-storprep |
| 20 | host: localhost |
| 21 | shell: |
| 22 | cmd: /var/lib/storprep/bin/storprep -n lab-charmed-testing-storage -s lab-vlan400 -- {{ hostvars['tempest']['ansible_facts']['_zuul_frozen']['nodepool']['external_id'] }} |
| 23 | |
| 24 | - name: sp-processes |
| 25 | shell: |
| 26 | cmd: ps awwfux |
| 27 | |
| 28 | - name: sp-processes-pstree |
| 29 | shell: |
| 30 | cmd: pstree -l |