community.general/lib/ansible/modules/extras/system
Matthew a24444eb9c Add git_config module (#1945)
* Add git_config module

This module can be used for reading and writing git configuration at all
three scopes (local, global and system). It supports --diff and --check
out of the box.

This module is based off of the following gist:
https://gist.github.com/mgedmin/b38c74e2d25cb4f47908
I tidied it up and added support for the following:
- Reading values on top of writing them
- Reading and writing values at any scope
The original author is credited in the documentation for the module.

* Respond to review feedback

- Improve documentation by adding choices for parameters, requirements
  for module, and add missing description for scope parameter.
- Fail gracefully when git is not installed (followed example of puppet
  module).
- Remove trailing whitespace.

* Change repo parameter to type 'path'

This ensures that all paths are automatically expanded appropriately.

* Set locale to C before running commands to ensure consistent error messages

This is important to ensure error message parsing occurs correctly.

* Adjust comment
2016-12-08 11:34:10 -05:00
..
__init__.py package files 2016-12-08 11:32:18 -05:00
alternatives.py Add proper type to path and link 2016-12-08 11:33:58 -05:00
at.py Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
capabilities.py sys.exit removal for system/capabilities.py 2016-12-08 11:33:25 -05:00
cronvar.py Remove the +x from crypttab and cronvar (#2039) 2016-12-08 11:34:06 -05:00
crypttab.py Remove the +x from crypttab and cronvar (#2039) 2016-12-08 11:34:06 -05:00
debconf.py remove unused variable 2016-12-08 11:32:23 -05:00
facter.py Fix facter path 2016-12-08 11:33:50 -05:00
filesystem.py Allow recreation of same FS with force=yes 2016-12-08 11:33:46 -05:00
firewalld.py Basic ability to set masquerade options from ansible, according to current code design/layout (mostly) (#2017) 2016-12-08 11:34:06 -05:00
getent.py Fix getent behaviour with fail_key=False 2016-12-08 11:32:23 -05:00
git_config.py Add git_config module (#1945) 2016-12-08 11:34:10 -05:00
gluster_volume.py Do not fail when action is delete and volume is not present 2016-12-08 11:33:48 -05:00
iptables.py Add to_destination parameter 2016-12-08 11:34:04 -05:00
kernel_blacklist.py Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
known_hosts.py avoid index error on empty list, key being true means its not None nor [] fixes #13009 2016-12-08 11:33:33 -05:00
locale_gen.py Add some more locales to LOCALE_NORMALIZATION 2016-12-08 11:33:16 -05:00
lvg.py Add documentation to explain that pvs will be created if needed 2016-12-08 11:33:50 -05:00
lvol.py lvol: remove unused import 2016-12-08 11:33:57 -05:00
make.py docs: fix make docs (#2107) 2016-12-08 11:34:09 -05:00
modprobe.py Fixes #634 - multiple param handling by modprobe.py 2016-12-08 11:33:38 -05:00
ohai.py Remove unneeded spaces at the end of ohai 2016-12-08 11:33:40 -05:00
open_iscsi.py Fix open_iscsi EXAMPLES section 2016-12-08 11:33:25 -05:00
osx_defaults.py osx_defaults: fix datetime 2016-12-08 11:34:02 -05:00
pam_limits.py fixed python 2.4 compatibility 2016-12-08 11:33:45 -05:00
puppet.py Enable stdout and stderr on sucessful runs, making show_diff useable 2016-12-08 11:34:04 -05:00
selinux_permissive.py Add selinux_permissive module, to be able to manage permissive domain 2016-12-08 11:33:06 -05:00
seport.py Fix seport module issue when ports argument is interpolated from a variable and is a int 2016-12-08 11:33:46 -05:00
solaris_zone.py bugfix: use correct function close calls 2016-12-08 11:33:21 -05:00
svc.py Sprinkle some LANG/LC_* where command output is parsed (#2019) 2016-12-08 11:34:05 -05:00
ufw.py system/ufw.py: Add security warning re. removing ufw application prof… 2016-12-08 11:34:08 -05:00
zfs.py Keep, but ignore createparent option 2016-12-08 11:33:48 -05:00