Fix lint nagging for zsh and bash roles
This commit is contained in:
parent
3a72d8da53
commit
6c8d6e1ac7
2 changed files with 19 additions and 18 deletions
|
@ -14,14 +14,14 @@
|
|||
when: ansible_facts['distribution'] == 'Debian'
|
||||
|
||||
- name: Copy rc files
|
||||
copy: src={{ item.src }} dest={{ item.dest }} backup=true
|
||||
copy: src={{ item.src }} dest={{ item.dest }} backup=true mode=0644
|
||||
with_items:
|
||||
- {src: 'inputrc', dest: '~/.inputrc'}
|
||||
- {src: 'bash_profile.ansible', dest: '~/.bash_profile.ansible'}
|
||||
- {src: 'bashrc.ansible', dest: '~/.bashrc.ansible'}
|
||||
|
||||
- name: Source rc.ansible files
|
||||
lineinfile: path={{ item.path }} line={{ item.line }} create=true insertbefore=BOF
|
||||
lineinfile: path={{ item.path }} line={{ item.line }} mode=0644 create=true insertbefore=BOF
|
||||
with_items:
|
||||
- {path: '~/.bashrc', line: '. "$HOME"/.bashrc.ansible'}
|
||||
- {path: '~/.bash_profile', line: '. "$HOME"/.bash_profile.ansible'}
|
||||
|
@ -30,5 +30,6 @@
|
|||
git:
|
||||
repo: https://github.com/magicmonty/bash-git-prompt.git
|
||||
dest: ~/.bash-git-prompt
|
||||
clone: yes
|
||||
update: no
|
||||
clone: true
|
||||
version: master
|
||||
update: false
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
when: ansible_facts['distribution'] == 'Debian'
|
||||
|
||||
- name: Copy files
|
||||
copy: src={{ item.src }} dest={{ item.dest }} backup=true
|
||||
copy: src={{ item.src }} dest={{ item.dest }} backup=true mode=0644
|
||||
with_items:
|
||||
- {src: 'zshrc', dest: '~/.zshrc'}
|
||||
- {src: 'zshenv', dest: '~/.zshenv'}
|
||||
|
@ -30,7 +30,7 @@
|
|||
- {src: 'p10k.zsh', dest: '~/.p10k.zsh'}
|
||||
|
||||
- name: Clone repos
|
||||
git: repo={{ item.repo }} dest={{ item.dest }} clone=yes version={{ item.version }} update=no
|
||||
git: repo={{ item.repo }} dest={{ item.dest }} clone=true version={{ item.version }} update=false
|
||||
with_items:
|
||||
- {repo: 'https://github.com/softmoth/zsh-vim-mode.git', dest: '~/.git_clones/zsh-vim-mode', version: 'main'}
|
||||
- {repo: 'https://github.com/zsh-users/zsh-autosuggestions.git', dest: '~/.git_clones/zsh-autosuggestions', version: 'master'}
|
||||
|
|
Loading…
Add table
Reference in a new issue