From: Ralf Jung Date: Sun, 8 Apr 2018 08:17:14 +0000 (+0200) Subject: only install needrestart from backports; pin server-scripts commit X-Git-Url: https://git.ralfj.de/ansible.git/commitdiff_plain/8c38100fe97219ec3be527e528b59a8029368274?ds=sidebyside only install needrestart from backports; pin server-scripts commit --- 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