updated kanshi installer

This commit is contained in:
Gianmarco Pettinato 2022-01-03 21:14:46 +01:00
parent b848d69be1
commit 674675585e
3 changed files with 3 additions and 37 deletions

View File

@ -1,29 +0,0 @@
- hosts: localhost
connection: local
become: yes
vars:
discord_url: https://discordapp.com/api/download?format=deb&platform=linux
discord_tmp: /tmp/discord
tasks:
- name: DISCORD - Creates temporary directory
file:
path: "{{ discord_tmp }}"
state: directory
- name: DISCORD - Download discord
get_url:
url: "{{ discord_url }}"
dest: "{{ discord_tmp }}/discord.deb"
force: yes
- name: DISCORD - Install my_package
apt:
deb: "{{ discord_tmp }}/discord.deb"
- name: DISCORD - Remove temporary directory
file:
path: "{{ discord_tmp }}"
state: absent

View File

@ -68,6 +68,7 @@
command: chsh -s $(which zsh) gianm
register: shell_change
changed_when: shell_change.rc != 0
when: ansible_user_shell == "/bin/bash"
- name: check if on my zsh is installed
stat:
@ -118,10 +119,4 @@
- name: Remove temporary directory
file:
path: "{{ tmp_dir }}"
state: absent
# - name: Setup done rebooting
# become: true
# command: reboot
# register: rebooting
# changed_when: rebooting.rc != 0
state: absent

View File

@ -1,2 +1,2 @@
---
packages: ["zsh", "yadm", "nodejs","firefox","chromium"]
packages: ["zsh", "yadm", "nodejs","firefox","chromium","telegram-desktop"]