diff --git a/discord_install.yml b/discord_install.yml deleted file mode 100644 index 0041b8d..0000000 --- a/discord_install.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/local.yml b/local.yml index 294e8ba..7ab2e69 100644 --- a/local.yml +++ b/local.yml @@ -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 \ No newline at end of file + state: absent \ No newline at end of file diff --git a/vars/packages.yml b/vars/packages.yml index 6b776ac..c9da75d 100644 --- a/vars/packages.yml +++ b/vars/packages.yml @@ -1,2 +1,2 @@ --- -packages: ["zsh", "yadm", "nodejs","firefox","chromium"] +packages: ["zsh", "yadm", "nodejs","firefox","chromium","telegram-desktop"]