blob: c3e4c7d97fc47bd76c034ec5df783838f52d9034 [file] [log] [blame]
Peter Pentchevf48f48b2022-12-07 16:51:16 +02001- hosts: all
2 tasks:
3 # TODO: snap module is part of the community collection
4 - name: Install juju
5 ansible.builtin.command: snap install juju --classic
6 become: true
7
8 - name: Log In to the Controller
9 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
10 args:
11 executable: /usr/bin/bash