From 5c7bec97cbf16b784c9e88a23734d2d789527a0d Mon Sep 17 00:00:00 2001 From: hogweed1 Date: Wed, 4 Nov 2026 00:54:58 +1000 Subject: [PATCH] well, --- environments/proxmoxes/hosts.yml | 2 ++ playbooks/resolvconf.yml | 18 +++++++++--------- playbooks/users.yml | 7 +++++++ 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/environments/proxmoxes/hosts.yml b/environments/proxmoxes/hosts.yml index ad220fa..be1e213 100644 --- a/environments/proxmoxes/hosts.yml +++ b/environments/proxmoxes/hosts.yml @@ -52,6 +52,7 @@ lxc: + atuin.guaranteedstruggle.host: etcd.guaranteedstruggle.host: #pipisa.guaranteedstruggle.host: @@ -116,6 +117,7 @@ docker: speaking-slut.guaranteedstruggle.host: pegaprox.guaranteedstruggle.host: seafile.guaranteedstruggle.host: + atuin.guaranteedstruggle.host: kubernetes: hosts: diff --git a/playbooks/resolvconf.yml b/playbooks/resolvconf.yml index 3520f2a..687a6ef 100644 --- a/playbooks/resolvconf.yml +++ b/playbooks/resolvconf.yml @@ -3,15 +3,6 @@ hosts: all become: yes tasks: - - name: Install the packages versions - ansible.builtin.package: - name: - - systemd-resolved - state: present - - name: Ensure system CA certificates are up to date - ansible.builtin.package: - name: ca-certificates - state: latest - name: Make small file register: systemd_resolved_conf copy: @@ -30,6 +21,15 @@ # Включаем DoT в строгом (strict) режиме для защиты от утечек DNSOverTLS=yes DNSStubListener=yes + - name: Install the packages versions + ansible.builtin.package: + name: + - systemd-resolved + state: present + - name: Ensure system CA certificates are up to date + ansible.builtin.package: + name: ca-certificates + state: latest - name: Make fix for resolv-conf rewriting diff --git a/playbooks/users.yml b/playbooks/users.yml index b62b461..fa541d0 100644 --- a/playbooks/users.yml +++ b/playbooks/users.yml @@ -26,6 +26,13 @@ validate: 'visudo -cf %s' + - name: Создание системной директории для принципалов + file: + path: /etc/ssh/auth_principals + state: directory + owner: root + group: root + mode: '0755' - name: auth_principals чтобы пускало по сертификату copy: dest: "/etc/ssh/auth_principals/hogweed1"