mirror of
https://github.com/trailofbits/algo.git
synced 2025-09-03 02:23:39 +02:00
rename droplet to server
This commit is contained in:
parent
606420afb7
commit
f06e789753
1 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
||||||
set_fact:
|
set_fact:
|
||||||
IP_subject_alt_name: "{% if algo_provider == 'local' %}{{ IP_subject_alt_name }}{% else %}{{ cloud_instance_ip }}{% endif %}"
|
IP_subject_alt_name: "{% if algo_provider == 'local' %}{{ IP_subject_alt_name }}{% else %}{{ cloud_instance_ip }}{% endif %}"
|
||||||
|
|
||||||
- name: Add the droplet to an inventory group
|
- name: Add the server to an inventory group
|
||||||
add_host:
|
add_host:
|
||||||
name: "{% if cloud_instance_ip == 'localhost' %}localhost{% else %}{{ cloud_instance_ip }}{% endif %}"
|
name: "{% if cloud_instance_ip == 'localhost' %}localhost{% else %}{{ cloud_instance_ip }}{% endif %}"
|
||||||
groups: vpn-host
|
groups: vpn-host
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
algo_store_cakey: "{{ algo_store_cakey }}"
|
algo_store_cakey: "{{ algo_store_cakey }}"
|
||||||
IP_subject_alt_name: "{{ IP_subject_alt_name }}"
|
IP_subject_alt_name: "{{ IP_subject_alt_name }}"
|
||||||
|
|
||||||
- name: Additional variables for the droplet
|
- name: Additional variables for the server
|
||||||
add_host:
|
add_host:
|
||||||
name: "{% if cloud_instance_ip == 'localhost' %}localhost{% else %}{{ cloud_instance_ip }}{% endif %}"
|
name: "{% if cloud_instance_ip == 'localhost' %}localhost{% else %}{{ cloud_instance_ip }}{% endif %}"
|
||||||
ansible_ssh_private_key_file: "{{ SSH_keys.private }}"
|
ansible_ssh_private_key_file: "{{ SSH_keys.private }}"
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
- debug:
|
- debug:
|
||||||
var: IP_subject_alt_name
|
var: IP_subject_alt_name
|
||||||
|
|
||||||
- name: A short pause, in order to be sure the instance is ready
|
- name: A short pause, in order to be sure the instance is ready
|
||||||
pause:
|
pause:
|
||||||
seconds: 20
|
seconds: 20
|
||||||
|
|
Loading…
Add table
Reference in a new issue