From 8202c42cf72307fb86bc307c81c26f1bce364e04 Mon Sep 17 00:00:00 2001 From: Emil Date: Thu, 7 Mar 2024 02:39:40 +0100 Subject: [PATCH] Brings consistency with quotes --- extensions/molecule/default/verify.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/molecule/default/verify.yml b/extensions/molecule/default/verify.yml index bda6cb3..2a3a7e6 100644 --- a/extensions/molecule/default/verify.yml +++ b/extensions/molecule/default/verify.yml @@ -5,15 +5,15 @@ tasks: - name: Launch container based on the newly published image ansible.builtin.command: | - incus launch {{ item.name }} "{{ item.name }}-test-cntr" + incus launch {{ item.name }} {{ item.name }}-test-cntr with_items: '{{ molecule_yml.platforms }}' - name: find current container state - ansible.builtin.command: incus ls "{{ item.name }}-test-cntr" + ansible.builtin.command: incus ls '{{ item.name }}-test-cntr' register: state with_items: '{{ molecule_yml.platforms }}' - name: verify launched container is running ansible.builtin.assert: - that: state.results[0].rc == 0 and "RUNNING" in state.results[0].stdout + that: state.results[0].rc == 0 and 'RUNNING' in state.results[0].stdout - name: find container ip address ansible.builtin.command: incus ls -c=4 -f=compact {{ item.name }} register: ipv4_raw