From 30605ceaa07662626aff08a7c14d303cdf99336c Mon Sep 17 00:00:00 2001 From: Lilian Roller Date: Tue, 12 Nov 2019 17:33:14 +0100 Subject: [PATCH] fix old debian error --- tasks/main.yml | 4 +++- vars/main.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 81d0a70..6cf0b20 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -151,4 +151,6 @@ - vim - gedit state: present - when: install_editor | bool + when: + - install_editor | bool + - ansible_distribution_version != '7' and ansible_distribution_release != 'wheezy' and ansible_machine != 'armv6l' diff --git a/vars/main.yml b/vars/main.yml index f06ca11..b5b31f5 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -8,5 +8,5 @@ bash: shell: "/bin/bash" keyboard: '$(if [[ $(id -u) -ne 0 ]];then echo "\[\033[01;33m\]"; else echo "\[\033[01;31m\]"; fi) $(if [[ $? == 0 ]]; then printf "\xE2\x9D\xA4"; fi) \[\033[01;32m\]\u\[\033[01;36m\]@\[\033[01;32m\]\H\[\033[01;34m\] <\A> \[\033[01;35m\] \j \[\033[01;36m\] \w \[\033[01;33m\]\n\[\033[01;33m\] $(git branch 2>/dev/null | sed -n "s/* \(.*\)/\1 /p")$\[\033[01;00m\] ' -playbook_version_number: 2048 # should be over ninethousand +playbook_version_number: 2049 # should be over ninethousand playbook_version_path: 'role_dotfiles_chaos-bodensee_github.version'