Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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