bugfixing indent

This commit is contained in:
Stefan Hoffmann 2023-02-26 10:52:43 +01:00
parent 79416ace67
commit 7fb1fe969f
3 changed files with 11 additions and 11 deletions

View File

@ -28,10 +28,10 @@
with_items: "{{ users }}" with_items: "{{ users }}"
- name: "Add authorized keys" - name: "Add authorized keys"
authorized_key: authorized_key:
user: "{{ item }}" user: "{{ item }}"
key: "{{ lookup('file', 'files/'+ item + '.key.pub') }}" key: "{{ lookup('file', 'files/'+ item + '.key.pub') }}"
with_items: "{{ users }}" with_items: "{{ users }}"
- name: Allow 'wheel' group to have passwordless sudo - name: Allow 'wheel' group to have passwordless sudo
lineinfile: lineinfile:

View File

@ -1,10 +1,10 @@
--- ---
- name: Set NAT MASQUERADE - name: Setup NAT
ansible.builtin.iptables: ansible.builtin.iptables:
chain: POSTROUTING chain: POSTROUTING
table: nat table: nat
source: "{{ internal_network }}" source: "{{ internal_network }}"
jump: MASQUERADE jump: MASQUERADE
- ansible.posix.sysctl: - ansible.posix.sysctl:
name: kernel.panic name: kernel.panic

View File

@ -1,4 +1,4 @@
# ansible-playbook -i hosts.yml system-setup.yml # ansible-playbook -i hosts.yml system-setup.yml -e vault.yml --ask-vault-password
- name: System preperation - name: System preperation
hosts: supernodes hosts: supernodes
roles: roles: