Commit Graph

10566 Commits (08406c0ee2fa4301f7529bf9c4cbb989e690a90d)
 

Author SHA1 Message Date
James Cammarata 2e2e5d5321 Use the existing module_vars during the templating of module_vars
Since some of the vars contained in there may be used in the templating
of other variables. This also reverts e83a494 which originally fixed
issue #6979 but broke some other variable related things.

Fixes #6979
Fixes #7321
Fixes #7332
11 years ago
Chris Lamb f510389298 Fail if monit reload failed; don't mask the error.
This is necessary for the scenario when you push a new, broken monit
config out, and then set a state=reloaded handler - the error was
previously swallowed so you could end up with successful play but missing
monitoring (!).

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
11 years ago
Luca Berruti a3d1f06cb2 Make alternatives module python 5 compatible 11 years ago
James Cammarata 713657d684 Make sure the default ec2_group egress rule is not removed
Upon a second run, the default egress rule will be removed when a
vpc is specified but no other egress rules were set. This patch
corrects that behavior by removing the default egress rule from the
list of unmatched outbound rules.

Fixes #7309
11 years ago
James Cammarata 77a47dbb2d Merge pull request #7304 from jimi-c/issue_7296_synchronize_relative_path
Make sure dwim'd relative path ends in a "/" if the original does
11 years ago
James Cammarata 82fd70b74d Merge branch 'drybjed-debian_version' into devel 11 years ago
James Cammarata cef86335da Merge branch 'debian_version' of https://github.com/drybjed/ansible into drybjed-debian_version 11 years ago
James Cammarata bd56cfdf18 Merge pull request #7313 from mmoya/doc-fixes
Minor typo fix
11 years ago
James Cammarata 393124e462 Add pyc/pyo to ignore list for inventory directories
Fixes #7308
11 years ago
James Cammarata 21f8c0bc96 Merge branch 'cchurch-devel' into devel 11 years ago
James Cammarata b71a451ed0 Close fds when running commands from the accelerate daemon
Fixes #7307
11 years ago
James Laska d314f1b038 [test_apt_repository] Verify that 'python-apt' auto-installs correctly
Remove 'python-apt' before testing the 'apt_repository' module.  The
'apt_repository' module has the smarts to auto-install python-apt.  The
integration test will now assert the correct auto-install behavior.
11 years ago
James Cammarata c584b6b53d Merge branch 'devel' of https://github.com/cchurch/ansible into cchurch-devel 11 years ago
Maciej Delmanowski 8e38225521 Synchronize .deb package version with VERSION file 11 years ago
James Cammarata 5c70f39213 Close fds when running commands from the accelerate daemon
Fixes #7307
11 years ago
Maykel Moya 1d3ce41e83 Fix typo 11 years ago
Brian Coca 8a84b22d76 bumped to 1.7 11 years ago
Chris Church f9c74d6e57 Add integration tests for group_by module. Fixed bug introduced by ansible/ansible#7273 while also fixing issue described in ansible/ansible#6953 11 years ago
James Cammarata 4d118d1c72 Make sure dwim'd relative path ends in a "/" if the original does
Fixes #7296
11 years ago
James Cammarata 51dfd18e1f Merge pull request #7301 from berendt/check_against_lowered_sha256sum
[get_url] check against lowered stripped sha256sum
11 years ago
Christian Berendt 2c39eff60e [get_url] check against lowered stripped sha256sum
The content of the sha256sum attribute should be lowered before comparing it with the calculated sha256sum.

In the following example the used sha256sum uses ABC.. and not abc.. and the check failed. This should not happen.

```
TASK: [get_url url=http://ftp.fau.de/apache/hadoop/common/hadoop-2.4.0/hadoop-2.4.0.tar.gz dest=/home/vagrant/hadoop-2.4.0.tar.gz mode=0644 sha256sum=024326AC68A1A68B5566B10F95609EAAFD9F70CFEB37FCA0E97CBB1674E57C3A] ***
failed: [instance000] => {"failed": true}
msg: The SHA-256 checksum for /home/vagrant/hadoop-2.4.0.tar.gz did not match 024326AC68A1A68B5566B10F95609EAAFD9F70CFEB37FCA0E97CBB1674E57C3A; it was 024326ac68a1a68b5566b10f95609eaafd9f70cfeb37fca0e97cbb1674e57c3a.

FATAL: all hosts have already failed -- aborting
```
11 years ago
James Cammarata 537494c2d6 Make sure distro variable is set if python-apt is installed
Fixes #7295
11 years ago
James Cammarata 941af22d5d Merge pull request #7294 from adamchainz/patch-1
Fix sync_binlog name in mysql_variables example
11 years ago
James Cammarata 7bf86ec1c0 Merge branch 'fixing_apache2_module' of https://github.com/berendt/ansible into berendt-fixing_apache2_module 11 years ago
Adam Chainz 967de3cdf9 Fix sync_binlog name in mysql_variables example
The previous sync_binary_log is not a real MySQL variable.
11 years ago
Michael DeHaan b6b76fe7f2 Update CHANGELOG.md 11 years ago
Michael DeHaan 1b36362b4e Update RELEASES.txt 11 years ago
James Cammarata 56d070afa8 Version bump for 1.7 11 years ago
James Cammarata ab5500072b Update packaging dates for the 1.6.0 release 11 years ago
James Cammarata 84e13e5f4c Make sure amazon test doesn't check host keys 11 years ago
James Cammarata 64d6a300b5 Merge pull request #7282 from ephur/gitignore_egginfo
ignore remnants from doing a setup.py install
11 years ago
Richard Maynard bbe3cdd9a3 ignore remnants from doing a setup.py install 11 years ago
James Cammarata d6fc9f1dfc Fixing two bugs in the ec2_elb_lb module
* the current state of the ELB was not reflected properly when checking
  the status after a change was made.
* invalid zones caused a traceback when enabling/disabling zones
11 years ago
James Cammarata faf733bc49 Removing zone choices that overly-limit available zones for gce
Fixes #7270
11 years ago
James Cammarata ef741178c4 Merge pull request #7280 from angstwad/docker_inv_fix
Docker inventory bugfix for potential traceback
11 years ago
Paul Durivage b9f7da7b44 Docker client occasionally returns a NoneType, so we have to catch the TypeError 11 years ago
James Cammarata fd03cc04e6 Merge branch 'devel' of https://github.com/denisphillips/ansible into denisphillips-devel 11 years ago
Veeti Paananen d6f4d9b76d Fix error handling on missing dest with unarchive
fixes #7107
11 years ago
Denis Phillips cd0134d290 Used module_args passed to function instead of from runner 11 years ago
Michael DeHaan 9b52ce8a42 Merge pull request #7267 from berendt/retf
fixed typos found by RETF rules in RST files
11 years ago
Christian Berendt 58ff9cd7c8 fixed typos found by RETF rules in RST files
rules are avaialble at https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/Typos
11 years ago
James Cammarata b753625dbf Refuse to convert a non-empty directory into a link with the file module
Also adds an integration test for the above.

Fixes #7254
11 years ago
James Cammarata deb532c367 Remove OrderedDict references from runner
Fixes #7256
11 years ago
James Cammarata c6f3a0a4cc Merge pull request #7243 from jimi-c/issue_7060_lang_c
Modify the way we set the localization environment
11 years ago
James Cammarata ae7503d6fb Merge branch 'fix-copy-recursive-issue' of https://github.com/tksmd/ansible into tksmd-fix-copy-recursive-issue 11 years ago
James Cammarata c0f92317ef Fixing a documentation error in the new stackdriver module 11 years ago
James Cammarata 2b898e7e8b Minor fix to imports in new stackdriver module 11 years ago
someda 50080b3774 fix #7244 recursive copy fails when setting directory attributes
- reverse the order of new_directory_list returned from split_pre_existing_dir in copy module
11 years ago
James Cammarata 6069d5d4cf Merge branch 'stackdriver' of https://github.com/bwhaley/ansible into bwhaley-stackdriver 11 years ago
James Cammarata 54b1f820fb Modify the way we set the localization environment
Previously, we set the LANG (and LC_CTYPE) environment variables
directly in the module code and applied them with os.environ().
Instead, we are now pre-pending those variables to the environment
string used to execute the command which allows the user to
override the localization values by setting the environment values
directly (even on a per-task basis):

  - subversion: repo=file:///path/to/repos/svn_über dest=/tmp/svntest
    environment:
      LANG: "C"
      LC_CTYPE: "en_US.UTF-8"

So if a user wishes to default their LANG back to C, they can still
avoid unicode issues by doing the above.

Fixes #7060
11 years ago