From 8c38100fe97219ec3be527e528b59a8029368274 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 8 Apr 2018 10:17:14 +0200 Subject: [PATCH] only install needrestart from backports; pin server-scripts commit --- base.yml | 9 ++++++--- roles/journalwatch/tasks/main.yml | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/base.yml b/base.yml index 2a7c824..face9a3 100644 --- a/base.yml +++ b/base.yml @@ -14,10 +14,13 @@ 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 diff --git a/roles/journalwatch/tasks/main.yml b/roles/journalwatch/tasks/main.yml index 773a2b2..3a7afcb 100644 --- a/roles/journalwatch/tasks/main.yml +++ b/roles/journalwatch/tasks/main.yml @@ -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 -- 2.30.2