Remove debug sleep
Change-Id: I67313d77344db8011d2f896649619bf312b9464d
diff --git a/playbooks/charm-cinder-storpool-iscsi/zaza-functional.yaml b/playbooks/charm-cinder-storpool-iscsi/zaza-functional.yaml
index 8b6a4f8..14a7967 100644
--- a/playbooks/charm-cinder-storpool-iscsi/zaza-functional.yaml
+++ b/playbooks/charm-cinder-storpool-iscsi/zaza-functional.yaml
@@ -1,43 +1,38 @@
- hosts: all
tasks:
- - name: A block
- block:
- - name: Install charmcraft
- ansible.builtin.command: snap install charmcraft --classic --channel=2.2/stable
- become: true
+ - name: Install charmcraft
+ ansible.builtin.command: snap install charmcraft --classic --channel=2.2/stable
+ become: true
- - name: Initialize lxd
- ansible.builtin.command: lxd init --auto
- become: true
+ - name: Initialize lxd
+ ansible.builtin.command: lxd init --auto
+ become: true
- - name: Install tox
- ansible.builtin.apt:
- name: tox
- update_cache: yes
- become: true
+ - name: Install tox
+ ansible.builtin.apt:
+ name: tox
+ update_cache: yes
+ become: true
- - name: RDBG take a look around
- ansible.builtin.shell: find /home/ubuntu/src/ -mindepth 0 -maxdepth 3 -ls
+ - name: RDBG take a look around
+ ansible.builtin.shell: find /home/ubuntu/src/ -mindepth 0 -maxdepth 3 -ls
- - name: run build
- ansible.builtin.shell: tox -e build
- args:
- executable: /usr/bin/bash
- chdir: /home/ubuntu/src/spfactory.storpool.com/charm-cinder-storpool-iscsi
+ - name: run build
+ ansible.builtin.shell: tox -e build
+ args:
+ executable: /usr/bin/bash
+ chdir: /home/ubuntu/src/spfactory.storpool.com/charm-cinder-storpool-iscsi
- - name: run func-target-discard-model
- ansible.builtin.shell: tox -e func-target-discard-model {{ bundle }}
- args:
- executable: /usr/bin/bash
- chdir: /home/ubuntu/src/spfactory.storpool.com/charm-cinder-storpool-iscsi
- environment:
- CHARM_SP_PUBLIC_SPACE: "{{ SP_PUBLIC_SPACE['v'] }}"
- CHARM_SP_TEMPLATE: "{{ SP_TEMPLATE['v'] }}"
- CHARM_SP_API_HTTP_HOST: "{{ SP_API_HTTP_HOST['v'] }}"
- CHARM_SP_API_HTTP_PORT: "{{ SP_API_HTTP_PORT['v'] }}"
- CHARM_SP_AUTH_TOKEN: "{{ SP_AUTH_TOKEN['v'] }}"
- CHARM_SP_ISCSI_PORTAL_GROUP: "{{ SP_ISCSI_PORTAL_GROUP['v'] }}"
- CHARM_SP_EXTRA_MACHINE_TAGS: "{{ SP_EXTRA_MACHINE_TAGS['v'] }}"
- always:
- - name: Debug sleep
- ansible.builtin.shell: sleep 9999
+ - name: run func-target-discard-model
+ ansible.builtin.shell: tox -e func-target-discard-model {{ bundle }}
+ args:
+ executable: /usr/bin/bash
+ chdir: /home/ubuntu/src/spfactory.storpool.com/charm-cinder-storpool-iscsi
+ environment:
+ CHARM_SP_PUBLIC_SPACE: "{{ SP_PUBLIC_SPACE['v'] }}"
+ CHARM_SP_TEMPLATE: "{{ SP_TEMPLATE['v'] }}"
+ CHARM_SP_API_HTTP_HOST: "{{ SP_API_HTTP_HOST['v'] }}"
+ CHARM_SP_API_HTTP_PORT: "{{ SP_API_HTTP_PORT['v'] }}"
+ CHARM_SP_AUTH_TOKEN: "{{ SP_AUTH_TOKEN['v'] }}"
+ CHARM_SP_ISCSI_PORTAL_GROUP: "{{ SP_ISCSI_PORTAL_GROUP['v'] }}"
+ CHARM_SP_EXTRA_MACHINE_TAGS: "{{ SP_EXTRA_MACHINE_TAGS['v'] }}"
\ No newline at end of file