Argh, fix my mangling of Biser's Ansible playbook
Change-Id: Id59a979b80456d15543744145d95c01c9b244aa4
diff --git a/playbooks/setup-juju-client/pre.yaml b/playbooks/setup-juju-client/pre.yaml
index c3e4c7d..0b75ae2 100644
--- a/playbooks/setup-juju-client/pre.yaml
+++ b/playbooks/setup-juju-client/pre.yaml
@@ -2,10 +2,10 @@
tasks:
# TODO: snap module is part of the community collection
- name: Install juju
- ansible.builtin.command: snap install juju --classic
- become: true
+ ansible.builtin.command: snap install juju --classic
+ become: true
- name: Log In to the Controller
- ansible.builtin.shell: echo -e "y\n{{ juju_secret['the_secret'] }}\n" | juju login 10.40.2.2:17070 --controller maas-controller --user zuul-nodepool-zaza
- args:
- executable: /usr/bin/bash
+ ansible.builtin.shell: echo -e "y\n{{ juju_secret['the_secret'] }}\n" | juju login 10.40.2.2:17070 --controller maas-controller --user zuul-nodepool-zaza
+ args:
+ executable: /usr/bin/bash