mirror of
https://github.com/DO1JLR/ansible_linux_desktop_setup.git
synced 2024-09-14 19:54:51 +02:00
93 lines
3 KiB
Markdown
93 lines
3 KiB
Markdown
Ansible Linux Desktop Setup
|
|
==========================
|
|
This ansible playbook collection creates [L3D](https://chaos.social/@l3d)s Desktop enviroment. Including window manager and some pre-installed programms like [Firefox](https://www.mozilla.org/de/firefox/new/) and some usefull shell programms.
|
|
|
|
ATTENTION
|
|
-------------
|
|
Different to my other ansible playbooks:
|
|
|
|
### THIS PLAYBOOK HAS TO BE EXECUTET AT THE TARGET HOST DIRECTLY!
|
|
|
|
*It requires some GUI stuff and I did not find the time to forward X or wayland correctly to make it remotely working. Sorry. Feel free to create a Issue or pull-request*
|
|
|
|
<!-- ansible pacman module error?
|
|
There is an open issue about this! https://github.com/ansible/ansible/issues/63077
|
|
|
|
Dirtifix:
|
|
|
|
sudo wget -O /usr/lib/python3.8/site-packages/ansible/modules/packaging/os/pacman.py https://raw.githubusercontent.com/ansible/ansible/v2.8.6/lib/ansible/modules/packaging/os/pacman.py
|
|
|
|
-->
|
|
|
|
What is happening here exactly?
|
|
--------------------------------
|
|
For a complete overview please have a look at the ``README.md`` Files from each ansible role.
|
|
|
|
*alphabetical Order*
|
|
+ akku-warning:
|
|
- monitor akku charging in the background via cronjob
|
|
- create a popup if the akku is under 25%
|
|
+ arch-fonts:
|
|
- will install some fonts, if you are using arch linux
|
|
+ authorized_keys:
|
|
- Manage SSH Public Keys, Users and authorisation
|
|
+ dotfiles:
|
|
- Create some dotfiles like .vimrc and .bashrc
|
|
+ i3wm:
|
|
- install and configure i3 window manager
|
|
+ install-firefox:
|
|
- Install firefox including some plugins - if you are using arch
|
|
+ networkmanager:
|
|
- install NetworkManager including some requirements
|
|
+ nextcloud:
|
|
- install nextcloud-client (on arch)
|
|
+ no-sleep:
|
|
- didable suspend and screen saver
|
|
- install lock after time (optional)
|
|
+ ntp:
|
|
- it is about time!
|
|
+ openvpn:
|
|
- install some requirements to use openvpn
|
|
+ pulseaudio
|
|
- install pulseaudio with some requirements
|
|
+ steam:
|
|
- install steam client (incomplete)
|
|
+ winehq:
|
|
- install wine
|
|
+ workstation_paclages:
|
|
- install some office packages
|
|
- install some terminal packages
|
|
+ xrandr:
|
|
- install xrandr and arandr
|
|
|
|
Install tipps:
|
|
-----------------------
|
|
```bash
|
|
# Clone Git
|
|
git clone --recursive https://github.com/DO1JLR/ansible_thinkpad_setup.git ansible_thinkpad_setup
|
|
|
|
# go into the folder
|
|
cd ansible_thinkpad_setup
|
|
|
|
# Download needed submodules
|
|
git submodule update --init --recursive
|
|
|
|
# make sure you always check out the submodules
|
|
git config --global submodule.recurse true
|
|
```
|
|
|
|
Which playbook?
|
|
---------------
|
|
L3D use different playbook for different workstations.<br/>
|
|
Maybe he change this in the future... But now this is the current state.
|
|
|
|
To use this by yourself copy or change a existing playbook and modify the variables.
|
|
|
|
Or create a new git repo and be inspired by the roles L3D uses.
|
|
|
|
|
|
Feedback
|
|
------------
|
|
If you find this usefull please take a few secounds and say thankyou to L3D.
|
|
|
|
He is at the most [chaos ecents](https://events.ccc.de), simple give him a Tschunk or Club Mate there!
|