whitespace removal
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
- name: Install required packages
|
||||
- name: Install required packages
|
||||
apt:
|
||||
name:
|
||||
- curl
|
||||
@@ -7,7 +7,7 @@
|
||||
state: present
|
||||
update_cache: no
|
||||
|
||||
- name: Configure network buffer sizes
|
||||
- name: Configure network buffer sizes
|
||||
ansible.posix.sysctl:
|
||||
name: "{{ item.key }}"
|
||||
value: "{{ item.value }}"
|
||||
@@ -18,7 +18,7 @@
|
||||
- { key: 'net.core.rmem_max', value: '7500000' }
|
||||
- { key: 'net.core.wmem_max', value: '7500000' }
|
||||
|
||||
- name: Add repository with key
|
||||
- name: Add repository with key
|
||||
ansible.builtin.deb822_repository:
|
||||
name: netbird
|
||||
types: [deb]
|
||||
@@ -29,26 +29,26 @@
|
||||
state: present
|
||||
enabled: true
|
||||
|
||||
- name: Install netbird
|
||||
- name: Install netbird
|
||||
apt:
|
||||
name:
|
||||
- netbird
|
||||
state: present
|
||||
update_cache: yes
|
||||
|
||||
- name: Enable netbird service
|
||||
- name: Enable netbird service
|
||||
systemd:
|
||||
name: netbird
|
||||
state: started
|
||||
enabled: yes
|
||||
|
||||
- name: Check NetBird status
|
||||
- name: Check NetBird status
|
||||
ansible.builtin.command: netbird status
|
||||
register: netbird_status
|
||||
ignore_errors: yes
|
||||
changed_when: False
|
||||
|
||||
- name: Start NetBird if needed
|
||||
- name: Start NetBird if needed
|
||||
ansible.builtin.command: netbird up --management-url https://api.netbird.io --setup-key "{{ netbird_setup_key }}"
|
||||
when: netbird_status.stdout is search("NeedsLogin")
|
||||
vars:
|
||||
|
||||
Reference in New Issue
Block a user