Peter Pentchev | f48f48b | 2022-12-07 16:51:16 +0200 | [diff] [blame] | 1 | - hosts: all |
| 2 | tasks: |
| 3 | # TODO: snap module is part of the community collection |
| 4 | - name: Install juju |
Peter Pentchev | d26369b | 2022-12-08 11:39:21 +0200 | [diff] [blame^] | 5 | ansible.builtin.command: snap install juju --classic |
| 6 | become: true |
Peter Pentchev | f48f48b | 2022-12-07 16:51:16 +0200 | [diff] [blame] | 7 | |
| 8 | - name: Log In to the Controller |
Peter Pentchev | d26369b | 2022-12-08 11:39:21 +0200 | [diff] [blame^] | 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 |