feat: firewall #8 #63

Merged
Numerica merged 2 commits from issue-8-firewall into master 2025-10-23 14:27:47 +00:00
Owner

@Numerica no uso tags, si lo corro así, no pasa nada:

ansible-playbook deploy.yml -t firewall -e "alt=abyayala host=hetzner"
                                                                    
PLAY [hetzner] *************************************************************************************************************************
                                                                                                                                        
TASK [Gathering Facts] *****************************************************************************************************************
[WARNING]: Platform linux on host 5.161.236.18 is using the discovered Python interpreter at /usr/bin/python3.11, but future
installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible-
core/2.18/reference_appendices/interpreter_discovery.html for more information.
ok: [5.161.236.18]                                                  
                                                                    
TASK [include_tasks] *******************************************************************************************************************
included: /home/fauno/Projects/sutty/abyayala/tasks/firewall.yml for 5.161.236.18
                                                                    
PLAY RECAP *****************************************************************************************************************************
5.161.236.18               : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   

pero si lo corro sin el tag, anda bien:

ansible-playbook deploy.yml  -e "alt=abyayala host=hetzner"
                                                                    
PLAY [hetzner] *************************************************************************************************************************
                                                                    
TASK [Gathering Facts] *****************************************************************************************************************
[WARNING]: Platform linux on host 5.161.236.18 is using the discovered Python interpreter at /usr/bin/python3.11, but future            
installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible-
core/2.18/reference_appendices/interpreter_discovery.html for more information.                                                         
ok: [5.161.236.18]               
                                                                    
TASK [include_tasks] *******************************************************************************************************************
included: /home/fauno/Projects/sutty/abyayala/tasks/firewall.yml for 5.161.236.18                                                       
                                                                                                                                        
TASK [Paquetes] ************************************************************************************************************************
ok: [5.161.236.18]

TASK [Rules] ***************************************************************************************************************************
ok: [5.161.236.18] => (item=rules.v4)
ok: [5.161.236.18] => (item=rules.v6)

PLAY RECAP *****************************************************************************************************************************
5.161.236.18               : ok=4    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
@Numerica no uso tags, si lo corro así, no pasa nada: ```sh ansible-playbook deploy.yml -t firewall -e "alt=abyayala host=hetzner" ``` ``` PLAY [hetzner] ************************************************************************************************************************* TASK [Gathering Facts] ***************************************************************************************************************** [WARNING]: Platform linux on host 5.161.236.18 is using the discovered Python interpreter at /usr/bin/python3.11, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.18/reference_appendices/interpreter_discovery.html for more information. ok: [5.161.236.18] TASK [include_tasks] ******************************************************************************************************************* included: /home/fauno/Projects/sutty/abyayala/tasks/firewall.yml for 5.161.236.18 PLAY RECAP ***************************************************************************************************************************** 5.161.236.18 : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 ``` pero si lo corro sin el tag, anda bien: ```sh ansible-playbook deploy.yml -e "alt=abyayala host=hetzner" ``` ``` PLAY [hetzner] ************************************************************************************************************************* TASK [Gathering Facts] ***************************************************************************************************************** [WARNING]: Platform linux on host 5.161.236.18 is using the discovered Python interpreter at /usr/bin/python3.11, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.18/reference_appendices/interpreter_discovery.html for more information. ok: [5.161.236.18] TASK [include_tasks] ******************************************************************************************************************* included: /home/fauno/Projects/sutty/abyayala/tasks/firewall.yml for 5.161.236.18 TASK [Paquetes] ************************************************************************************************************************ ok: [5.161.236.18] TASK [Rules] *************************************************************************************************************************** ok: [5.161.236.18] => (item=rules.v4) ok: [5.161.236.18] => (item=rules.v6) PLAY RECAP ***************************************************************************************************************************** 5.161.236.18 : ok=4 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 ```
fauno added 1 commit 2025-10-01 11:59:41 +00:00
fauno requested review from Numerica 2025-10-01 11:59:41 +00:00
Author
Owner

el puerto 3000 es necesario para que los nginx de docker se puedan conectar a la rap-inbox del host. no está abierto hacia afuera. quizas habria que poner la rap-inbox en un container también

el puerto 3000 es necesario para que los nginx de docker se puedan conectar a la rap-inbox del host. no está abierto hacia afuera. quizas habria que poner la rap-inbox en un container también
Numerica added 1 commit 2025-10-23 14:10:57 +00:00
Numerica merged commit a75f06474c into master 2025-10-23 14:27:47 +00:00
Sign in to join this conversation.
No description provided.