This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
ka
/
ansible-role-display_manager
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
new ansible apt module format
master
Markus Katharina Brechtel
5 years ago
parent
7c3b9bf263
commit
24089bf8ae
2 changed files
with
17 additions
and
20 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+13
-15
tasks/main.yml
+4
-5
tasks/maintenance.yml
+ 13
- 15
tasks/main.yml
View File
@@ -7,25 +7,23 @@
- name: make sure no other display managers are installed
apt:
name: "{{ item }}"
pkg:
- slim
- gdm3
- kdm
- sddm
state: absent
with_items:
- slim
- gdm3
- kdm
- sddm
- name: install packages
apt:
pkg: "{{ item }}"
with_items:
- xserver-xorg
- xserver-xorg-video-all
- xserver-xorg-input-all
- x11-xserver-utils
- lightdm
- lightdm-gtk-greeter
- onboard
pkg:
- xserver-xorg
- xserver-xorg-video-all
- xserver-xorg-input-all
- x11-xserver-utils
- lightdm
- lightdm-gtk-greeter
- onboard
notify: restart lightdm
- import_tasks: maintenance.yml
+ 4
- 5
tasks/maintenance.yml
View File
@@ -2,11 +2,10 @@
- name: install maintenance mode packages
apt:
name: "{{ item }}"
with_items:
- yad
- xbindkeys
- feh
name:
- yad
- xbindkeys
- feh
notify: restart lightdm
- name: maintenance user
Write
Preview
Loading…
Cancel
Save