only install needrestart from backports; pin server-scripts commit
authorRalf Jung <post@ralfj.de>
Sun, 8 Apr 2018 08:17:14 +0000 (10:17 +0200)
committerRalf Jung <post@ralfj.de>
Sun, 8 Apr 2018 08:20:25 +0000 (10:20 +0200)
base.yml
roles/journalwatch/tasks/main.yml

index 2a7c824..face9a3 100644 (file)
--- a/base.yml
+++ b/base.yml
     when: backports.rc != 0
   - name: get rid of packages we do not want
     apt: name=exim4-base,rpcbind state=absent autoremove=yes
-  - name: install needrestart, git
-    apt: name=needrestart,git state=latest default_release={{ansible_distribution_release}}-backports
+  - name: install needrestart (from backports)
+    apt: name=needrestart state=latest default_release={{ansible_distribution_release}}-backports
+  - name: install aptitude, rsync, git
+    apt: name=aptitude,rsync,git state=latest
   # server-scripts
   - name: clone server-scripts git repository
     git:
-      repo: 'git://ralfj.de/server-scripts'
       dest: /root/server-scripts
+      repo: 'git://ralfj.de/server-scripts'
+      version: 07d301fd8adeaf8ad40591a418da394ad37816ce
index 773a2b2..3a7afcb 100644 (file)
@@ -2,9 +2,9 @@
   apt: name=python3-systemd state=latest
 - name: install journalwatch
   git:
+    dest: /root/journalwatch
     repo: 'https://github.com/The-Compiler/journalwatch.git'
     version: b62f223bc36eabc193cfcf0d309d284da4f66463
-    dest: /root/journalwatch
 - name: create journalwatch config dir
   file: path=/root/.config/journalwatch state=directory
 - name: install journalwatch config files