Skip to content

Commit

Permalink
Merge pull request #317 from freyes/add-default-juju-model
Browse files Browse the repository at this point in the history
Add default juju model if needed.
  • Loading branch information
wolsen authored Feb 13, 2024
2 parents 9272fed + 766388a commit 6a124b5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roles/juju-setup/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@
--model-default=/home/ubuntu/charm-test-infra/juju-configs/model-default-serverstack.yaml \
--config=/home/ubuntu/charm-test-infra/juju-configs/controller-default.yaml \
{{ serverstack_cloud.region_name }}/{{ serverstack_cloud.region_name }}
- name: 'Add default juju model if needed'
shell:
cmd: |
/snap/bin/juju show-model default || /snap/bin/juju add-model default
args:
executable: /bin/bash
- name: 'Configure cloudinit-userdata model-default'
shell:
cmd: |
Expand Down

0 comments on commit 6a124b5

Please sign in to comment.