1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-18 09:41:31 +01:00

ansible: add dotfiles-update tag

This commit is contained in:
bretello 2024-07-04 19:10:47 +02:00
parent 2b2954d31a
commit eb97bec778
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -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: