Skip to content
Snippets Groups Projects
Commit afb712d5 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Merge branch 'master' of git.fsmpi.rwth-aachen.de:infra/ansible

parents 7daa3e90 3638e929
Branches
No related tags found
No related merge requests found
--- ---
# file: roles/tsm-client/tasks/main.yml # 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 - name: ensure fsmpi-repo-key is in keyring
apt_key: data="{{ lookup('file', 'repo.gpg') }}" state=present apt_key: data="{{ lookup('file', 'repo.gpg') }}" state=present
tags: tags:
- tsm
- repos - repos
- name: ensure the fsmpi-repo is activated - 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 apt_repository: repo='deb [arch=amd64] https://www-intern.fsmpi.rwth-aachen.de/debian tivoli7 main' state=present
tags: tags:
- tsm
- repos - repos
- name: ensure the http fsmpi-repo is deactivated - 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 apt_repository: repo='deb [arch=amd64] http://www-intern.fsmpi.rwth-aachen.de/debian tivoli7 main' state=absent
tags: tags:
- tsm
- repos - 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 - name: ensure systemd service file is available
copy: src=dsmc.service dest=/etc/systemd/system/dsmc.service copy: src=dsmc.service dest=/etc/systemd/system/dsmc.service
notify: notify:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment