blob: 0f2f4e707cadcc0fd3c4d1da8c98fa0b840d9e18 [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 Pentchev8acbede2022-12-08 13:35:36 +02009 ansible.builtin.shell:
10 cmd: echo -e "y\n{{ juju_secret['the_secret'] }}\n" | juju login 10.40.2.2:17070 --controller maas-controller --user zuul-nodepool-zaza
Peter Pentchevca0a6522022-12-08 12:57:00 +020011 executable: /usr/bin/bash