Fix public IP output

This commit is contained in:
ArseniiPetrovich 2018-12-25 01:39:20 +03:00
parent 95154a0c6e
commit 80105ca2b1
5 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ auto_update = "all"
[network]
reserved_peers="{{ home }}/bootnodes.txt"
nat="extip:{{ public_ip }}"
nat="extip:{{ public_ip.ansible_facts.ipify_public_ip }}"
port = 30303
max_peers = 100
snapshot_peers = 25

View File

@ -4,7 +4,7 @@ base_path = "parity_data"
[network]
reserved_peers="{{ home }}/bootnodes.txt"
nat="extip:{{ public_ip }}"
nat="extip:{{ public_ip.ansible_facts.ipify_public_ip }}"
port = 30303
[footprint]

View File

@ -7,7 +7,7 @@ auto_update = "all"
[network]
reserved_peers="{{ home }}/bootnodes.txt"
nat="extip:{{ public_ip }}"
nat="extip:{{ public_ip.ansible_facts.ipify_public_ip }}"
port = 30303
{% if moc_archive|default("off") == "on" %}
snapshot_peers = 500

View File

@ -59,7 +59,7 @@
openssl_csr:
path: /etc/nginx/ssl/server.csr
privatekey_path: /etc/nginx/ssl/server.key
common_name: "{{ public_ip }}"
common_name: "{{ public_ip.ansible_facts.ipify_public_ip }}"
when: not cert_file_check.stat.exists
- name: Generate self-signed SSL certificate

View File

@ -7,7 +7,7 @@ auto_update = "all"
[network]
reserved_peers="{{ home }}/bootnodes.txt"
nat="extip:{{ public_ip }}"
nat="extip:{{ public_ip.ansible_facts.ipify_public_ip }}"
port = 30303
{% if validator_archive|default("off") == "on" %}
discovery = false