Commit Graph

10431 Commits (51dfd18e1ffd1ffb2b410c8967a2632a1057e81e)
 

Author SHA1 Message Date
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
James Cammarata 40a7a306f5 Merge pull request #7236 from jcassee/robust-ssl-cert-concat
Make concatenating certs robust in urls.py
11 years ago
James Cammarata 8e45fa9b63 Moving display-related functions to new module in utils 11 years ago
Joost Cassee 978e6d2cd6 Make concatenating certs robust in urls.py
Add a newline after each certificate file explicitly to avoid problems
with files that do not end with a newline themselves.
11 years ago
James Cammarata 6069ff6e9e Adding a new system_warnings config option to supress warnings 11 years ago
James Cammarata bf7c51ad8a Adding an ec2_elb test to re-add an instance that had been removed 11 years ago
James Cammarata 93fb82a5a1 Fixing a bad merge commit in packaging/debian/changelog 11 years ago
James Cammarata f8ca24b046 Merge pull request #7225 from ciupicri/devel-rpm-changelog
Fix dates from RPM SPEC changelog
11 years ago
James Cammarata ce48e1f9ff Merge pull request #7230 from binarytemple/fix_for_issue_7228
fix issue #7228 ec2_vol crash
11 years ago
James Cammarata 6e837d4512 Adding BuildRequires lines for python-setuptools 11 years ago
bryan hunt 88aaa70f0c fix issue #7228 ec2_vol crash 11 years ago
Cristian Ciupitu 8e9c32ef20 Fix dates from RPM SPEC changelog
`make rpm` gives these warnings:

    warning: bogus date in %changelog: Thu Feb 28 2014 Michael DeHaan <michael.dehaan@g.c> - 1.5-0
    warning: bogus date in %changelog: Thu Jul 05 2013 Michael DeHaan <michael.dehaan@g.c> - 1.2-2
    warning: bogus date in %changelog: Thu Aug 6 2012 Michael DeHaan <michael.dehaan@g.c> - 0.7-0

    RPM build errors:
        bogus date in %changelog: Thu Feb 28 2014 Michael DeHaan <michael.dehaan@g.c> - 1.5-0
        bogus date in %changelog: Thu Jul 05 2013 Michael DeHaan <michael.dehaan@g.c> - 1.2-2
        bogus date in %changelog: Thu Aug 6 2012 Michael DeHaan <michael.dehaan@g.c> - 0.7-0
11 years ago
James Cammarata d287179f7b Updating Makefile for setuptools change
Fixes #7224
11 years ago
James Cammarata be1aceb268 Merge pull request #7215 from lorin/doc-ec2-nocache
Document how to turn off ec2 cache
11 years ago
Atlas Health 49d0ad0644 added example 11 years ago
Atlas Health 4258eb6be7 updated docs to include snapshot_tags option
added version
11 years ago
James Cammarata 30e4759055 Merge pull request #7208 from jf/copy-module
Fix "no_log=True" option for copy module (fixes #7193)
11 years ago
James Cammarata 863d5f3951 Merge branch 'budlight-patch-2' into devel 11 years ago
James Cammarata 04793ff640 Merge branch 'patch-2' of https://github.com/budlight/ansible into budlight-patch-2 11 years ago
Michael DeHaan 9a70dd1c94 Slight tweak to regex examples. 11 years ago