mirror of
https://github.com/trailofbits/algo.git
synced 2025-08-02 10:53:01 +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 }}"
|
image: "{{ cloud_providers.linode.image }}"
|
||||||
type: "{{ cloud_providers.linode.type }}"
|
type: "{{ cloud_providers.linode.type }}"
|
||||||
authorized_keys: "{{ public_key }}"
|
authorized_keys: "{{ public_key }}"
|
||||||
root_pass: "{{ algo_linode_password }}"
|
|
||||||
register: _linode
|
register: _linode
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
|
|
|
@ -42,17 +42,10 @@
|
||||||
register: _algo_region
|
register: _algo_region
|
||||||
when: region is undefined
|
when: region is undefined
|
||||||
|
|
||||||
- pause:
|
|
||||||
prompt: |
|
|
||||||
Enter root password of this instance.
|
|
||||||
echo: false
|
|
||||||
register: _linode_root_password
|
|
||||||
|
|
||||||
- name: Set additional facts
|
- name: Set additional facts
|
||||||
set_fact:
|
set_fact:
|
||||||
algo_linode_region: >-
|
algo_linode_region: >-
|
||||||
{% if region is defined %}{{ region }}
|
{% if region is defined %}{{ region }}
|
||||||
{%- elif _algo_region.user_input %}{{ linode_regions[_algo_region.user_input | int -1 ]['id'] }}
|
{%- elif _algo_region.user_input %}{{ linode_regions[_algo_region.user_input | int -1 ]['id'] }}
|
||||||
{%- else %}{{ linode_regions[default_region | int - 1]['id'] }}{% endif %}
|
{%- else %}{{ linode_regions[default_region | int - 1]['id'] }}{% endif %}
|
||||||
algo_linode_password: "{{ _linode_root_password.user_input }}"
|
|
||||||
public_key: "{{ lookup('file', '{{ SSH_keys.public }}') }}"
|
public_key: "{{ lookup('file', '{{ SSH_keys.public }}') }}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue