mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
eb24e33666
* 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>
13 lines
234 B
YAML
13 lines
234 B
YAML
---
|
|
# ------
|
|
# set up : set gitconfig with value
|
|
- name: set up with value
|
|
copy:
|
|
src: gitconfig
|
|
dest: ~/.gitconfig
|
|
|
|
- name: set up with value (file)
|
|
copy:
|
|
src: gitconfig
|
|
dest: "{{ output_dir }}/gitconfig_file"
|
|
...
|