27 lines
602 B
YAML
27 lines
602 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
|
|
remote_user: debian
|
|
pre_tasks:
|
|
- name: Ensure all VMs are reachable
|
|
ansible.builtin.ping:
|
|
roles:
|
|
- ufw
|
|
|
|
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
|