1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_base.git synced 2024-08-16 14:29:50 +02:00

Add eth zurich

This commit is contained in:
L3D 2019-07-15 23:09:48 +02:00
parent 74721683b7
commit a4bc86ec09
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 15 additions and 1 deletions

View file

@ -5,6 +5,9 @@
- include_tasks: editor.yml - include_tasks: editor.yml
when: editor_is_vim | bool when: editor_is_vim | bool
- include_tasks: sources.yml
when: add_ethz | bool
- name: Install common base packages [Debian] - name: Install common base packages [Debian]
become: yes become: yes
apt: apt:

11
tasks/sources.yml Normal file
View file

@ -0,0 +1,11 @@
---
- name: add etz apt
become: true
apt_repository:
repo: deb https://debian.ethz.ch/debian/ {{ ansible_distribution_release }} main
state: present
when:
- add_ethz | bool
- ansible_distribution == 'Debian'
- ansible_distribution_release == "wheezy" or ansible_distribution_release == "buster"

View file

@ -43,5 +43,5 @@ fedora_packages:
- python3-pip - python3-pip
- python3 - python3
playbook_version_number: 8952 # should be over ninethousand playbook_version_number: 8953 # should be over ninethousand
playbook_version_path: '/etc/ansible-version/base-packages_ffbsee_or_chaos-bodensee_github.version' playbook_version_path: '/etc/ansible-version/base-packages_ffbsee_or_chaos-bodensee_github.version'