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 }}"
- name: "Add authorized keys"
authorized_key:
user: "{{ item }}"
key: "{{ lookup('file', 'files/'+ item + '.key.pub') }}"
with_items: "{{ users }}"
authorized_key:
user: "{{ item }}"
key: "{{ lookup('file', 'files/'+ item + '.key.pub') }}"
with_items: "{{ users }}"
- name: Allow 'wheel' group to have passwordless sudo
lineinfile:

View File

@ -1,10 +1,10 @@
---
- name: Set NAT MASQUERADE
ansible.builtin.iptables:
chain: POSTROUTING
table: nat
source: "{{ internal_network }}"
jump: MASQUERADE
- name: Setup NAT
ansible.builtin.iptables:
chain: POSTROUTING
table: nat
source: "{{ internal_network }}"
jump: MASQUERADE
- ansible.posix.sysctl:
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
hosts: supernodes
roles: