infra-ansible

ansible script to ship alpine/ssh/wireguard

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

readme.md

(345B)


      1 ### Installation
      2 
      3 ```
      4 ansible-playbook alpine.yml
      5 ansible-playbook site.yml --user root
      6 ```
      7 
      8 ### Making changes
      9 
     10 - omit user root
     11 - set become to true
     12 - use tags
     13   - basic
     14   - apk
     15   - user
     16   - ssh
     17   - vpn
     18   - firewall
     19 
     20 ```
     21 ansible-playbook site.yml --become --tags vpn,firewall
     22 ```
     23 
     24 ### Production
     25 
     26 - Use prod inventory path with `-i env/prod`
     27