Compare commits

..

7 Commits

Author SHA1 Message Date
4314f86022 added glance host 2026-01-23 18:36:49 +01:00
Mathieu BOURBON
1fe85254d6 added update_cache before install 2026-01-23 15:14:53 +01:00
Mathieu BOURBON
67f41a881e added install of default packages 2026-01-23 15:11:28 +01:00
Mathieu BOURBON
6c943dbb9e added install of default packages 2026-01-23 15:10:27 +01:00
Mathieu BOURBON
b939dc7ccd added pihole and authelia lxc 2026-01-23 14:58:43 +01:00
Mathieu BOURBON
09e18c113f fix task file 2026-01-23 11:21:12 +01:00
Mathieu BOURBON
894d72464b updated readme 2026-01-23 11:19:10 +01:00
6 changed files with 22 additions and 16 deletions

View File

@@ -1,2 +1,3 @@
# ansible
##
###

5
install_pkgs.yml Normal file
View File

@@ -0,0 +1,5 @@
- hosts: lxc
roles:
- install_pkgs
vars:
ansible_host_key_checking: False

View File

@@ -26,3 +26,9 @@ lxc:
ansible_host: 192.168.1.227
prowlarr:
ansible_host: 192.168.1.228
pihole:
ansible_host: 192.168.1.211
authelia:
ansible_host: 192.168.1.205
glance:
ansible_host: 192.168.1.220

View File

@@ -1,14 +0,0 @@
- name: create mathieu group
ansible.builtin.group:
name: mathieu
gid: 1000
state: present
- name: Add mathieu user
ansible.builtin.user:
name: mathieu
comment: Mathieu BOURBON
uid: 1000
groups: mathieu,sudo
password: $y$j9T$4evCDro7dcJfLwGdOCHo8.$os6ODPdyNnw6sv/JfIzq7TAtTJeJDsAeczfKa9J2ts8

View File

@@ -10,5 +10,5 @@
name: mathieu
comment: Mathieu BOURBON
uid: 1000
group: mathieu,sudo
groups: mathieu,sudo
password: $y$j9T$4evCDro7dcJfLwGdOCHo8.$os6ODPdyNnw6sv/JfIzq7TAtTJeJDsAeczfKa9J2ts8

View File

@@ -0,0 +1,8 @@
- name: Install default packages
ansible.builtin.apt:
pkg:
- neovim
- curl
- wget
state: present
update_cache: yes