Commit Graph

9527 Commits (f6a4c20cc0a1a35af0826f255a58f0f3dfd79791)
 

Author SHA1 Message Date
Oleg Bulatov f6a4c20cc0 Make parsing variables for hosts and groups more consistent
This commit allows to specify arrays in [group:vars] block.

Signed-off-by: Oleg Bulatov <oleg@bulatov.me>
11 years ago
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
Cristian Ciupitu a7da5d8702 Micro-optimization of inventory.expand_hosts.detect_range 11 years ago
Michael DeHaan 7b2fb7e2d1 Merge pull request #6376 from sivel/hipchat-callback
New Callback Plugin: hipchat.py
11 years ago
Michael DeHaan d186196901 Remove nova_fip (redundant merge relative to quantum module) 11 years ago
Michael DeHaan a8cb0d610e Merge pull request #6053 from cgtx/devel
corrections for Arch PKGBUILD
11 years ago
Michael DeHaan f97bcef1c6 Merge pull request #6510 from follower/patch-3
Fix typo
11 years ago
Michael DeHaan 312ca1ca5b Merge pull request #6509 from chris-sanders-dot-org/docsite_6494
resolves #6494 - added note to page
11 years ago
follower c4f20be774 Fix typo
"a the" -> "the"
11 years ago
= c67631ccd0 resolves #6494 - added note to page 11 years ago
Michael DeHaan 28dc88ac23 Merge pull request #6505 from quiver/fix-typo-faq
Fix docs for faq
11 years ago
George Yoshida 5ef3cb26d4 Fix docs for faq
- correct spelling
11 years ago
Michael DeHaan 01b7465a03 Merge pull request #6504 from follower/patch-2
Fix typo
11 years ago
Michael DeHaan 147f3f6bc1 Merge pull request #6503 from quiver/fix-typo-playbooks_intro
Fix docs for playbooks_intro
11 years ago
Michael DeHaan 9e8a4c9d23 Merge pull request #6502 from follower/patch-1
Fix typo in example name
11 years ago
Michael DeHaan 1cd543c9a7 Merge pull request #6501 from bcoca/acl_fix_change_detection
fixed bad detection of change on default and premature break
11 years ago
follower af6109c169 Fix typo
"resort" -> "result"
11 years ago
George Yoshida 76d5b96406 Fix docs for playbooks_intro
remove unnecessary period.
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
Michael DeHaan b3a1d528aa Merge pull request #6500 from timperrett/devel
Made load_balencers in ec2_lc non-required as not all ASGs require an ELB
11 years ago
tmperret 94198690c1 Made load_balencers in ec2_lc non-required as not all ASGs require an ELB 11 years ago
James Cammarata 0ce3ee6309 Merge branch 'sivel-unit-tests' into devel 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
Franck Cuny cfe0465934 Add guide for Google Cloud Engine. 11 years ago
James Cammarata 28ebf1b2c9 Merge branch 'unit-tests' of https://github.com/sivel/ansible into sivel-unit-tests 11 years ago
James Laska aacccd441b Add integration test for apt_repository
Tests several ways to specify the repository.  For every repo added, the test
asserts that:

 * the apt-cache was updated as expected (depends on `update_cache` parameter)
 * the PPA key was installed (depends on `repo` format)
11 years ago
Michael DeHaan 0cea4d8a32 Update CODING_GUIDELINES.md 11 years ago
Michael DeHaan 30cdac6061 Fix docs for ec2_lc module. 11 years ago
Matt Martz 5062f4962f Unit tests for ansible.utils 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
Michael DeHaan b2350d8aaf Merge pull request #6480 from do3cc/patch-1
Properly catch import errors in apt
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 47bfa8b9eb Update index.rst 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
Michael DeHaan a669d6a151 Merge pull request #6477 from angstwad/docs-fix
Documentation updates
11 years ago
James Cammarata 316d1ca977 Updating CHANGELOG/RELEASES in devel for 1.5.3 and older releases 11 years ago
James Cammarata 8df29e7c8b Cleaning up some exception blocks in TestModuleUtilsBasic 11 years ago
James Cammarata a0cb974575 Be sure to return to the old directory if cwd is set in run_command 11 years ago
Paul Durivage 32996bf121 Documentation updates 11 years ago
James Tanner a348f67238 Reset the current directory after running subprocess.Popen 11 years ago
James Cammarata 69ff355726 Adding new unit tests for module_utils/basic (run_command only now) 11 years ago
James Cammarata 677008bef7 Rejoin args list into a string for run_command when using an unsafe shell
This allows the use of an args list with leading environment variables,
which otherwise would fail due to the way Popen works.
11 years ago
James Cammarata 5233d4bc31 Fix typo in run_command when sending data that is not binary 11 years ago
James Cammarata b1a37dcc08 Revert "Rejoin args list into a string for run_command when using an unsafe shell"
This reverts commit 4273cb2d8e.
11 years ago
James Cammarata 4273cb2d8e Rejoin args list into a string for run_command when using an unsafe shell
This allows the use of an args list with leading environment variables,
which otherwise would fail due to the way Popen works.
11 years ago