|
|
@@ -43,9 +43,9 @@ |
|
|
|
register: created_droplets_backend |
|
|
|
loop: "{{ range(1,count| int + 1) }}" |
|
|
|
|
|
|
|
- name: Create a Firewall named mpd-firewall |
|
|
|
- name: Create a Firewall named mpdf-firewall |
|
|
|
community.digitalocean.digital_ocean_firewall: |
|
|
|
name: mpd-firewall |
|
|
|
name: mpdf-firewall |
|
|
|
state: present |
|
|
|
inbound_rules: |
|
|
|
- protocol: "tcp" |
|
|
@@ -74,7 +74,35 @@ |
|
|
|
ports: "1-65535" |
|
|
|
destinations: |
|
|
|
addresses: ["0.0.0.0/0", "::/0"] |
|
|
|
tags: ["mpdf", "mpdb"] |
|
|
|
tags: ["mpdf"] |
|
|
|
- name: Create a Firewall named mpdb-firewall |
|
|
|
community.digitalocean.digital_ocean_firewall: |
|
|
|
name: mpdb-firewall |
|
|
|
state: present |
|
|
|
inbound_rules: |
|
|
|
- protocol: "tcp" |
|
|
|
ports: "22" |
|
|
|
sources: |
|
|
|
addresses: ["0.0.0.0/0", "::/0"] |
|
|
|
- protocol: "tcp" |
|
|
|
ports: "8888" |
|
|
|
sources: |
|
|
|
addresses: ["0.0.0.0/0", "::/0"] |
|
|
|
outbound_rules: |
|
|
|
- protocol: "tcp" |
|
|
|
ports: "1-65535" |
|
|
|
destinations: |
|
|
|
addresses: ["0.0.0.0/0", "::/0"] |
|
|
|
- protocol: "udp" |
|
|
|
ports: "1-65535" |
|
|
|
destinations: |
|
|
|
addresses: ["0.0.0.0/0", "::/0"] |
|
|
|
- protocol: "icmp" |
|
|
|
ports: "1-65535" |
|
|
|
destinations: |
|
|
|
addresses: ["0.0.0.0/0", "::/0"] |
|
|
|
tags: ["mpdb"] |
|
|
|
- |
|
|
|
- name: mpdb |
|
|
|
ansible.builtin.import_playbook: mpdb.yaml |
|
|
|
- name: mpdf |
|
|
|