1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

9704 commits

Author SHA1 Message Date
Michael DeHaan
26efc7ace8 Revert "Populate module_setup from the setup module rather than special code elsewhere"
This reverts commit 58eec2e4c2.
2014-03-16 14:11:43 -04:00
Ali Asad Lotia
4a006a78b3 Whitespace fixes in incompatible param check
- Remove extra whitespace in conditional that checks if etype, entity or
  permissions are also set when entry is set.
2014-03-16 17:49:36 +00:00
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>
2014-03-16 21:47:26 +04:00
Michael DeHaan
a9896afc66 Merge pull request #6418 from bcoca/template_itnore_errors
templates ignore_errors
2014-03-16 12:44:51 -05:00
Michael DeHaan
5c05982dea Merge pull request #6448 from jirutka/fix-5679-2
Fix #5679 again after recent changes in core
2014-03-16 12:43:10 -05:00
Michael DeHaan
d5856bd475 Merge pull request #6391 from sergevanginderachter/hashmerge_inventoryscripts
Allow hash_behaviour=merge to be respected in core inventory
2014-03-16 12:42:35 -05:00
Michael DeHaan
eaef86d22b Merge pull request #6355 from hkariti/npm_install_invalid
Add a package to missing list if npm list reported it as invalid
2014-03-16 12:41:03 -05:00
Michael DeHaan
92f9f50f1a Merge pull request #6339 from threatgrid/systemd-template-svc-fix
systemd template services must not discard template part
2014-03-16 12:40:44 -05:00
Michael DeHaan
8d3e2fe79a Merge pull request #6323 from aresch/rpm_key_query_fix
Fix rpm_key on system with no gpg keys imported
2014-03-16 12:40:11 -05:00
Michael DeHaan
1211160cdb Merge pull request #6289 from rawtaz/fix-irc-nicklen
Make irc module accept the nick being shortened by the server.
2014-03-16 12:39:48 -05:00
Dag Wieers
58eec2e4c2 Populate module_setup from the setup module rather than special code elsewhere
This small change allows for individual setup actions to populate the SETUP_CACHE and not cause a subsequent facts-gathering when not needed. This follows the standard of other facts modules as laid out in #1206 and implemented in fedfd18774. It allows to test of the setup module has already been run even when gather_facts was explicitely disabled.
2014-03-16 13:37:07 -04:00
Michael DeHaan
2b2b174fd3 Merge conflict. 2014-03-16 13:36:52 -04:00
Michael DeHaan
3d44f7cd51 Merge pull request #6217 from ashokrajar/patch-1
pause plugin doesn't flush raw_input prompt
2014-03-16 12:32:58 -05:00
Michael DeHaan
0939a83174 Merge pull request #6203 from garetharmstronghp/fix_rpm_key_issue_5621
Fix issue #5621, rpm_key doesn't work for el5
2014-03-16 12:32:28 -05:00
Michael DeHaan
8a07d98f4b Merge pull request #6175 from AdmiralNemo/fix-filesystem
filesystem: Ignore blkid cache
2014-03-16 12:31:53 -05:00
Michael DeHaan
8920990d63 Merge pull request #6097 from mattjeffery/bug/modprobe_normalise_name
Normalise the module name when comparing against the module names in /proc/modules
2014-03-16 12:31:17 -05:00
Michael DeHaan
f0e236176e Merge pull request #6084 from dsedivec/devel
Fix mistaken double backslash
2014-03-16 12:30:38 -05:00
Michael DeHaan
5aef2f0687 Merge pull request #6005 from pgehres/chkconfig
Adding better failure output for chkconfig failures
2014-03-16 12:27:46 -05:00
Michael DeHaan
af7c252ba4 Merge pull request #5909 from joeybaker/patch-1
NPM install latest made more effecient
2014-03-16 12:25:51 -05:00
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
2014-03-16 13:10:28 -04:00
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.
2014-03-16 13:10:28 -04:00
Cristian Ciupitu
a7da5d8702 Micro-optimization of inventory.expand_hosts.detect_range 2014-03-16 13:10:28 -04:00
Ali Asad Lotia
9180013682 Fix acl module doc and error messages
- Fix typos in module doc
- Provide clearer error message when entry and etype are both missing
2014-03-16 16:41:37 +00:00
Michael DeHaan
7b2fb7e2d1 Merge pull request #6376 from sivel/hipchat-callback
New Callback Plugin: hipchat.py
2014-03-16 11:31:23 -05:00
Michael DeHaan
d186196901 Remove nova_fip (redundant merge relative to quantum module) 2014-03-16 12:29:19 -04:00
Steve Smith
9a8a8dfb2a Add a JIRA control module for Ansible. This version uses fetch_url rather than urllib2. 2014-03-16 17:14:04 +01:00
Michael DeHaan
a8cb0d610e Merge pull request #6053 from cgtx/devel
corrections for Arch PKGBUILD
2014-03-16 10:45:46 -05:00
Michael DeHaan
f97bcef1c6 Merge pull request #6510 from follower/patch-3
Fix typo
2014-03-16 10:41:24 -05:00
Michael DeHaan
312ca1ca5b Merge pull request #6509 from chris-sanders-dot-org/docsite_6494
resolves #6494 - added note to page
2014-03-16 10:41:01 -05:00
follower
c4f20be774 Fix typo
"a the" -> "the"
2014-03-17 00:23:16 +13:00
=
c67631ccd0 resolves #6494 - added note to page 2014-03-15 20:43:10 -04:00
Brian Coca
2d25577e11 Fixes and cleanup to file functions and module
- unified set attribute functions ... not sure why 2 identical functions
exist with diff names, now there are 3 while i repoint all modules to 1
- fixed issue with symlinks being created w/o existing src when force=no
- refactored conditionals, simplified where possible
- added tests for symlink to nonexistant source, with both force options
- made symlink on existing attomic (force)
2014-03-15 13:54:24 -04:00
Michael DeHaan
28dc88ac23 Merge pull request #6505 from quiver/fix-typo-faq
Fix docs for faq
2014-03-15 12:05:43 -05:00
George Yoshida
5ef3cb26d4 Fix docs for faq
- correct spelling
2014-03-15 23:36:42 +09:00
Michael DeHaan
01b7465a03 Merge pull request #6504 from follower/patch-2
Fix typo
2014-03-15 09:15:53 -05:00
Michael DeHaan
147f3f6bc1 Merge pull request #6503 from quiver/fix-typo-playbooks_intro
Fix docs for playbooks_intro
2014-03-15 09:15:35 -05:00
Michael DeHaan
9e8a4c9d23 Merge pull request #6502 from follower/patch-1
Fix typo in example name
2014-03-15 09:15:17 -05:00
Michael DeHaan
1cd543c9a7 Merge pull request #6501 from bcoca/acl_fix_change_detection
fixed bad detection of change on default and premature break
2014-03-15 09:14:58 -05:00
follower
af6109c169 Fix typo
"resort" -> "result"
2014-03-15 20:04:38 +13:00
George Yoshida
76d5b96406 Fix docs for playbooks_intro
remove unnecessary period.
2014-03-15 15:30:43 +09:00
follower
e05e57e0a9 Fix typo in example name 2014-03-15 19:16:14 +13:00
Brian Coca
b81a3bbb20 fixed bad detection of change on default and premature break 2014-03-15 01:10:15 -04:00
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
2014-03-14 17:43:59 -05:00
tmperret
94198690c1 Made load_balencers in ec2_lc non-required as not all ASGs require an ELB 2014-03-14 22:39:57 +00:00
James Cammarata
0ce3ee6309 Merge branch 'sivel-unit-tests' into devel 2014-03-14 14:17:01 -05:00
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.
2014-03-14 15:02:22 -04:00
Franck Cuny
cfe0465934 Add guide for Google Cloud Engine. 2014-03-14 15:02:22 -04:00
James Cammarata
28ebf1b2c9 Merge branch 'unit-tests' of https://github.com/sivel/ansible into sivel-unit-tests 2014-03-14 13:52:53 -05:00
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)
2014-03-14 13:07:12 -04:00
Michael DeHaan
0cea4d8a32 Update CODING_GUIDELINES.md 2014-03-14 11:23:34 -05:00