From 871122e37d4ddf851072022e5673368aee764d05 Mon Sep 17 00:00:00 2001 From: linus Date: Fri, 3 Dec 2021 14:47:34 +0100 Subject: [PATCH] unify indents --- roles/server/tasks/main.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/roles/server/tasks/main.yml b/roles/server/tasks/main.yml index 97ca6cd..bc26d72 100644 --- a/roles/server/tasks/main.yml +++ b/roles/server/tasks/main.yml @@ -63,19 +63,19 @@ - name: Create base network shell: | innernet-server new \ - --network-name "{{ network_name }}" \ - --network-cidr "{{ network_cidr }}" \ - --external-endpoint "[{{ hostvars[inventory_hostname]['ansible_default_ipv6']['address'] }}]:{{ network_listen_port }}" \ - --listen-port {{ network_listen_port }} + --network-name "{{ network_name }}" \ + --network-cidr "{{ network_cidr }}" \ + --external-endpoint "[{{ hostvars[inventory_hostname]['ansible_default_ipv6']['address'] }}]:{{ network_listen_port }}" \ + --listen-port {{ network_listen_port }} when: network_file.changed - name: Create CIDRs shell: | innernet-server add-cidr "{{ network_name }}" \ - --parent "{{ item.parent }}" \ - --name "{{ item.name }}" \ - --cidr "{{ item.cidr }}" \ - --yes + --parent "{{ item.parent }}" \ + --name "{{ item.name }}" \ + --cidr "{{ item.cidr }}" \ + --yes with_items: "{{ cidrs }}" when: - cidrs_file.changed @@ -84,13 +84,13 @@ - name: Create peers shell: | innernet-server add-peer "{{ network_name }}" \ - --name "{{ item.name }}" \ - --cidr "{{ item.cidr }}" \ - --admin "{{ item.admin }}" \ - --save-config "{{ item.name }}.toml" \ - --invite-expires "14d" \ - --auto-ip \ - --yes + --name "{{ item.name }}" \ + --cidr "{{ item.cidr }}" \ + --admin "{{ item.admin }}" \ + --save-config "{{ item.name }}.toml" \ + --invite-expires "14d" \ + --auto-ip \ + --yes with_items: "{{ peers }}" ignore_errors: true when: