revert: drop accidentally committed WIP files (keep only CI fix)
This commit is contained in:
1 parent
f4d6e537cc
commit
cd677eaadf
7 files changed
+3
-17
No files matched your search
@@ -1 +1 @@
|
||||
netbird_domain: central.gunihome.ru
|
||||
netbird_domain: central.myguni.ru
|
||||
@@ -1,13 +1,7 @@
|
||||
all:
|
||||
children:
|
||||
home:
|
||||
hosts:
|
||||
core-net:
|
||||
ansible_host: 192.168.1.104
|
||||
ansible_user: root
|
||||
core_net:
|
||||
hosts:
|
||||
core-net:
|
||||
hosts: {}
|
||||
vps:
|
||||
# ВАЖНО
|
||||
# Поле ansible_password у внешних VPS — это одноразовый стартовый пароль от хостера
|
||||
|
||||
@@ -75,17 +75,13 @@
|
||||
ansible.builtin.command: ufw allow OpenSSH
|
||||
register: ufw_ssh
|
||||
changed_when: "'added' in (ufw_ssh.stdout | lower)"
|
||||
when: ansible_virtualization_type | default('') != 'lxc'
|
||||
|
||||
- name: Проверить состояние firewall
|
||||
ansible.builtin.command: ufw status
|
||||
register: ufw_status
|
||||
changed_when: false
|
||||
when: ansible_virtualization_type | default('') != 'lxc'
|
||||
|
||||
- name: Включить firewall
|
||||
ansible.builtin.command: ufw --force enable
|
||||
when:
|
||||
- ansible_virtualization_type | default('') != 'lxc'
|
||||
- "'Status: active' not in ufw_status.stdout"
|
||||
when: "'Status: active' not in ufw_status.stdout"
|
||||
changed_when: true
|
||||
Reference in new issue
Block a user