ansible/system
Matthew d91baee7c9 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-04-27 14:36:11 -04:00
..
__init__.py package files 2014-09-26 11:04:10 -04:00
alternatives.py Add proper type to path and link 2016-03-20 00:41:14 +01:00
at.py Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
capabilities.py sys.exit removal for system/capabilities.py 2015-10-05 13:24:25 -05:00
cronvar.py Remove the +x from crypttab and cronvar (#2039) 2016-04-15 10:18:05 -04:00
crypttab.py Remove the +x from crypttab and cronvar (#2039) 2016-04-15 10:18:05 -04:00
debconf.py Adding author's github id 2015-05-14 00:49:57 -04:00
facter.py Fix facter path 2016-02-19 10:43:55 +01:00
filesystem.py Merge pull request #1493 from abulimov/filesystem_recreate_with_force 2016-01-25 23:57:04 -05:00
firewalld.py Basic ability to set masquerade options from ansible, according to current code design/layout (mostly) (#2017) 2016-04-16 14:15:00 +02:00
getent.py Adding author's github id 2015-05-14 01:00:38 -04:00
git_config.py Add git_config module (#1945) 2016-04-27 14:36:11 -04:00
gluster_volume.py Do not fail when action is delete and volume is not present 2016-01-24 20:28:01 +01:00
iptables.py Add to_destination parameter 2016-04-06 11:30:59 +01:00
kernel_blacklist.py Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
known_hosts.py avoid index error on empty list, key being true means its not None nor [] 2015-11-02 21:50:31 -05:00
locale_gen.py Add some more locales to LOCALE_NORMALIZATION 2015-08-28 13:05:25 +03:00
lvg.py Add documentation to explain that pvs will be created if needed 2016-02-24 12:43:37 +01:00
lvol.py lvol: remove unused import 2016-03-19 00:59:47 +01:00
make.py docs: fix make docs (#2107) 2016-04-26 09:10:46 -04:00
modprobe.py Fixes #634 - multiple param handling by modprobe.py 2015-10-10 21:06:10 +01:00
ohai.py Remove unneeded spaces at the end of ohai 2015-12-22 15:31:41 -06:00
open_iscsi.py Fix open_iscsi EXAMPLES section 2015-10-05 13:34:42 -05:00
osx_defaults.py osx_defaults: fix datetime 2016-04-01 20:45:33 -04:00
pam_limits.py fixed python 2.4 compatibility 2016-01-22 18:05:48 +08:00
puppet.py Merge pull request #1149 from Jmainguy/puppet_stdout 2016-04-10 08:43:39 -07:00
selinux_permissive.py minor doc fix 2015-07-29 22:11:36 -04:00
seport.py Fix seport module issue when ports argument is interpolated from a variable and is a int 2016-01-14 11:47:19 +01:00
solaris_zone.py bugfix: use correct function close calls 2015-09-30 10:13:12 -04:00
svc.py Sprinkle some LANG/LC_* where command output is parsed (#2019) 2016-04-13 10:03:26 -04:00
ufw.py system/ufw.py: Add security warning re. removing ufw application prof… 2016-04-23 08:01:19 +02:00
zfs.py Keep, but ignore createparent option 2015-12-11 00:24:29 +01:00