2022-11-08 16:51:08 +00:00
|
|
|
---
|
|
|
|
- name: Verify Ansible versions
|
|
|
|
hosts: all
|
|
|
|
tags: always
|
|
|
|
become: false
|
|
|
|
run_once: true
|
|
|
|
gather_facts: false
|
|
|
|
tasks:
|
|
|
|
- local_action: command ./versioncheck.py
|
|
|
|
changed_when: false
|
|
|
|
|
|
|
|
- name: Configure ERA files hosting
|
|
|
|
become: true
|
|
|
|
hosts:
|
2023-05-16 08:53:21 +00:00
|
|
|
- linux-03.ih-eu-mda1.nimbus.mainnet
|
2023-06-16 10:22:55 +00:00
|
|
|
- linux-01.ih-eu-mda1.nimbus.prater
|
2023-09-29 15:48:02 +00:00
|
|
|
- linux-01.ih-eu-mda1.nimbus.sepolia
|
2022-11-17 10:32:08 +00:00
|
|
|
vars:
|
|
|
|
open_ports_default_comment: 'Nginx'
|
|
|
|
open_ports_default_chain: 'SERVICES'
|
|
|
|
open_ports_list: [ { port: 80 }, { port: 443 } ]
|
2022-11-08 16:51:08 +00:00
|
|
|
roles:
|
2022-11-17 10:32:08 +00:00
|
|
|
- role: open-ports
|
|
|
|
tags: open-ports
|
2022-11-08 16:51:08 +00:00
|
|
|
- role: origin-certs
|
|
|
|
tags: origin-certs
|
|
|
|
- role: nginx
|
|
|
|
tags: nginx
|