Respond to RFC on PR #586

pull/618/head
Kieran Prasch 2018-12-05 10:40:52 -08:00 committed by Kieran Prasch
parent 2c061fcbd2
commit 3b70195021
2 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@
volume_type: gp2
volume_size: "{{ ec2_volume_size }}"
delete_on_termination: true
register: nucypher_swarm
register: nucypher_fleet
- name: "Add Provisioned Servers as Hosts"
add_host:
@ -37,9 +37,9 @@
ec2_tag_Type: "{{ ec2_tag_Type}}"
ec2_tag_Role: "{{ nucypher_network_name }}"
ec2_ip_address: "{{ item.public_ip }}"
with_items: "{{ nucypher_swarm.instances }}"
with_items: "{{ nucypher_fleet.instances }}"
- name: Wait for the instances to boot by checking the ssh port
wait_for: host={{item.public_ip}} port=22 delay=15 timeout=300 state=started
with_items: "{{ nucypher_swarm.instances }}"
with_items: "{{ nucypher_fleet.instances }}"

View File

@ -51,8 +51,8 @@
LANG: C.UTF-8
- name: "Generate Ursula passphrase"
shell: head -c 32 /dev/urandom | sha256sum
register: ursula_passphrase
shell: head -c 32 /dev/urandom | sha256sum | awk '{print $1}'
register: ursula_password
- name: "Configure Ursula"
shell: "pipenv run nucypher configure install --rest-host {{inventory_hostname}}"
@ -61,7 +61,7 @@
vars:
ansible_python_interpreter: /usr/bin/python3
environment:
NUCYPHER_KEYRING_PASSPHRASE: "{{ ursula_passphrase.stdout }}"
NUCYPHER_KEYRING_PASSPHRASE: "{{ ursula_password.stdout }}"
LC_ALL: C.UTF-8
LANG: C.UTF-8
ignore_errors: yes