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