mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-12-22 08:21:40 +01:00
ansible: add dotfiles-update tag
This commit is contained in:
parent
2b2954d31a
commit
eb97bec778
|
@ -23,10 +23,14 @@
|
|||
clone: true
|
||||
update: false
|
||||
register: git_clone_result
|
||||
tags:
|
||||
- dotfiles-update
|
||||
|
||||
- debug:
|
||||
var: git_clone_result['after']
|
||||
when: git_clone_result['before'] == "null"
|
||||
tags:
|
||||
- dotfiles-update
|
||||
|
||||
- name: Update dotfiles repo
|
||||
git:
|
||||
|
@ -36,6 +40,8 @@
|
|||
update: false
|
||||
when: git_clone_result['before'] != "null"
|
||||
register: git_update_result
|
||||
tags:
|
||||
- dotfiles-update
|
||||
|
||||
- debug:
|
||||
var: git_update_result['after']
|
||||
|
@ -121,6 +127,8 @@
|
|||
- DOTFILES: "{{ dotfiles_path }}"
|
||||
args:
|
||||
creates: .vim/vim-plug
|
||||
tags:
|
||||
- dotfiles-update
|
||||
|
||||
- name: Get git config facts
|
||||
community.general.git_config:
|
||||
|
|
Loading…
Reference in New Issue
Block a user