blob: 56d57295dd1410802a76f7497c6cda05d2137243 [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:
Peter Pentchev03989dd2022-11-15 10:35:42 +020024 cmd: hostname || true
Peter Pentchev18f67c62022-11-14 14:09:09 +020025
Peter Pentchevff460a52022-11-15 11:47:40 +020026 - name: ctrl-sp-fetch-storprep
Peter Pentchev18f67c62022-11-14 14:09:09 +020027 shell:
Peter Pentchevff460a52022-11-15 11:47:40 +020028 cmd: curl -C - -o storprep-bootstrap.sh -- https://spfactory.storpool.com/sp-osci/storprep-bootstrap-sh.txt
Peter Pentchev18f67c62022-11-14 14:09:09 +020029
Peter Pentchevff460a52022-11-15 11:47:40 +020030 - name: ctrl-sp-run-storprep
Peter Pentchev18f67c62022-11-14 14:09:09 +020031 shell:
Peter Pentchevff460a52022-11-15 11:47:40 +020032 cmd: sh storprep-bootstrap.sh -- -n lab-charmed-testing-storage -s lab-vlan400 -- {{ hostvars['tempest']['nodepool']['external_id'] }}
Peter Pentchev1a318ae2022-11-11 11:24:39 +020033
Peter Pentchev7b8acdc2022-11-11 11:32:02 +020034- hosts: all
35 tasks:
Peter Pentchev1a318ae2022-11-11 11:24:39 +020036 - name: sp-processes
37 shell:
38 cmd: ps awwfux
39
40 - name: sp-processes-pstree
41 shell:
42 cmd: pstree -l