mirror of
https://github.com/roles-ansible/ansible_role_packages.git
synced 2024-08-16 10:19:51 +02:00
Add eth zurich
This commit is contained in:
parent
74721683b7
commit
a4bc86ec09
3 changed files with 15 additions and 1 deletions
|
@ -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
11
tasks/sources.yml
Normal 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"
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue