mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
1cef1359d0
* fixed bug
- scope file was not working
- added test to guarantee that behaviour
- marked integration test as destructive, because it overwrites ~/.gitconfig
* added changelog fragment
* Update tests/integration/targets/git_config/tasks/setup_no_value.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update tests/integration/targets/git_config/tasks/get_set_state_present_file.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update tests/integration/targets/git_config/tasks/get_set_state_present_file.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update tests/integration/targets/git_config/aliases
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update changelogs/fragments/2125-git-config-scope-file.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit eb24e33666
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
13 lines
237 B
YAML
13 lines
237 B
YAML
---
|
|
# ------
|
|
# set up : deleting gitconfig file
|
|
- name: set up without value
|
|
file:
|
|
path: ~/.gitconfig
|
|
state: absent
|
|
|
|
- name: set up without value (file)
|
|
file:
|
|
path: "{{ output_dir }}/gitconfig_file"
|
|
state: absent
|
|
...
|