blob: 93a0e77b682bcc295b3442262d49b64c5fe0310e [file] [log] [blame]
Peter Pentchev8e3d2952022-11-10 18:31:17 +02001- 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 Pentchev1a318ae2022-11-11 11:24:39 +020014
15 - name: sp-dump-ansible-facts
16 ansible.builtin.debug:
17 var: hostvars
18
Peter Pentchev7b8acdc2022-11-11 11:32:02 +020019- hosts: localhost
20 connection: local
21 tasks:
Peter Pentchev18f67c62022-11-14 14:09:09 +020022 - name: ctrl-sp-whoami-hostname
23 shell:
24 cmd: hostname
25
26 - name: ctrl-sp-whoami-id
27 shell:
28 cmd: id
29
30 - name: ctrl-sp-whereami-pwd
31 shell:
32 cmd: pwd
33
Peter Pentcheva65bff62022-11-14 14:14:11 +020034 - name: ctrl-sp-python3
35 shell:
36 cmd: python3 --version
37
Peter Pentchev18f67c62022-11-14 14:09:09 +020038 - name: ctrl-sp-dump-ansible-facts
39 ansible.builtin.debug:
40 var: hostvars
41
42 - name: ctrl-sp-storprep
Peter Pentchev1a318ae2022-11-11 11:24:39 +020043 shell:
Peter Pentchev7cb1df62022-11-14 14:00:12 +020044 cmd: /var/lib/storprep/bin/storprep -n lab-charmed-testing-storage -s lab-vlan400 -- {{ hostvars['tempest']['nodepool']['external_id'] }}
Peter Pentchev1a318ae2022-11-11 11:24:39 +020045
Peter Pentchev7b8acdc2022-11-11 11:32:02 +020046- hosts: all
47 tasks:
Peter Pentchev1a318ae2022-11-11 11:24:39 +020048 - name: sp-processes
49 shell:
50 cmd: ps awwfux
51
52 - name: sp-processes-pstree
53 shell:
54 cmd: pstree -l