projects
/
noc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd518a4
)
don't install dbus snd pam-systemd on non-systemd hosts
author
Christian Pointner
<equinox@realraum.at>
Sat, 1 Apr 2017 02:06:29 +0000
(
04:06
+0200)
committer
Christian Pointner
<equinox@realraum.at>
Sat, 1 Apr 2017 02:06:29 +0000
(
04:06
+0200)
roles/base/tasks/main.yaml
patch
|
blob
|
history
diff --git
a/roles/base/tasks/main.yaml
b/roles/base/tasks/main.yaml
index
02c1682
..
f93e286
100644
(file)
--- a/
roles/base/tasks/main.yaml
+++ b/
roles/base/tasks/main.yaml
@@
-42,8
+42,6
@@
- mtr-tiny
- tcpdump
- debian-goodies
- - dbus
- - libpam-systemd
- lsof
- haveged
- ntp
@@
-54,6
+52,13
@@
- file
- zsh
+- name: install systemd specific packages
+ apt: name={{ item }} state=present
+ with_items:
+ - dbus
+ - libpam-systemd
+ when: ansible_service_mgr == "systemd"
+
- name: install zshrc
copy: src={{ item.src }} dest={{ item.dest }} mode=0640
with_items: