diff --git a/roles/gh/tasks/Debian.yaml b/roles/gh/tasks/Debian.yaml index e7841b3..0411de0 100644 --- a/roles/gh/tasks/Debian.yaml +++ b/roles/gh/tasks/Debian.yaml @@ -29,3 +29,11 @@ name: gh state: latest update_cache: true + register: gh_apt + +- debug: msg={{gh_apt}} + +- name: install zsh completions + when: gh_apt.changed + become: true + shell: gh completion -s zsh > /usr/local/share/zsh/site-functions/_gh