mirror of
https://github.com/trailofbits/algo.git
synced 2025-08-02 19:03:04 +02:00
fix digitalocean by updating ipv4 address json path
the current api format is documented at https://docs.digitalocean.com/reference/api/api-reference/#operation/get_droplet if it changes again one can just update the path with some profound observations
This commit is contained in:
parent
7203f33f2e
commit
fad49117dc
2 changed files with 2 additions and 4 deletions
|
@ -6,9 +6,7 @@
|
||||||
# User names with leading 0's or containing only numbers should be escaped in double quotes, e.g. "000dan" or "123".
|
# User names with leading 0's or containing only numbers should be escaped in double quotes, e.g. "000dan" or "123".
|
||||||
# Email addresses are not allowed.
|
# Email addresses are not allowed.
|
||||||
users:
|
users:
|
||||||
- phone
|
- test
|
||||||
- laptop
|
|
||||||
- desktop
|
|
||||||
|
|
||||||
### Review these options BEFORE you run Algo, as they are very difficult/impossible to change after the server is deployed.
|
### Review these options BEFORE you run Algo, as they are very difficult/impossible to change after the server is deployed.
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
when: alternative_ingress_ip
|
when: alternative_ingress_ip
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
cloud_instance_ip: "{{ digital_ocean_droplet.data.ip_address }}"
|
cloud_instance_ip: "{{ digital_ocean_droplet.data.droplet.networks.v4[0].ip_address }}"
|
||||||
ansible_ssh_user: algo
|
ansible_ssh_user: algo
|
||||||
ansible_ssh_port: "{{ ssh_port }}"
|
ansible_ssh_port: "{{ ssh_port }}"
|
||||||
cloudinit: true
|
cloudinit: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue