Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mucsi96/ansible-roles
Reusable Ansible roles
https://github.com/mucsi96/ansible-roles
Last synced: 5 days ago
JSON representation
Reusable Ansible roles
- Host: GitHub
- URL: https://github.com/mucsi96/ansible-roles
- Owner: mucsi96
- License: mit
- Created: 2022-11-22T20:12:24.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-16T06:03:23.000Z (over 1 year ago)
- Last Synced: 2024-10-12T03:13:08.439Z (about 1 month ago)
- Language: Python
- Size: 459 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-roles DEPRECATED in favor of kubetools repo
Reusable Ansible roles[![CI](https://github.com/mucsi96/ansible-roles/actions/workflows/build.yml/badge.svg)](https://github.com/mucsi96/ansible-roles/actions/workflows/build.yml)
## Create box
```bash
vagrant up
```## Run Ansible playbooks
```bash
ap playbooks/enable_root_login.yaml playbooks/new_ssh_user.yaml playbooks/ssh_hardening.yaml playbooks/update_packages.yaml playbooks/install_kubernetes.yaml playbooks/deploy_kubernetes_demo.yaml playbooks/deploy_cloudflare_tunnel.yaml
```## Destroy the box
```bash
vagrant destroy
./clean.sh
```## Create Cloudflare Tunnel
[More details](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/local/#set-up-a-tunnel-locally-cli-setup)
1. Authenticate cloudflared `ct login`
2. Add created pem certificate to vault## Firewall
https://www.heficed.com/tutorials/vps/how-to-configure-iptables/
sudo cat /etc/sysconfig/iptables