Compare commits
2 commits
50569c8a32
...
bbff7f41a5
Author | SHA1 | Date | |
---|---|---|---|
bbff7f41a5 | |||
4a81e7d591 |
3 changed files with 2 additions and 12 deletions
|
@ -8,8 +8,6 @@
|
|||
pre_tasks:
|
||||
- name: Ensure all VMs are reachable
|
||||
ansible.builtin.ping:
|
||||
roles:
|
||||
- ufw
|
||||
|
||||
tasks:
|
||||
- name: Install git, zip, nginx, wget, curl & other utils
|
||||
|
@ -27,4 +25,3 @@
|
|||
- python3-pip
|
||||
- virtualenv
|
||||
- python3-setuptools
|
||||
- ufw
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
- name: Base configuration
|
||||
ansible.builtin.import_playbook: base.yml
|
||||
roles:
|
||||
- ufw
|
||||
|
||||
- name: Configure Locust instances
|
||||
hosts: [mcaptcha_dos]
|
||||
|
|
|
@ -59,7 +59,6 @@
|
|||
cache_valid_time: 3600
|
||||
pkg:
|
||||
- nginx
|
||||
- ufw
|
||||
|
||||
- name: Copy nginx vhost
|
||||
become: true
|
||||
|
@ -83,11 +82,3 @@
|
|||
ansible.builtin.service:
|
||||
name: nginx
|
||||
state: restarted
|
||||
|
||||
- name: Allow port 80 and enable UFW
|
||||
become: true
|
||||
community.general.ufw:
|
||||
state: enabled
|
||||
rule: allow
|
||||
proto: tcp
|
||||
port: "80"
|
||||
|
|
Loading…
Reference in a new issue