Skip to content

Commit

Permalink
Fix Trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Sep 14, 2023
1 parent e1ccfd2 commit 84a6bd5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions roles/cloud-resources/tasks/hetzner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
| selectattr("network_zone", "equalto", target_network_zone)
| list | length > 0)

- name: "Hetzner Cloud: Get ip_range for network '{{ server_network }}'"
- name: "Hetzner Cloud: Extract ip_range for network '{{ server_network }}'"
ansible.builtin.set_fact:
server_network_ip_range: "{{ item.ip_range }}"
loop: "{{ network_info.hcloud_network_info }}"
Expand Down Expand Up @@ -337,9 +337,9 @@
- name: "Hetzner Cloud: Extract firewall names for '{{ patroni_cluster_name }}'"
ansible.builtin.set_fact:
firewall_names: >-
{{ hetzner_firewalls_response.json.firewalls
| selectattr('name', 'search', patroni_cluster_name)
| map(attribute='name')
{{ hetzner_firewalls_response.json.firewalls
| selectattr('name', 'search', patroni_cluster_name)
| map(attribute='name')
| list }}
# Server and volume
Expand Down Expand Up @@ -487,7 +487,6 @@
- ssh_public_access | bool
- firewall | bool

# if 'database_public_access' is 'true'
- name: "Hetzner Cloud: Delete public firewall"
hetzner.hcloud.hcloud_firewall:
api_token: "{{ lookup('ansible.builtin.env', 'HCLOUD_API_TOKEN') }}"
Expand Down

0 comments on commit 84a6bd5

Please sign in to comment.