1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_linux_desktop_setup.git synced 2024-09-14 19:54:51 +02:00

Merge pull request #62 from DO1JLR/b

Update to latest version
This commit is contained in:
L3D 2024-08-29 16:33:40 +02:00 committed by GitHub
commit 00acad8d8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 46 additions and 11 deletions

3
.gitmodules vendored
View file

@ -73,3 +73,6 @@
[submodule "roles/roles-ansible.gopass"] [submodule "roles/roles-ansible.gopass"]
path = roles/roles-ansible.gopass path = roles/roles-ansible.gopass
url = https://github.com/roles-ansible/ansible_role_gopass.git url = https://github.com/roles-ansible/ansible_role_gopass.git
[submodule "roles/hax0rbana_adam.librewolf"]
path = roles/hax0rbana_adam.librewolf
url = https://gitlab.hax0rbana.org/public-repos/ansible/librewolf.git

View file

@ -49,6 +49,37 @@ To use this by yourself copy or change a existing playbook and modify the variab
Or create a new git repo and be inspired by the roles L3D uses. Or create a new git repo and be inspired by the roles L3D uses.
Add a New Device
------------------
1. After you installed the OS and cloned this git repo with all sumodules, you have to change the inventory.py script.
* Make sure you changed the ``INIT_HOST`` boolean variable to just install gopass.
* After running the playbook create a gopass and set a few passwords
* Add new device to ``env_dict`` and restore the ``INIT_HOST`` value
* Run ansible
Used Gopass Variables
-----------------------
For ``work`` devices:
```ini
private/ansible/hosts/<hostname>/users/
├── l3d/
│ ├── pwd
│ └── pwd_hash
├── lilian/
│ ├── pwd
│ └── pwd_hash
└── root
```
For ``private`` devices:
```ini
ansible/hosts/<hostname>/users/
├── l3d/
│ ├── pwd
│ └── pwd_hash
└── root
```
Feedback Feedback
------------ ------------
If you find this usefull please take a few secounds and say thankyou to L3D. If you find this usefull please take a few secounds and say thankyou to L3D.

@ -1 +1 @@
Subproject commit 37c8560542f4dd52fe695d23ebc043e52c6a6b8c Subproject commit 96d5e6e50e972ae1bfc61cf1fb71c0738230c213

@ -1 +1 @@
Subproject commit 184a80834808af18d6ee25131708bbbc3e0edf3c Subproject commit b750665aae34884114b00faa149612aa78f93c53

@ -1 +1 @@
Subproject commit 71e2d93e7c1a5a1a19222315a6840d71f44d992a Subproject commit 7a230b71aad5e27da171bb160a7516977be97184

View file

@ -85,11 +85,10 @@ i3_run_on_startup:
- nm-applet - nm-applet
# roles/do1jlr.base # roles/do1jlr.base
l3d_pkgs__install_advanced: true packages__install_advanced: true
l3d_pkgs__install_python: true packages__install_python: true
l3d_pkgs__install_cli: true packages__install_cli: true
l3d_pkgs__install_extra_packages: packages__install_desktop: true
- keychain
# globaly enably simple versionscheck - if available # globaly enably simple versionscheck - if available
submodules_versioncheck: true submodules_versioncheck: true

View file

@ -12,7 +12,7 @@ INIT_HOST=False
# create a dict to match hostnames to enviroments # create a dict to match hostnames to enviroments
env_dict = { env_dict = {
'work': 'work':
[], ['macbook.local'],
'private': 'private':
['derpy.local', 'applejack.local', 'rarity.local', 'discord.local'] ['derpy.local', 'applejack.local', 'rarity.local', 'discord.local']
} }

@ -0,0 +1 @@
Subproject commit df230cb887e3ecbf25dcbfa3dbc3409af3446ab1

@ -1 +1 @@
Subproject commit 5059bd985a4a410b49bd3f2baf35679e779d6fdf Subproject commit 7124ef6103f7e4e9a6ad4a6eeebe53f29ee54c0b

@ -1 +1 @@
Subproject commit d35207a72a336f41bfce5af1ced1085bce993ee5 Subproject commit 76941650c150e5ebca9f1131be0bfb8edc776239

View file

@ -28,6 +28,7 @@
- {role: gantsign.bat, tags: bat} - {role: gantsign.bat, tags: bat}
- {role: l3d.wm.i3, tags: i3wm} - {role: l3d.wm.i3, tags: i3wm}
- {role: l3d.wm.sway, tags: sway} - {role: l3d.wm.sway, tags: sway}
- {role: hax0rbana_adam.librewolf, tags: librewolf}
# - {role: amdgpu_firmware, tags: firmware} # - {role: amdgpu_firmware, tags: firmware}
- {role: do1jlr.htop, tags: htop} - {role: do1jlr.htop, tags: htop}