pighole install updates

This commit is contained in:
tolerryan
2025-11-02 01:06:13 -05:00
parent 3bbb7b4296
commit 0cc3b00a9b
2 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,48 @@
---
- hosts: all
become: yes
remote_user: ansible
gather_facts: true
vars:
tasks:
- name: set-debcache.yml - Setup apt proxy debcache
import_tasks: ../../lib/set-debcache.yml
- name: Upgrade-packages.yml - update packages
import_tasks: ../../lib/upgrade-packages.yml
- name: Install-docker.yml - setting up docker
import_tasks: ../../lib/install-docker.yml
- name: Setup-netbird.yml - setting up netbird mesh vpn
import_tasks: ../../lib/setup-netbird.yml
- name: setup-restic.yml - setup restic
import_tasks: ../../lib/setup-restic.yml
- name: Create james user
user:
name: james
uid: 2005
group: docker
state: present
create_home: yes
home: /data
shell: /bin/bash
- name: Add Authorized key for james user
ansible.posix.authorized_key:
user: james
state: present
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL+mOQoCMlroQQWqHYo50rFbZ0j+K6v8YW99xznYSjWL fake@gmail.com"
- name: Install Python Packages
apt:
name:
- python3-full
- python3-pip
state: present
update_cache: yes