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:
|
all:
|
||||||
children:
|
children:
|
||||||
home:
|
home:
|
||||||
hosts:
|
hosts: {}
|
||||||
core-net:
|
|
||||||
ansible_host: 192.168.1.104
|
|
||||||
ansible_user: root
|
|
||||||
core_net:
|
|
||||||
hosts:
|
|
||||||
core-net:
|
|
||||||
vps:
|
vps:
|
||||||
# ВАЖНО
|
# ВАЖНО
|
||||||
# Поле ansible_password у внешних VPS — это одноразовый стартовый пароль от хостера
|
# Поле ansible_password у внешних VPS — это одноразовый стартовый пароль от хостера
|
||||||
|
|||||||
@@ -75,17 +75,13 @@
|
|||||||
ansible.builtin.command: ufw allow OpenSSH
|
ansible.builtin.command: ufw allow OpenSSH
|
||||||
register: ufw_ssh
|
register: ufw_ssh
|
||||||
changed_when: "'added' in (ufw_ssh.stdout | lower)"
|
changed_when: "'added' in (ufw_ssh.stdout | lower)"
|
||||||
when: ansible_virtualization_type | default('') != 'lxc'
|
|
||||||
|
|
||||||
- name: Проверить состояние firewall
|
- name: Проверить состояние firewall
|
||||||
ansible.builtin.command: ufw status
|
ansible.builtin.command: ufw status
|
||||||
register: ufw_status
|
register: ufw_status
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: ansible_virtualization_type | default('') != 'lxc'
|
|
||||||
|
|
||||||
- name: Включить firewall
|
- name: Включить firewall
|
||||||
ansible.builtin.command: ufw --force enable
|
ansible.builtin.command: ufw --force enable
|
||||||
when:
|
when: "'Status: active' not in ufw_status.stdout"
|
||||||
- ansible_virtualization_type | default('') != 'lxc'
|
|
||||||
- "'Status: active' not in ufw_status.stdout"
|
|
||||||
changed_when: true
|
changed_when: true
|
||||||
@@ -20,4 +20,3 @@ provider "proxmox" {
|
|||||||
agent = true
|
agent = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1,2 +1 @@
|
|||||||
# Выходные параметры для узла pve
|
# Выходные параметры для узла pve
|
||||||
|
|
||||||
@@ -2,4 +2,3 @@ proxmox_endpoint = "https://192.168.1.2:8006/"
|
|||||||
proxmox_api_token = "root@pam!automation-stack=00000000-0000-0000-0000-000000000000"
|
proxmox_api_token = "root@pam!automation-stack=00000000-0000-0000-0000-000000000000"
|
||||||
proxmox_insecure = true
|
proxmox_insecure = true
|
||||||
proxmox_node = "pve"
|
proxmox_node = "pve"
|
||||||
|
|
||||||
@@ -30,4 +30,3 @@ variable "ssh_public_keys" {
|
|||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEpwqB40k8QQq3k8160gfMKDaCJCX9qzvmuijfe3mO4I gitea-runner"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEpwqB40k8QQq3k8160gfMKDaCJCX9qzvmuijfe3mO4I gitea-runner"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user