1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 23:12:32 +01:00

updated zsh role support jessie and stretch

This commit is contained in:
eoli3n 2017-12-27 10:54:14 +01:00
parent ffc5199b65
commit bb7da05bf5
2 changed files with 28 additions and 4 deletions

1
TODO

@ -16,3 +16,4 @@
- TODO: docker compose pour build toutes les distros ?
- TODO: update all vagrant specific task to match docker tasks
- TODO: install virtual display xephyr
- TODO: docker autobuild to docker run directly, edit README.md

@ -1,18 +1,41 @@
---
- name: Configure zsh-syntax-highlighting repo [Debian]
- name: Configure zsh-syntax-highlighting repo [Debian jessie]
apt_repository:
repo: 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/Debian_8.0/ /'
state: present
update_cache: yes
become: True
when: ansible_distribution == "Debian"
when:
- ansible_distribution == "Debian"
- ansible_distribution_release == "jessie"
- name: Add zsh-syntax-highlighting repo key [Debian]
- name: Configure zsh-syntax-highlighting repo [Debian stretch]
apt_repository:
repo: 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-syntax-highlighting/Debian_9.0/ /'
state: present
update_cache: yes
become: True
when:
- ansible_distribution == "Debian"
- ansible_distribution_release == "stretch"
- name: Add zsh-syntax-highlighting repo key [Debian jessie]
apt_key:
url: https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Debian_8.0/Release.key
state: present
become: True
when: ansible_distribution == "Debian"
when:
- ansible_distribution == "Debian"
- ansible_distribution_release == "jessie"
- name: Add zsh-syntax-highlighting repo key [Debian stretch]
apt_key:
url: https://download.opensuse.org/repositories/shells:zsh-users:zsh-syntax-highlighting/Debian_9.0/Release.key
state: present
become: True
when:
- ansible_distribution == "Debian"
- ansible_distribution_release == "stretch"
- name: Install zsh [Debian]
apt: name={{item}} state=present force=yes update_cache=yes