Stephen Fromm
d43f5d3ab7
Update stat module to handle symlinks
...
Add follow parameter to stat module that controls whether to follow
symlinks. It defaults to no.
This then calls os.stat or os.lstat based on the value of follow.
Add lnk_source key/value pair if path is a symlink and follow=no.
Drop the statement that sets isdir=False and islnk=True when path is a
symlink that points to a directory.
2013-07-16 10:27:38 -07:00
Michael DeHaan
5603c32929
Fixing your YAML Seth :)
2013-07-15 13:16:37 -04:00
trbs
98b284159f
fix missing json module for issue #3363 print JSON error as string instead
2013-07-15 16:50:31 +02:00
Brian Coca
dd1ffce0a0
now won't throw exception if we don't have permission to stat a mtab
...
entry on linux (weird chromebook issue)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-07-14 22:59:24 -04:00
Seth Vidal
915d8e1847
add examples for yum: state=latest name=*
2013-07-13 14:29:04 -04:00
Seth Vidal
de7d291d1e
add a '*' option for name to state=latest to do a global update
2013-07-13 14:28:52 -04:00
Michael DeHaan
1ba8322277
Merge pull request #3508 from ipauldev/devel
...
Allow check mode when gathering ec2 facts
2013-07-12 08:20:33 -07:00
Michael DeHaan
b22428d87e
Merge pull request #3426 from trbs/services_sleep_option
...
sleep option for service module which adds a pauze between stopping and ...
2013-07-12 08:18:22 -07:00
Michael DeHaan
22f6e6c4cd
Merge pull request #3425 from jpmens/stat1
...
files/stat: add pw_name and md5 sum to stat, and add meaningful? example
2013-07-12 07:21:09 -07:00
Michael DeHaan
2596f892f0
Merge pull request #3510 from echohead/quantum-typo
...
Correct typo in error message.
2013-07-12 05:39:12 -07:00
Tim Miller
63c105beb1
Correct typo of 'quantun' in error message.
2013-07-11 21:12:24 -07:00
ipauldev
9dd620c687
Allow check mode when gathering ec2 facts
2013-07-11 19:50:55 -05:00
Michael DeHaan
a413ddb447
Merge pull request #3501 from cristobalrosa/devel
...
Devel
2013-07-11 06:20:48 -07:00
Michael DeHaan
aa17420fc2
Merge pull request #3453 from jsmartin/cleanup
...
Fixed #3433 . Using get_bin_path, removed uneeded imports, "module" is in...
2013-07-11 06:03:19 -07:00
Michael DeHaan
6dcca9a0f9
Merge pull request #3488 from weltenwort/devel
...
Use the force=yes option for apt upgrade actions
2013-07-11 05:56:32 -07:00
Michael DeHaan
7dfafc6ec4
Merge pull request #3496 from johanwiren/bsd-ipv6-facts
...
Fix for populating default_ipv6 on BSD systems
2013-07-11 05:55:53 -07:00
Michael DeHaan
38ac6c9abd
Merge pull request #3497 from johanwiren/bsd-gateway
...
Updated setup module to collect gateway fact for BSD systems
2013-07-11 05:55:26 -07:00
Michael DeHaan
03605484f8
Merge pull request #3388 from bcoca/fixed_user_create_doc
...
updated module docs to reflect 'correct' on_create vs on_creation
2013-07-11 05:34:37 -07:00
Michael DeHaan
701f55119f
Merge pull request #3406 from podollb/devel
...
fixing small mis-spelling
2013-07-11 05:29:11 -07:00
Michael DeHaan
2a1a68a672
Merge pull request #3432 from jlund/hg-spelling
...
Fix some minor spelling mistakes in the hg module documentation
2013-07-11 05:26:57 -07:00
Michael DeHaan
e0e97c16f3
Merge pull request #3480 from j2sol/fail_doc
...
Update fail docs for new syntax
2013-07-11 05:22:47 -07:00
Johan Wirén
3e765f7775
Updated GenericBsdIfconfigNetwork to collect gateway
2013-07-11 00:05:53 +02:00
Johan Wirén
a03125e0cf
Fix for populating default_ipv6 on BSD systems
2013-07-10 22:54:33 +02:00
Joshua Lund
d75f73fffe
Added a new with_file example to the authorized_key documentation
2013-07-10 14:09:03 -06:00
Felix Stuermer
ed7b073550
Use the force=yes option for apt upgrade actions
2013-07-09 10:57:19 +02:00
Jesse Keating
64fb4f4c93
Update fail docs for new syntax
...
Use when instead of only_if
Use new variable style
2013-07-08 14:22:05 -07:00
Brian Coca
e0e50b5936
fixed check mode
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-07-08 15:41:39 -04:00
Cristobal Rosa
8304d5d060
Remove unnecesary call
2013-07-06 22:12:30 +02:00
James Martin
79a00eca47
Fixed #3433 . Using get_bin_path, removed uneeded imports, "module" is inlined, misc other style improvements.
2013-07-05 13:22:44 -04:00
Michael DeHaan
090b64f828
Revert "ini_file: add support for lists of options/values"
...
Breaks "," values in INI files
This reverts commit af051d6f77
.
2013-07-05 12:04:07 -04:00
Cristobal Rosa
d2c7f30048
Fixed monit module. Ignore uppercase letters
2013-07-05 05:49:07 +02:00
Seth Vidal
537166b1ea
- optimize for the extremely common case of people specifying pkg names which are, ultimately, already installed
...
on a system here time went from 16s for a series of pkgs to 3s to just
check that they were installed.
2013-07-04 17:35:34 -04:00
Matt Spaulding
3e631c1129
Fix git submodule update when version specified
2013-07-03 17:19:14 -07:00
Joshua Lund
bcfdc4c534
Fix some minor spelling mistakes in the hg module documentation
2013-07-03 13:23:08 -06:00
Jan-Piet Mens
494d784e91
files/stat: add pw_name and md5 sum to stat, and add meaningful? example
...
remove unnecessary import,
md5 sum on regular files only
2013-07-03 21:07:45 +02:00
Aaron Brady
34617476d0
Make the CPU facts Hyperthreading aware
2013-07-03 16:25:35 +01:00
trbs
0d8da6eeb0
sleep option for service module which adds a pauze between stopping and starting a service using state=restarted. This helps for bad scripts that exist immediatly after signaling a process to stop.
2013-07-03 17:08:07 +02:00
Antti Rasinen
c2a4645349
Fix service enable on FreeBSD
...
Some services have a knob (i.e. rc.conf setting) whose name
differs from that of the script. For example, lockd process
is controlled with a script called lockd, but the rc.conf
value is rpc_lockd_enable.
Fixes issue #3382 .
2013-07-03 14:52:23 +03:00
Ben Podoll
5157fd3ec7
fixing small mis-spelling
2013-07-01 21:33:25 -05:00
Jan-Piet Mens
e788a5d930
broken docs in files/file module!
...
remove obsolete examples: key
2013-07-01 12:18:07 +02:00
Brian Coca
b494d6d2ae
updated module docs to reflect 'correct' on_create vs on_creation
...
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-06-30 20:32:05 -04:00
Michael DeHaan
ce833be30f
Merge pull request #3292 from sfromm/git-submodule
...
Add submodule support to git module
2013-06-30 16:46:19 -07:00
Michael DeHaan
24bacabd6a
Merge pull request #3293 from jarv/devel
...
Adds termination support to the ec2 module
2013-06-30 16:40:51 -07:00
Michael DeHaan
51a7086c95
Merge branch 'files_force' of git://github.com/rhaido/ansible into devel
2013-06-30 19:24:37 -04:00
Michael DeHaan
8d23df3576
Merge pull request #3315 from madduck/fix-service-updatercd-changed
...
Let update-rc.d set changed flag properly
2013-06-30 16:09:39 -07:00
Michael DeHaan
691873ddc1
Fixup documentation YAML
2013-06-30 19:00:43 -04:00
Michael DeHaan
da0e718698
Styling: semicolon
2013-06-30 18:56:03 -04:00
Michael DeHaan
ca2c28413a
Styling: deprecation
2013-06-30 18:55:45 -04:00
Michael DeHaan
9f6a9def19
Styling: deprecation
2013-06-30 18:55:03 -04:00
Michael DeHaan
7dd8c2dda4
Styling: misc pep8
2013-06-30 18:54:32 -04:00