iac/ansible/base.yml
Aravinth Manivannan 4a81e7d591
feat: rm ufw
configuring a firewall is external to installing mCaptcha, since we use
standard HTTP ports only. Should also make testing with woodpecker CI
easy.
2023-12-11 14:30:54 +05:30

27 lines
639 B
YAML

# SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
- name: Install and enable firewall
hosts: all
pre_tasks:
- name: Ensure all VMs are reachable
ansible.builtin.ping:
tasks:
- name: Install git, zip, nginx, wget, curl & other utils
become: true
ansible.builtin.apt:
update_cache: true
cache_valid_time: 3600
pkg:
- git
- wget
- curl
- gpg
- ca-certificates
- zip
- python3-pip
- virtualenv
- python3-setuptools