Can't add PPA on debian
Opened this issue · 2 comments
thefinn93 commented
msg: Invalid repository string: ppa:chris-lea/redis-server
when running install-redis | Add Repository against a Debian 8.2 host.
v0y commented
+1 Linux Mint
workaround/fix: set var redis_ppa
, empty worked for me
francisdb commented
Ubuntu 16.04
this is the output for ansible
TASK [Stouts.redis : redis-install | Add repository] ***************************
fatal: [myhost]: FAILED! => {"failed": true, "msg": "The conditional check 'redis_ppa' failed. The error was: expected token 'end of statement block', got 'chris'\n line 1\n\nThe error appears to have been in '/etc/ansible/roles/Stouts.redis/tasks/install.deb.yml': line 3, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: redis-install | Add repository\n ^ here\n"}
adding the redis_ppa
empty var indeed fixes the error but the ppa is not set up any longer
hmm, after another run without the empty redis_ppa
it now installs redis from source