iac/ansible/base.yml

28 lines
639 B
YAML
Raw Normal View History

2023-08-17 05:05:52 +05:30
# SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
- name: Install and enable firewall
2023-10-13 16:28:38 +05:30
hosts: all
2023-08-17 05:05:52 +05:30
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
2023-11-19 01:51:00 +05:30
cache_valid_time: 3600
2023-08-17 05:05:52 +05:30
pkg:
- git
- wget
- curl
- gpg
- ca-certificates
- zip
- python3-pip
- virtualenv
- python3-setuptools