[TIDY] yaml auto-format

This commit is contained in:
Jannik Beyerstedt 2019-11-12 21:42:58 +01:00
parent 5d919b4443
commit 79910f93cf
17 changed files with 65 additions and 83 deletions

View file

@ -10,8 +10,7 @@
git:
repo: https://github.com/junegunn/fzf.git
dest: .fzf
register:
fzf_git
register: fzf_git
- name: (Re-)Install fzf
shell: ".fzf/install --key-bindings --no-completion --no-update-rc"
when:
@ -22,18 +21,18 @@
src: "{{ item.src }}"
dest: "{{ item.dest }}"
with_items:
- { src: '{{ role_path }}/files/dotfiles/_gitignore_global', dest: '.gitignore_global' }
- { src: '{{ role_path }}/files/dotfiles/_tmux.conf', dest: '.tmux.conf' }
- { src: '{{ role_path }}/files/dotfiles/_vimrc', dest: '.vimrc' }
- { src: '{{ role_path }}/files/dotfiles/_zshrc', dest: '.zshrc' }
- { src: '{{ role_path }}/files/dotfiles/_oh-my-zsh/custom/themes/agnoster.zsh-theme', dest: '.oh-my-zsh/custom/themes/agnoster.zsh-theme' }
- { src: '{{ role_path }}/files/dotfiles/_oh-my-zsh/custom/themes/jtbx.zsh-theme', dest: '.oh-my-zsh/custom/themes/jtbx.zsh-theme' }
- { src: "{{ role_path }}/files/dotfiles/_gitignore_global", dest: ".gitignore_global" }
- { src: "{{ role_path }}/files/dotfiles/_tmux.conf", dest: ".tmux.conf" }
- { src: "{{ role_path }}/files/dotfiles/_vimrc", dest: ".vimrc" }
- { src: "{{ role_path }}/files/dotfiles/_zshrc", dest: ".zshrc" }
- { src: "{{ role_path }}/files/dotfiles/_oh-my-zsh/custom/themes/agnoster.zsh-theme", dest: ".oh-my-zsh/custom/themes/agnoster.zsh-theme" }
- { src: "{{ role_path }}/files/dotfiles/_oh-my-zsh/custom/themes/jtbx.zsh-theme", dest: ".oh-my-zsh/custom/themes/jtbx.zsh-theme" }
- name: usersettings - Set global gitconfig
copy:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
with_items:
- { src: '{{ role_path }}/files/dotfiles/_gitconfig', dest: '.gitconfig' }
- { src: "{{ role_path }}/files/dotfiles/_gitconfig", dest: ".gitconfig" }
when: usersetup_gitconfig == true
- name: usersettings - Create .vim directory
@ -51,8 +50,8 @@
repo: "{{ item.repo }}"
dest: "{{ item.dest }}"
with_items:
- { repo: 'https://github.com/itchyny/lightline.vim', dest: '.vim/bundle/lightline' }
- { repo: 'https://github.com/w0rp/ale', dest: '.vim/bundle/ale' }
- { repo: 'https://github.com/airblade/vim-gitgutter', dest: '.vim/bundle/vim-gitgutter' }
- { repo: 'https://github.com/sheerun/vim-polyglot', dest: '.vim/bundle/vim-polyglot' }
- { repo: 'https://github.com/tpope/vim-commentary', dest: '.vim/bundle/vim-commentary' }
- { repo: "https://github.com/itchyny/lightline.vim", dest: ".vim/bundle/lightline" }
- { repo: "https://github.com/w0rp/ale", dest: ".vim/bundle/ale" }
- { repo: "https://github.com/airblade/vim-gitgutter", dest: ".vim/bundle/vim-gitgutter" }
- { repo: "https://github.com/sheerun/vim-polyglot", dest: ".vim/bundle/vim-polyglot" }
- { repo: "https://github.com/tpope/vim-commentary", dest: ".vim/bundle/vim-commentary" }