From 45f473b46d30f549617357db8bec9d8fd7f614ba Mon Sep 17 00:00:00 2001 From: root Date: Wed, 30 Sep 2026 16:39:48 +0000 Subject: [PATCH] cleanup --- playbooks/vim.yml | 66 ----------------------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 playbooks/vim.yml diff --git a/playbooks/vim.yml b/playbooks/vim.yml deleted file mode 100644 index 8c36521..0000000 --- a/playbooks/vim.yml +++ /dev/null @@ -1,66 +0,0 @@ - -# Nainstaluje vim, Pathogen, gruvbox -- name: Konfigurace Vimu - hosts: mailservers - gather_facts: yes - become: no - - vars: - vim_dir: "{{ ansible_env.HOME }}/.vim" - vimrc: "{{ ansible_env.HOME }}/.vimrc" - bashrc: "{{ ansible_env.HOME }}/.bashrc" - - tasks: - - name: Upgrade balicku - become: yes - ansible.builtin.apt: - update_cache: true - upgrade: full - - name: Instalace Balicku - become: yes - package: - name: "{{ item }}" - state: present - loop: - - [ vim, git, mc, curl, wget ] - - - name: Stazeni dotfiles - get_url: - dest: "{{ item.dst }}" - url: "{{ item.src }}" - backup: yes - force: true - mode: 0640 - loop: - - {src: "https://www.martus.cz/soubory/ansible/bashrc.txt", dst: "{{ bashrc }}" } - - {src: "https://www.martus.cz/soubory/ansible/vimrc.txt", dst: "{{ vimrc }}" } - - - name: Adresarova struktura - file: - path: "{{ item }}" - state: directory - owner: ansibler - group: ansibler - mode: 0750 - loop: - - "{{ vim_dir }}" - - "{{ vim_dir }}/swap" - - "{{ vim_dir }}/backup" - - "{{ vim_dir }}/autoload" - - "{{ vim_dir }}/bundle" - - - name: Pathogen pro instalaci doplnku - get_url: - dest: "{{ vim_dir }}/autoload/pathogen.vim" - url: https://tpo.pe/pathogen.vim - - - name: Vim Pluginy - git: - dest: "{{ vim_dir }}/bundle/{{ item.name }}" - repo: "{{ item.url }}" - clone: yes - update: yes - recursive: no - loop: - - { name: gruvbox, url: https://github.com/morhetz/gruvbox.git } -