Commit graph

6783 commits

Author SHA1 Message Date
Blair Zajac
3a8c9f04da apt: do not consider not-removed and not-upgraded packages as changes.
If one pins a package and does a 'apt-get dist-upgrade' then the
output looks like:

    # apt-get dist-upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    The following packages have been kept back:
      cassandra
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

The check for any changes made should only be on the 'upgraded' and
'newly installed' values and not include the 'to remove' and 'not
upgraded' values.
2013-09-28 16:50:50 -07:00
Michael DeHaan
ef28d62846 Update TestUtils.py
tests shouldn't be making symlinks to system dirs, also fixes unit test report on OS X.
2013-09-28 11:01:21 -04:00
Michael DeHaan
05b3aaa39b Merge pull request #4280 from angstwad/devel
Use set_setting in rax.py inventory module
2013-09-27 20:19:43 -07:00
Paul Durivage
532c7db03b Update example to use RAX_CREDS_FILE env var 2013-09-27 15:51:07 -05:00
Paul Durivage
e366712aca Use set_setting; alleviates pyrax requiring the ~/pyrax.cfg in order to establish identity_type 2013-09-27 15:50:32 -05:00
James Cammarata
039d4c95d9 Merge pull request #4221 from ashorin/unicode-md5
Prevent UnicodeEncodeError: 'ascii' codec can't encode characters in pos...
2013-09-27 08:50:44 -07:00
James Cammarata
0ee236bf57 Merge pull request #4257 from resmo/doc/changelog
changelog: be clear, host module is not related to ansible inventory
2013-09-26 00:51:58 -07:00
Rene Moser
1dc2582a2c be clear, host module is not related to ansible inventory 2013-09-26 09:42:58 +02:00
Michael DeHaan
a002a24973 Merge pull request #4250 from bbhoss/devel
Allow storing input from user in a pause prompt
2013-09-25 16:19:43 -07:00
Preston Marshall
3ee7b177e8 Allow storing input from user in a pause prompt 2013-09-25 17:28:25 -05:00
James Cammarata
2ed803837e Merge pull request #4228 from mragh/devel
Include database param if provided and valid in django_admin commands
2013-09-25 14:58:29 -07:00
James Cammarata
9dd2d1eb13 Merge pull request #4222 from lessmian/devel
Module lvol fails when decimal point is a colon
2013-09-25 14:54:58 -07:00
James Cammarata
80524a8f2b Merge pull request #4165 from jerm/devel
dest in s3 module does not work with ~username expansion for home directories
2013-09-25 14:54:11 -07:00
James Cammarata
484297cfa8 Added a version_added string to the new digital_ocean module param 2013-09-25 16:49:48 -05:00
James Cammarata
3fd0eefb97 Merge branch 'digital_ocean_idempotence_take2' of https://github.com/ralphbean/ansible into ralphbean-digital_ocean_idempotence_take2 2013-09-25 16:47:13 -05:00
James Cammarata
8b010cbb45 Make the ec2 wait code a little smarter
The code to determine the number of running instances could blow up
if the response from AWS did not actually contain any data. This code
makes it a bit smarter in handling, so that it will wait for a valid
response regardless of the wait condition.

Fixes #3980
2013-09-25 16:16:52 -05:00
James Cammarata
1c97831288 Merge branch 'empty_inventory' of https://github.com/spil-jasper/ansible into spil-jasper-empty_inventory 2013-09-25 15:54:05 -05:00
James Cammarata
994dfb84fc Minor pep8 cleanup and CHANGELOG update for do-until 2013-09-25 15:51:49 -05:00
James Cammarata
202c4f5294 Merge branch 'do_until_14' of https://github.com/bennojoy/ansible into bennojoy-do_until_14 2013-09-25 15:49:14 -05:00
James Cammarata
7eff2a8406 Merge branch 'ec2_inventory_route53' of https://github.com/herbyg-axial/ansible into herbyg-axial-ec2_inventory_route53 2013-09-25 15:45:51 -05:00
James Cammarata
9a66645342 Merge branch 'fix_setup' of https://github.com/tonk/ansible into tonk-fix_setup 2013-09-25 15:44:37 -05:00
James Cammarata
301a00ccf5 Merge branch 'obsd-fix-release' of https://github.com/johanwiren/ansible into johanwiren-obsd-fix-release 2013-09-25 14:49:57 -05:00
James Cammarata
478c400817 Minor pep8 cleanup in the new jail connection plugin 2013-09-25 14:48:30 -05:00
James Cammarata
0e0595bdb2 Merge branch 'jail' of https://github.com/mscherer/ansible into mscherer-jail 2013-09-25 14:47:24 -05:00
James Cammarata
b41ea366c8 Doc fix in htpasswd module due to colon on the line 2013-09-25 14:46:16 -05:00
James Cammarata
786a765063 Merge branch 'add-scheme-to-htpasswd-params' of https://github.com/PugglePay/ansible into PugglePay-add-scheme-to-htpasswd-params 2013-09-25 14:39:14 -05:00
James Cammarata
23417368df Fixing up some open_iscsi docs and CHANGELOG update 2013-09-25 14:37:56 -05:00
James Cammarata
c98ed252fe Merge branch 'open_iscsi_bis' of https://github.com/sergevanginderachter/ansible into sergevanginderachter-open_iscsi_bis 2013-09-25 14:35:01 -05:00
bennojoy
70a9a797fa Fix for accelerate when ansible_ssh_user is specified 2013-09-25 19:24:54 +05:30
Jasper Capel
d4dec5f577 Allow creating empty inventory
Instantiating the Inventory class with host_list=None now results in an
empty inventory instead of an error.
2013-09-25 15:00:35 +02:00
Andrey Shorin
fd101dd2d6 Encode to utf-8 only when needed 2013-09-25 09:29:57 +04:00
Andrey Shorin
21f5bc4242 Prevent UnicodeEncodeError: 'ascii' codec can't encode characters in position ...: ordinal not in range(128) 2013-09-25 09:29:56 +04:00
Benno Joy
16d0320408 Update playbooks2.rst 2013-09-25 10:48:43 +05:30
bennojoy
daf2f49116 doc update 2013-09-25 10:22:51 +05:30
bennojoy
0e749611ac doc update and add attempts 2013-09-25 09:56:14 +05:30
James Cammarata
776fc044dd Merge pull request #4231 from drfickle/svn_docs
Elaborate on capabilities of subversion module
2013-09-24 11:15:52 -07:00
Steve Fox
bd48251b34 Elaborate on capabilities of subversion module 2013-09-24 11:10:09 -05:00
James Cammarata
a2be93e4b8 Merge pull request #4229 from eggsby/supervisorctl
supervisorctl module: fixing typo in error handling
2013-09-24 08:48:15 -07:00
egghead
255d2d6770 supervisorctl module: fixing typo in error handling 2013-09-24 15:36:16 +00:00
Jake Kreider
bd446ef777 Include database param if provided and valid in django_admin commands 2013-09-24 10:05:45 -05:00
James Cammarata
a364308b43 Merge pull request #4225 from resmo/doc/hosts
host: minor doc style improvements
2013-09-24 07:21:32 -07:00
Tomasz Lesniewski
385ffcdfb1 Module lvol fails when decimal point is a colon 2013-09-24 16:19:07 +02:00
Rene Moser
ff84812047 host: minor doc style improvements 2013-09-24 15:47:39 +02:00
Tomasz Lesniewski
e2815a56dc Module lvol fails when decimal point is a colon 2013-09-24 15:06:18 +02:00
Michael DeHaan
314e1aafc1 Merge pull request #4220 from dagwieers/setup-dmidecode-fix
Fix for commented dmidecode output
2013-09-24 05:04:33 -07:00
Michael DeHaan
3bce12c529 Merge pull request #4218 from resmo/doc/host
host: added another example
2013-09-24 05:02:49 -07:00
Dag Wieers
5bd7664fac Fix for commented dmidecode output
This patch fixes the problem that on some system dmidecode prints out warning information as commented text. For example:

    [user@system ~]# dmidecode -s system-manufacturer
    # SMBIOS implementations newer than version 2.6 are not
    # fully supported by this version of dmidecode.
    HP

So we remove all commented lines from the output.
2013-09-24 12:46:48 +02:00
bennojoy
21529de82e dountil feature commit 2 2013-09-24 15:23:01 +05:30
bennojoy
53e48b63a9 dountil feature commit 1 2013-09-24 13:59:38 +05:30
Rene Moser
803b2b91a6 host: added another example 2013-09-24 09:15:16 +02:00