1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/git_config/tasks
Ari Stark 2f85d62989 Add state option to git_config module (#50578)
* Add state option to git_config module

State present/absent option works like --set/--unset option for 'git config'.

* Change git_config to avoid useless parameter passed to git command

When unsetting value, command was : git config --unset foo ''.
Now command is : git config --unset foo.

* Add some integration tests to git_config module

* Add missing aliases file

* Change set up method

Using git command seems to cause troubles on some OS : changing config
by changing '.gitconfig' file.

* Remove some distros from tests pool

Git is not installed or is out of date on these distros.

* Fix aliases to skip tests on centos6

* Refactor tests of the git_config module

* Add use case when state=absent and value is defined
2019-02-11 21:49:53 -05:00
..
exclusion_state_list-all.yml Add state option to git_config module (#50578) 2019-02-11 21:49:53 -05:00
get_set_no_state.yml Add state option to git_config module (#50578) 2019-02-11 21:49:53 -05:00
get_set_state_present.yml Add state option to git_config module (#50578) 2019-02-11 21:49:53 -05:00
main.yml Add state option to git_config module (#50578) 2019-02-11 21:49:53 -05:00
precedence_between_unset_and_value.yml Add state option to git_config module (#50578) 2019-02-11 21:49:53 -05:00
setup.yml Add state option to git_config module (#50578) 2019-02-11 21:49:53 -05:00
setup_no_value.yml Add state option to git_config module (#50578) 2019-02-11 21:49:53 -05:00
setup_value.yml Add state option to git_config module (#50578) 2019-02-11 21:49:53 -05:00
unset_check_mode.yml Add state option to git_config module (#50578) 2019-02-11 21:49:53 -05:00
unset_no_value.yml Add state option to git_config module (#50578) 2019-02-11 21:49:53 -05:00
unset_value.yml Add state option to git_config module (#50578) 2019-02-11 21:49:53 -05:00