Cristian Ciupitu
138b45e32f
hostname module: don't filter hostnamectl with awk
...
There's no need to filter hostnamectl's output with awk because its man
page says:
hostnamectl [OPTIONS...] {COMMAND}
--static, --transient, --pretty
If status is used (or no explicit command is given) and one
of those fields is given, hostnamectl will print out just
this selected hostname.
E.g. hostnamectl --static status => ansible.example.org
11 years ago
Cristian Ciupitu
0749112286
Micro-optimization: replace s.find(x)!=-1 with x in s
...
timeit shows a speedup of ~3x on Python 2.7.5 x86_64.
It also makes the code a bit shorter.
11 years ago
Michael DeHaan
d186196901
Remove nova_fip (redundant merge relative to quantum module)
11 years ago
follower
c4f20be774
Fix typo
...
"a the" -> "the"
11 years ago
Michael DeHaan
01b7465a03
Merge pull request #6504 from follower/patch-2
...
Fix typo
11 years ago
Michael DeHaan
9e8a4c9d23
Merge pull request #6502 from follower/patch-1
...
Fix typo in example name
11 years ago
follower
af6109c169
Fix typo
...
"resort" -> "result"
11 years ago
follower
e05e57e0a9
Fix typo in example name
11 years ago
Brian Coca
b81a3bbb20
fixed bad detection of change on default and premature break
11 years ago
tmperret
94198690c1
Made load_balencers in ec2_lc non-required as not all ASGs require an ELB
11 years ago
Michael DeHaan
8082f74798
Add GCE guide and retool a bit to show the add_host interactions, improvements/upgrades are welcome.
...
Had to shoot the recently merged nova_group module in the head temporarily as it contained a dict comprehension, which means it can't work on all the platforms
and was also breaking docs builds on CentOS. Will engage with list about that shortly.
11 years ago
Michael DeHaan
30cdac6061
Fix docs for ec2_lc module.
11 years ago
Michael DeHaan
34f961157d
Merge pull request #6491 from jlaska/apt_repository_signing_fix
...
[apt_repository] Correct check_mode conditional logic
11 years ago
James Tanner
9d6518de5a
Fixes #6482 Check sysctl file path and catch read exceptions
11 years ago
James Laska
5cfefb326a
Correct check_mode conditional logic
...
The desired behavior is to _not_ add the ppa signing key when check_mode is
enabled. This fix corrects the conditional logic to comply with the stated
behavior.
11 years ago
Patrick Gerken
38d6956c1f
Properly catch import errors in apt
...
When one accidentally tries to run this module as a user, he gets the error message that python-apt must be installed, no matter what. Because importing apt will trigger an exception as a regular user. Explicitly catching the ImportError will let the exception bubble. The exception clearly says Permission denied somewhere, and the user has a better idea, what he must fix.
11 years ago
Michael DeHaan
9eb3f8779c
Merge pull request #6468 from philpep/fix_apt_key
...
apt_key: Fix traceback when key_id format is invalid
11 years ago
Michael DeHaan
9c189ed7a4
Merge pull request #6470 from patrickheeney/doc-git-fix
...
Fix documentation for accept_hostkey in GIT module
11 years ago
Paul Durivage
32996bf121
Documentation updates
11 years ago
James Cammarata
b93b99871b
Fix small typo resulting in a traceback for the apt_key module
11 years ago
patrickheeney
fae36165a2
Fix documentation for accept_hostkey
11 years ago
Philippe Pepiot
92e8e59cad
apt_key: Fix traceback when key_id format is invalid
...
Signed-off-by: Philippe Pepiot <phil@philpep.org>
11 years ago
Richard Isaacson
e6f6a73328
Merge pull request #6461 from risaacson/modules_make_run_command_safer
...
Modules make run command safer
11 years ago
Richard C Isaacson
2b53ece3ab
mysql_db module: typo fix
...
Tests clean.
11 years ago
Richard C Isaacson
427221786c
Shell updates.
11 years ago
James Cammarata
bd16cce3e9
Merge pull request #6460 from jsmartin/riak-bugfix
...
Fixes various typos, fetch_url now working, changed command composure for wait_for_service
11 years ago
James Cammarata
ccc0a8cbb0
Fix regression in dnsmadeeasy module caused by fetch_url change
...
Also:
* changed this module to use https for requests to the API
* fixed a bug in which a traceback was caused when the domain wasn't found
Fixes #6457
11 years ago
James Martin
3d032b9db9
Fixes various typos introduced in a9017af2bb
.
...
Fixes odd encoding problem with wait_for_service.
11 years ago
Michael DeHaan
78ebf5d266
Still more shell fixes.
11 years ago
Michael DeHaan
98500b335b
Fixup shell handling in monit module.
11 years ago
Michael DeHaan
dac90278db
More shell fixes
11 years ago
James Tanner
6067d826e4
Close parens in portinstall
11 years ago
Michael DeHaan
4e8b97ddeb
More shell updates
11 years ago
James Tanner
e7f74251c8
Fix missing colons in cpanm
11 years ago
James Tanner
89024f5d9f
Fix typo in portinstall
11 years ago
Michael DeHaan
c193604f60
Some more run_command updates.
11 years ago
Michael DeHaan
81b4ebbe1d
Fixes for run_command shell usage in remainder of packaging modules, save portinstall.
11 years ago
Michael DeHaan
6010e74839
Various commits to enable no-shell or safe-shell usage, more to come.
11 years ago
Patrick Smith
4173608b58
git: Execute git commands in `dest` directory
11 years ago
Richard C Isaacson
154f123b7f
setup module: Mark unsafe commands as use_unsafe_shell=True.
11 years ago
James Cammarata
d8a81c488e
Remove validate_certs parameter from fetch_url calls
11 years ago
James Cammarata
a9017af2bb
Adding validate_certs to all modules that use fetch_url
11 years ago
Ryan
e4805fe411
add module param to Network & sub-classes
...
add module param to Network and sub-classes of Network, so that ansible 1.5.1 changes to LinuxNetwork apply to all Network classes.
11 years ago
Michael DeHaan
c8db3c2db9
Revert "Fix issue#6430 by instantiating Network() with expected arguments"
...
This reverts commit 2a723e908e
.
11 years ago
James Laska
2a723e908e
Fix issue#6430 by instantiating Network() with expected arguments
11 years ago
Michael DeHaan
e0147f18b1
Merge pull request #6421 from bcoca/stat_noread_nomd5
...
now stat skips md5 if file isn't readable
11 years ago
Richard Isaacson
681dcf437a
Merge pull request #6429 from risaacson/migrate_booleans_bool_django_manage
...
Bulk update of choices=BOOLEANS to type='bool'
11 years ago
Richard Isaacson
0fd80f3f6f
Merge pull request #6428 from risaacson/migrate_booleans_bool_postgresql_user
...
Bulk update of choices=BOOLEANS to type='bool'
11 years ago
Richard Isaacson
d0795a8336
Merge pull request #6427 from risaacson/migrate_booleans_bool_rax_files_objects
...
Bulk update of choices=BOOLEANS to type='bool'
11 years ago
Richard Isaacson
a6c89a86f6
Merge pull request #6426 from risaacson/migrate_booleans_bool_rax_files
...
Bulk update of choices=BOOLEANS to type='bool'
11 years ago