Skip to content

Commit

Permalink
changed logic around ssh key import for deb installs (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElineMaaikedeWeerd authored Dec 15, 2023
1 parent 7f4cdb5 commit 6f9199f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/maas_region_controller/tasks/install_maas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@
command: >
maas init --rbac-url={{ maas_rbac_url | default('') | quote }}
--candid-agent-file={{ maas_candid_auth_file | default('') | quote }}
--admin-ssh-import={{ admin_id if admin_id is defined else '' }}
responses:
"(?i)Username: ": "{{ admin_username }}"
"(?i)Password: ": "{{ admin_password }}"
"(?i)Again: ": "{{ admin_password }}"
"(?i)Email: ": "{{ admin_email }}"
"(?i)Import SSH keys ": "{{ admin_id if admin_id is defined else '' }}"
when: maas_installation_type | lower == 'deb' and maas_region_new_installation is defined

- name: Starting MAAS region service
Expand Down

0 comments on commit 6f9199f

Please sign in to comment.