1
0
Fork 0
mirror of https://github.com/eoli3n/dotfiles synced 2024-05-26 09:26:06 +02:00

key before apt source zshSH

This commit is contained in:
eoli3n 2017-12-27 11:03:31 +01:00
parent bb7da05bf5
commit 58b86f5357
2 changed files with 19 additions and 18 deletions

1
TODO
View File

@ -17,3 +17,4 @@
- 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
- TODO: grep -ri 'git clone', dynamic git branch ?

View File

@ -1,4 +1,22 @@
---
- 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"
- 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: 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/ /'
@ -19,24 +37,6 @@
- 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"
- 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
with_items: