Compare commits
7 Commits
fa2e392f65
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 4314f86022 | |||
|
|
1fe85254d6 | ||
|
|
67f41a881e | ||
|
|
6c943dbb9e | ||
|
|
b939dc7ccd | ||
|
|
09e18c113f | ||
|
|
894d72464b |
5
install_pkgs.yml
Normal file
5
install_pkgs.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- hosts: lxc
|
||||
roles:
|
||||
- install_pkgs
|
||||
vars:
|
||||
ansible_host_key_checking: False
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -10,5 +10,5 @@
|
||||
name: mathieu
|
||||
comment: Mathieu BOURBON
|
||||
uid: 1000
|
||||
group: mathieu,sudo
|
||||
groups: mathieu,sudo
|
||||
password: $y$j9T$4evCDro7dcJfLwGdOCHo8.$os6ODPdyNnw6sv/JfIzq7TAtTJeJDsAeczfKa9J2ts8
|
||||
|
||||
8
roles/install_pkgs/tasks/main.yml
Normal file
8
roles/install_pkgs/tasks/main.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
- name: Install default packages
|
||||
ansible.builtin.apt:
|
||||
pkg:
|
||||
- neovim
|
||||
- curl
|
||||
- wget
|
||||
state: present
|
||||
update_cache: yes
|
||||
Reference in New Issue
Block a user