--- - name: add nextcloud pubkey shell: curl -sL "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x60EE47FBAD3DD469" | sudo apt-key add args: warn: False - name: add nextcloud repo apt_repository: repo: "deb http://ppa.launchpad.net/nextcloud-devs/client/ubuntu bionic main" state: present update_cache: true - name: add openrazer repo apt_repository: repo: "deb http://ppa.launchpad.net/openrazer/stable/ubuntu bionic main" state: present update_cache: true - name: add polychromatic repo apt_repository: repo: "deb http://ppa.launchpad.net/openrazer/stable/ubuntu bionic main" state: present update_cache: true - name: install apt applications apt: name: openvpn,nextcloud-client,openrazer-meta,polychromatic state: present - name: install kitty terminal emulator become: no shell: curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin launch=n && ln -s ~/.local/kitty.app/bin/kitty ~/bin/ && mkdir -p ~/.local/share/applications && cp ~/.local/kitty.app/share/applications/kitty.desktop ~/.local/share/applications && sed -i "s/Icon\=kitty/Icon\=\/home\/$USER\/.local\/kitty.app\/share\/icons\/hicolor\/256x256\/apps\/kitty.png/g" ~/.local/share/applications/kitty.desktop args: warn: False creates: ~/bin/kitty