bugfixing indent
This commit is contained in:
parent
79416ace67
commit
7fb1fe969f
@ -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:
|
||||||
|
@ -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
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user