commit | 07db17d8f2fb81efb34f8905dd0f23e8d1371fca | [log] [tgz] |
---|---|---|
author | Biser Milanov <biser.milanov@storpool.com> | Mon Jan 09 16:06:45 2023 +0200 |
committer | Biser Milanov <biser.milanov@storpool.com> | Thu Jan 12 12:55:15 2023 +0200 |
tree | 2cd26c7c75eb96d55ed1b968ae2c3ec05505b626 | |
parent | c756c2e6f8f608b3639d9721f212d11f505df4fc [diff] |
Use snap module instead of command in playbook Change-Id: Iabb728c70cf66ac3ba60c296c5d123557b890adc
diff --git a/playbooks/charm-cinder-storpool-iscsi/zaza-functional.yaml b/playbooks/charm-cinder-storpool-iscsi/zaza-functional.yaml index fc5aa83..ce53891 100644 --- a/playbooks/charm-cinder-storpool-iscsi/zaza-functional.yaml +++ b/playbooks/charm-cinder-storpool-iscsi/zaza-functional.yaml
@@ -1,9 +1,10 @@ - hosts: all tasks: - # TODO: snap module is part of the community collection - name: Install charmcraft - ansible.builtin.command: snap install charmcraft --classic + community.general.snap: + name: charmcraft + classic: true become: true - name: Initialize lxd