mirror of
https://github.com/trailofbits/algo.git
synced 2025-07-31 18:03:03 +02:00
remove prompt of asking root password
This commit is contained in:
parent
56f37d6348
commit
f344c43e2d
2 changed files with 0 additions and 8 deletions
|
@ -14,7 +14,6 @@
|
|||
image: "{{ cloud_providers.linode.image }}"
|
||||
type: "{{ cloud_providers.linode.type }}"
|
||||
authorized_keys: "{{ public_key }}"
|
||||
root_pass: "{{ algo_linode_password }}"
|
||||
register: _linode
|
||||
|
||||
- set_fact:
|
||||
|
|
|
@ -42,17 +42,10 @@
|
|||
register: _algo_region
|
||||
when: region is undefined
|
||||
|
||||
- pause:
|
||||
prompt: |
|
||||
Enter root password of this instance.
|
||||
echo: false
|
||||
register: _linode_root_password
|
||||
|
||||
- name: Set additional facts
|
||||
set_fact:
|
||||
algo_linode_region: >-
|
||||
{% if region is defined %}{{ region }}
|
||||
{%- elif _algo_region.user_input %}{{ linode_regions[_algo_region.user_input | int -1 ]['id'] }}
|
||||
{%- else %}{{ linode_regions[default_region | int - 1]['id'] }}{% endif %}
|
||||
algo_linode_password: "{{ _linode_root_password.user_input }}"
|
||||
public_key: "{{ lookup('file', '{{ SSH_keys.public }}') }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue