ansible/library
Michel Blanc 008dc4831e Improves lineinfile and adds file attr option
Added path expanding for dest in lineinfile
Added common file arguments to lineinfile so the module gets owner,
group, mode and SE options.
Decorated existing example to demonstate usage of file options and added
a couple more examples
Message is not set accordingly when file attributes were changed
'absent' handling code now handles the case where the file doesn't
exists (was issuing a Traceback before)
File attribute handling code has been added to the 'absent' handling
function too.
File attributes handling has been grouped in 'def check_file' since it's
required in both places.
'absent' mode now returns a message like it's counterpart 'present',
telling if file attributes were altered and if lines have matched.
2013-02-22 09:33:21 +01:00
..
add_host For consistency, add host should take a key named 'name' in addition to 'hostname'. 2013-02-17 20:45:37 -05:00
apt Merge pull request #2115 from kavink/devel 2013-02-20 05:28:21 -08:00
apt_key Fixed remove_key 2013-02-18 17:03:50 +01:00
apt_repository Update apt_repository to query if repo is already configured 2013-01-23 22:17:43 -08:00
assemble adjusted assemble to use new file attribute handling 2013-01-28 00:33:18 -05:00
async_status do not conditionalize this for older Python, fix indentation, better use 2012-12-17 21:07:36 +01:00
async_wrapper chmod -x for all module files in source checkout 2012-11-19 13:47:40 -05:00
authorized_key * Minor removal of some dumb I did. 2013-02-02 18:17:18 -06:00
command Various cleanup to run_command 2013-01-13 11:24:21 -08:00
copy resolve merge conflict 2013-02-17 13:13:20 -05:00
cron cron: Work even without initial crontab 2013-02-21 21:14:29 +01:00
debug DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
easy_install Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
ec2 Add support for security group id parameter, remove default for group name (since AWS already sets a default). ISSUE #2029 2013-02-20 09:31:22 +00:00
ec2_facts 'make pep8' is now clean 2013-02-17 19:48:02 -05:00
ec2_vol Correct ec2_vol doc errors 2013-02-18 10:14:09 +00:00
facter Various cleanup to run_command 2013-01-13 11:24:21 -08:00
fail DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
fetch DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
file Recurse was added in 1.1 2013-02-17 18:48:17 +01:00
fireball 'make pep8' is now clean 2013-02-17 19:48:02 -05:00
get_url Fix get_url to work on Python 2.4 2013-01-29 18:57:02 +01:00
git Simplify and correct comparisons with None. 2013-02-16 13:32:48 -05:00
group Add group support to check mode. 2013-02-17 17:33:42 -05:00
group_by Add a group_by action plugin. 2012-10-29 13:10:23 +01:00
hg Specify repo option with hg pull 2013-02-04 17:19:59 -06:00
ini_file Remove last remnants of daisychaining 2013-01-28 17:46:35 +01:00
lineinfile Improves lineinfile and adds file attr option 2013-02-22 09:33:21 +01:00
mail mail module: properly set charset 2013-02-19 11:33:38 +01:00
mongodb_user 'make pep8' is now clean 2013-02-17 19:48:02 -05:00
mount Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
mysql_db Simplify and correct comparisons with None. 2013-02-16 13:32:48 -05:00
mysql_user Simplify and correct comparisons with None. 2013-02-16 13:32:48 -05:00
nagios 'make pep8' is now clean 2013-02-17 19:48:02 -05:00
ohai Various cleanup to run_command 2013-01-13 11:24:21 -08:00
pacman Fix unparseable documentation strings 2013-01-25 14:25:12 +01:00
pause pause: Fix small documentation glitch 2013-02-20 15:17:49 +01:00
ping Working on complex argument support. 2013-02-17 15:01:49 -05:00
pip library/pip: add support for virtualenv's --system-site-packages. 2013-02-04 17:03:25 -08:00
pkgin Use module.get_bin_path for pkgin module instead of hardcoding paths 2013-02-03 23:57:34 +01:00
postgresql_db add encoding documentation in postgresql_db 2013-01-07 12:58:18 +01:00
postgresql_user Add documentation about PUBLIC user 2013-02-18 22:59:51 -05:00
rabbitmq_plugin Updating how to run commands in check mode 2013-02-10 17:20:44 -05:00
rabbitmq_user Updating how to run commands in check mode 2013-02-10 17:20:44 -05:00
rabbitmq_vhost Adding aliases 2013-02-10 17:08:33 -05:00
raw Merge pull request #1798 from dagwieers/raw-executable 2013-01-08 08:35:08 -08:00
script Make script module use raw module so it does not require python 2012-12-24 00:24:34 +01:00
seboolean DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
selinux Simplify and correct comparisons with None. 2013-02-16 13:32:48 -05:00
service 'make pep8' is now clean 2013-02-17 19:48:02 -05:00
setup Merge pull request #2138 from bcoca/2137_fix_setup_bsdjails 2013-02-20 05:29:45 -08:00
shell DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
slurp Very basic --diff option for showing what happens when templates change. 2013-02-07 22:52:25 -05:00
subversion Various cleanup to run_command 2013-01-13 11:24:21 -08:00
supervisorctl always restart the program when state=restarted 2013-02-07 15:53:36 +08:00
svr4pkg Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
sysctl sysctl module: fixed issue when checks_after fail on comparing keys with values separated by white strings 2013-02-19 15:45:08 +01:00
template Added additional template variables 2013-01-04 16:36:02 +10:00
uri Merge pull request #2119 from jpmens/uri_json 2013-02-20 05:59:38 -08:00
user check_mode is a module property 2013-02-18 13:23:45 +01:00
virt Simplify and correct comparisons with None. 2013-02-16 13:32:48 -05:00
wait_for removed env as per project policy 2012-11-27 11:18:46 -05:00
yum Teach the yum module to support --check mode. 2013-02-17 18:18:43 -05:00
zfs Fix typo in zfs module docs 2013-02-17 20:01:15 -05:00