updated kanshi installer
This commit is contained in:
parent
b848d69be1
commit
674675585e
@ -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
|
|
@ -68,6 +68,7 @@
|
|||||||
command: chsh -s $(which zsh) gianm
|
command: chsh -s $(which zsh) gianm
|
||||||
register: shell_change
|
register: shell_change
|
||||||
changed_when: shell_change.rc != 0
|
changed_when: shell_change.rc != 0
|
||||||
|
when: ansible_user_shell == "/bin/bash"
|
||||||
|
|
||||||
- name: check if on my zsh is installed
|
- name: check if on my zsh is installed
|
||||||
stat:
|
stat:
|
||||||
@ -119,9 +120,3 @@
|
|||||||
file:
|
file:
|
||||||
path: "{{ tmp_dir }}"
|
path: "{{ tmp_dir }}"
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
# - name: Setup done rebooting
|
|
||||||
# become: true
|
|
||||||
# command: reboot
|
|
||||||
# register: rebooting
|
|
||||||
# changed_when: rebooting.rc != 0
|
|
@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
packages: ["zsh", "yadm", "nodejs","firefox","chromium"]
|
packages: ["zsh", "yadm", "nodejs","firefox","chromium","telegram-desktop"]
|
||||||
|
Loading…
Reference in New Issue
Block a user