Commit graph

5879 commits

Author SHA1 Message Date
Michael DeHaan
5ac1e7d0ca Merge pull request #3209 from madduck/generalise-hacking-dir-path-discovery
Generalise hacking dir path discovery
2013-06-19 18:47:21 -07:00
Michael DeHaan
4553b3d0cf Merge branch 'generalise-hacking-dir-path-discovery' of git://github.com/madduck/ansible into envsetup2 2013-06-19 21:43:59 -04:00
Michael DeHaan
0ce7996bb6 Merge pull request #3266 from trbs/20130619_first_found
enable use of multiple terms in first_found
2013-06-19 18:39:29 -07:00
Michael DeHaan
ffb94f2e71 Merge branch 'purge' into devel 2013-06-19 21:38:39 -04:00
martin f. krafft
6a7dac6176 Fix purging of packages
A small error in the reuse of a variable caused packages to never get
purged. This commit fixes that.

Signed-off-by: martin f. krafft <madduck@madduck.net>
2013-06-19 21:37:37 -04:00
Michael DeHaan
50fa88f28a Merge branch 'fix-apt-purge' of git://github.com/madduck/ansible into purge 2013-06-19 21:35:28 -04:00
Joshua Lund
0f81d1630f * Updated all ansible.cc references in the documentation to point
to ansibleworks.com
* Fixed a few misspelled words
2013-06-19 19:34:02 -06:00
Michael DeHaan
6d6df1959c Merge pull request #3259 from dirtyharrycallahan/b_setup
bug fix: modify get_device_facts to handle servers with multiple pci domains
2013-06-19 18:24:10 -07:00
Michael DeHaan
d2721526de Small tweak, don't merge conditionals, just evaluate each in turn. 2013-06-19 21:18:05 -04:00
Michael DeHaan
58f5bfb4c1 Merge pull request #3252 from tgerla/gettingstarted
Explicitly mention the Linux requirement for the Ansible machine, remove...
2013-06-19 17:08:11 -07:00
Michael DeHaan
20104bf14d Correct description in CHANGELOG 2013-06-19 19:56:59 -04:00
Michael DeHaan
6ff05e0fc0 Update CHANGELOG 2013-06-19 19:01:18 -04:00
Michael DeHaan
d9c0a5c37d Revert "now modules can implement with_items list globbing w/o updating"
This reverts commit 4942a06bc2.

Conflicts:

	lib/ansible/runner/__init__.py
2013-06-19 19:00:18 -04:00
Daniil
07bea63533 Allow 'ec2.group' field to handle lists of groups 2013-06-20 01:23:30 +04:00
Michael DeHaan
e8db983684 Merge pull request #3267 from SirScott/changelog
It's WITH_ITEMS_USES_LIST not WITH_ITEMS_WANTS_LIST.
2013-06-19 14:16:23 -07:00
Scott Sturdivant
46c7809e6e It's WITH_ITEMS_USES_LIST not WITH_ITEMS_WANTS_LIST. 2013-06-19 09:44:21 -06:00
Michael DeHaan
0bd92d8196 Merge pull request #3262 from j2sol/add-host-name
make name the parameter, with hostname as alias
2013-06-19 08:33:12 -07:00
Michael DeHaan
5b1babbdc0 Merge pull request #3260 from lorin/migrate-noinput
django_manage: Pass --noinput to migrate
2013-06-19 08:31:19 -07:00
Michael DeHaan
d0a4f2d1e4 Merge pull request #3264 from arturaz/devel
datadog_event module requires urllib2, not httplib2.
2013-06-19 08:27:13 -07:00
trbs
87c7fa9138 enable use of multiple terms in first_found 2013-06-19 16:37:29 +02:00
Bruce Pennypacker
9098908cc8 Set master_password for modify command 2013-06-19 09:35:50 -04:00
martin f. krafft
ae42144752 Always assume purged for older python-apt
Older python-apt modules don't export Package.installed_files and there
seems to be no other way to figure out if a package is
removed-but-not-purged, so we just always assume it's purged.

Signed-off-by: martin f. krafft <madduck@madduck.net>
2013-06-19 10:56:43 +02:00
Arturas Slajus
0ea0a2c6d7 datadog_event module requires urllib2, not httplib2. 2013-06-19 11:17:05 +03:00
martin f. krafft
420f7d7ac6 Introduce non-purged package status
A package may be removed but not purged with APT. The only way to
identify this state is by looking at the list of installed files of
a package. Even if the package has no files installed, this list will be
non-empty until the package is removed:

  # python -c "import apt; c=apt.Cache(); c.update(); c.open(); p=c['ruby1.8']; print p, p.installed, p.installed_files"
  <Package: name:'ruby1.8' id:1425> None [u'']

  # dpkg --purge ruby1.8
  (Reading database ... 27904 files and directories currently installed.)
  Removing ruby1.8 ...
  Purging configuration files for ruby1.8 ...

  # python -c "import apt; c=apt.Cache(); c.update(); c.open(); p=c['ruby1.8']; print p, p.installed, p.installed_files"
  <Package: name:'ruby1.8' id:1425> None []

See http://bugs.debian.org/712749 too.

If a package is not marked installed but it still 'has_files', then it
should be processed if the request is to purge it.

Signed-off-by: martin f. krafft <madduck@madduck.net>
2013-06-19 10:00:33 +02:00
martin f. krafft
8e37a2bec9 Fix purging of packages
A small error in the reuse of a variable caused packages to never get
purged. This commit fixes that.

Signed-off-by: martin f. krafft <madduck@madduck.net>
2013-06-19 10:00:33 +02:00
George Miroshnykov
c642ba77ae Added basic support for hash_behaviour=merge in roles
Dict vars passed to roles are now properly merged
instead of simply overriding dict vars that are
coming from vars_files.
2013-06-19 09:14:20 +03:00
Jesse Keating
1074896105 make name the parameter, with hostname as alias
name is used throughout Ansible, it's the "standard". This change
applies that standard to the add_host routine and updates the docs to
reflect that. Related to https://github.com/ansible/ansible/pull/3254
2013-06-18 21:11:52 -07:00
Lorin Hochstein
1ef1b03bf6 django_manage: Pass --noinput to migrate
The django 'migrate' command should receive the --noinput command,
otherwise it can block waiting for user input.
2013-06-18 23:05:40 -04:00
Patrick Callahan
b5b862fe6f bug fix: modify get_device_facts to handle servers with multiple pci domains
On machines with multiple pci domains get_device_facts would fail to
find a matching pci device causing setup to fail. Also on some platforms
there is additional information between the pci information and 'host'.
Modified get_device_facts to call lspci with the -D option and modified
the regex to account for the pci domain and to be more selective.
2013-06-18 22:48:05 -04:00
Tim Gerla
f2cf8d3e67 Fine-tune Ansible control system OS requirements a bit 2013-06-18 18:19:58 -07:00
Michael DeHaan
fc2d25eb82 Merge pull request #3127 from bennojoy/devel
bug fix for #3077, environment settings for script
2013-06-18 17:57:10 -07:00
Michael DeHaan
575e052c6c Merge pull request #3147 from toshywoshy/setup_mtab_without_bind
changed get_mount_facts to ignore mount types 'none'
2013-06-18 17:56:49 -07:00
Michael DeHaan
132c89e681 Merge branch 'callbackinit' of git://github.com/sergevanginderachter/ansible into devel 2013-06-18 20:52:43 -04:00
Michael DeHaan
51bda285bd update changelog 2013-06-18 20:33:32 -04:00
Michael DeHaan
1e3ab98a13 Merge pull request #3219 from arturaz/devel
datadog_event module: submit your events to DataDog service.
2013-06-18 17:31:52 -07:00
Michael DeHaan
dd7f7d5593 Merge branch 'file_hard' of git://github.com/bcoca/ansible into devel
Conflicts:
	library/files/file
2013-06-18 20:31:05 -04:00
Michael DeHaan
e90d0be199 Update the changelog with everything that has happened so far. 2013-06-18 20:28:46 -04:00
Michael DeHaan
61ac8d03af Clarify module docs 2013-06-18 20:19:29 -04:00
Michael DeHaan
31b63b033b Merge conflict 2013-06-18 20:18:17 -04:00
Michael DeHaan
96134d003e Merge remote branch 'origin/devel' into devel 2013-06-18 20:17:31 -04:00
Michael DeHaan
51ba3d8c3d Merge pull request #3230 from sayap/openrc
Add OpenRC support to the service module.
2013-06-18 17:13:06 -07:00
Michael DeHaan
273f37b394 Merge pull request #3255 from jlund/sha256-example-cleanup
Removed merge conflict header
2013-06-18 17:08:59 -07:00
Michael DeHaan
7193ff5fbf Merge pull request #3250 from gildegoma/more_magical_ansible_ssh_user
Make 'ansible_ssh_user' available in templates
2013-06-18 17:08:29 -07:00
Michael DeHaan
2f1420f071 Merge pull request #3258 from j2sol/apt-doc
pkg option of apt is not required
2013-06-18 16:56:35 -07:00
Michael DeHaan
43fba4e307 Merge pull request #3256 from DMBuce/pkgbuild-update
Fix typo in PKGBUILD
2013-06-18 16:56:03 -07:00
Michael DeHaan
cbd54f6c2e Merge pull request #3257 from jimt/patch-1
spelling ansbile->ansible
2013-06-18 16:53:43 -07:00
Jesse Keating
86bc2ec08a pkg option of apt is not required
You can use apt module with update_cache and without specifying a
package. Update the docs to reflect this.
2013-06-18 16:25:46 -07:00
Jim Tittsler
240a52906e spelling ansbile->ansible 2013-06-19 10:37:02 +12:00
Buce
e04ee519ef Fix typo in PKGBUILD
ansbile.cfg -> ansible.cfg
2013-06-18 17:31:34 -04:00
Joshua Lund
bb4de94937 Removed merge conflict header 2013-06-18 15:01:01 -06:00