From 3638e929b5cf1e0a50610b0befae06a5d8def2b3 Mon Sep 17 00:00:00 2001 From: Lars Beckers <lars.beckers@rwth-aachen.de> Date: Fri, 29 Apr 2016 15:05:13 +0200 Subject: [PATCH] fix tsm7 role --- tsm7-client/tasks/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tsm7-client/tasks/main.yml b/tsm7-client/tasks/main.yml index f65d9de..b4e968d 100644 --- a/tsm7-client/tasks/main.yml +++ b/tsm7-client/tasks/main.yml @@ -1,22 +1,38 @@ --- # file: roles/tsm-client/tasks/main.yml +- name: ensure apt https transport is available for our repo + apt: name=apt-transport-https state=latest + tags: + - tsm + - repos + - packages - name: ensure fsmpi-repo-key is in keyring apt_key: data="{{ lookup('file', 'repo.gpg') }}" state=present tags: + - tsm - repos - name: ensure the fsmpi-repo is activated apt_repository: repo='deb [arch=amd64] https://www-intern.fsmpi.rwth-aachen.de/debian tivoli7 main' state=present tags: + - tsm - repos - name: ensure the http fsmpi-repo is deactivated apt_repository: repo='deb [arch=amd64] http://www-intern.fsmpi.rwth-aachen.de/debian tivoli7 main' state=absent tags: + - tsm - repos +- name: update apt cache and upgrade existing packages + apt: update_cache=yes upgrade=dist + tags: + - tsm + - packages + - deb-updates + - name: ensure systemd service file is available copy: src=dsmc.service dest=/etc/systemd/system/dsmc.service notify: -- GitLab