klal
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
2026-02-25 14:18:31 +01:00
parent 4698dd4594
commit 50cb7d2525
3 changed files with 17 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
#SPDX-License-Identifier: MIT-0
--- ---
# handlers file for cloud_init - name: Restart cloud-init
ansible.builtin.systemd:
name: "{{ cloud_init_service }}"
state: restarted

View File

@@ -0,0 +1,6 @@
# Ansible managed
system_info:
default_user:
name: {{ cloud_init_default_user }}
lock_passwd: {{ cloud_init_lock_passwd }}

View File

@@ -1,6 +1,13 @@
- name: Install Kubernetes on Ubuntu 24 - name: Install Kubernetes on Ubuntu 24
become: "{{ 'no' if inventory_hostname == 'nas.home.lan' else 'yes' }}" become: "{{ 'no' if inventory_hostname == 'nas.home.lan' else 'yes' }}"
block: block:
- name: Create apt proxy file
ansible.builtin.copy:
dest: /etc/apt/apt.conf.d/02proxy
content: |
Acquire::http::Proxy "http://192.168.77.101:3142";
Acquire::https::Proxy "false";
- name: Remove multiple files - name: Remove multiple files
file: file:
path: "{{ item }}" path: "{{ item }}"