infra-ansible

ansible script to ship alpine/ssh/wireguard

git clone https://9o.is/git/infra-ansible.git

commit bf3efbf95a639105c4c501e07f14915f70e409d9
parent fa1641b8f166c8e214dab99772f3258cdde17bdb
Author: Jul <jul@9o.is>
Date:   Mon, 13 May 2024 21:20:41 +0800

clean up readme instructions

Diffstat:
Mhost/readme.md | 9++-------
Mhost/site.yml | 3---
2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/host/readme.md b/host/readme.md @@ -1,12 +1,7 @@ ### Installation -- Make sure .ssh/config and .ssh/known_hosts is configured properly -- Server must be ssh-authorized via root -- Server must set mtu to 576 for 1984 hosting (`ip link set ens3 mtu 576`) - - else 1984 hosting will drop fragmented packets from large, sftp files - ``` -ansible-playbook site.yml --tags init --ssh-extra-args '-o Port=22' -ansible-playbook site.yml --tags firewall kubes +ansible-playbook site.yml --tags init --user root +ansible-playbook site.yml --tags kubes ``` diff --git a/host/site.yml b/host/site.yml @@ -2,14 +2,12 @@ - name: Raw Setup hosts: servers gather_facts: false - remote_user: root tags: init roles: - raw-setup - name: Setup hosts: servers - remote_user: root tags: init roles: - setup @@ -18,7 +16,6 @@ - name: Kubernetes hosts: servers - remote_user: user tags: kubes roles: - k0s