remove typora and stuff from vars
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@
|
||||
dest: /etc/vconsole.conf
|
||||
mode: "0644"
|
||||
content: |
|
||||
KEYMAP=dk
|
||||
KEYMAP=fo
|
||||
|
||||
- name: Add workstation user to administrative and device groups
|
||||
ansible.builtin.user:
|
||||
|
||||
@@ -1,15 +1,4 @@
|
||||
---
|
||||
- name: Create Ansible-managed user directories
|
||||
ansible.builtin.file:
|
||||
path: "{{ item.path }}"
|
||||
state: directory
|
||||
owner: "{{ user_name }}"
|
||||
mode: "{{ item.mode }}"
|
||||
loop:
|
||||
- { path: "{{ user_home }}/.ssh", mode: "0700" }
|
||||
- { path: "{{ user_home }}/Pictures", mode: "0755" }
|
||||
become: false
|
||||
|
||||
- name: Check for the Git signing public key
|
||||
ansible.builtin.stat:
|
||||
path: "{{ git_signing_key }}"
|
||||
@@ -31,26 +20,3 @@
|
||||
content: "{{ git_email }} {{ git_signing_public_key_contents.content | b64decode | trim }}\n"
|
||||
become: false
|
||||
when: git_signing_public_key.stat.exists
|
||||
|
||||
- name: Install Typora from Flathub
|
||||
when: install_typora
|
||||
block:
|
||||
- name: Ensure Flathub is configured
|
||||
ansible.builtin.command:
|
||||
argv:
|
||||
- flatpak
|
||||
- remote-add
|
||||
- --if-not-exists
|
||||
- flathub
|
||||
- https://flathub.org/repo/flathub.flatpakrepo
|
||||
changed_when: false
|
||||
|
||||
- name: Check for Typora
|
||||
ansible.builtin.command: flatpak info io.typora.Typora
|
||||
register: typora_flatpak
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
|
||||
- name: Install Typora
|
||||
ansible.builtin.command: flatpak install --noninteractive flathub io.typora.Typora
|
||||
when: typora_flatpak.rc != 0
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
# The playbook must be started as the desktop user, not through sudo.
|
||||
user_name: "{{ lookup('env', 'USER') }}"
|
||||
user_home: "{{ lookup('env', 'HOME') }}"
|
||||
dotfiles_dir: "{{ user_home }}/dotfiles"
|
||||
@@ -142,13 +141,11 @@ rustup_components:
|
||||
- rust-analyzer
|
||||
- rust-src
|
||||
|
||||
# Direct stable release binary published by the verified Zen Browser project.
|
||||
zen_archive_url: https://github.com/zen-browser/desktop/releases/latest/download/zen.linux-x86_64.tar.xz
|
||||
zen_archive: /tmp/zen.linux-x86_64.tar.xz
|
||||
zen_install_dir: "{{ user_home }}/.tarball-installations/zen"
|
||||
zen_desktop_file: zen.desktop
|
||||
|
||||
# Existing Fedora-only tool retained from this repository.
|
||||
sqlcmd_version: "1.8.1"
|
||||
sqlcmd_archive: sqlcmd-linux-amd64.tar.bz2
|
||||
sqlcmd_url: "https://github.com/microsoft/go-sqlcmd/releases/download/v{{ sqlcmd_version }}/{{ sqlcmd_archive }}"
|
||||
|
||||
Reference in New Issue
Block a user