blob: 0b75ae226369ca7a06579b4573e7f38e608ddcdd [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
Peter Pentchevd26369b2022-12-08 11:39:21 +02005 ansible.builtin.command: snap install juju --classic
6 become: true
Peter Pentchevf48f48b2022-12-07 16:51:16 +02007
8 - name: Log In to the Controller
Peter Pentchevd26369b2022-12-08 11:39:21 +02009 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