Commit Graph

10481 Commits (70595280599d2db26ca08c16574b2818b8bc0222)
 

Author SHA1 Message Date
James Cammarata 7059528059 Cleaning up svr4pkg commit fix for #7645 11 years ago
Casey Fitzpatrick fadf02d0c6 fix for svr4pkg module failure reporting, issue #7645 11 years ago
James Cammarata 3ebecdd1ed Fixing mysql master replication boolean
Fixes #7528
11 years ago
James Cammarata 58a0bcbe51 Fix issue with symlink path detection
Fixes #7627
Fixes #7664
11 years ago
James Cammarata 10074d3622 Fix linking issue to directories in file module
The os.path.isdir() returns True for symlinks that point to directories,
so we also need to check to make sure it's not a symlink too.

Fixes #7657
11 years ago
James Cammarata 2625196f5d Fix error passing play vars to an included playbook with empty vars
Fixes #7658
11 years ago
James Cammarata e85a9abe75 Fix order of merging variables for the combined cache
Fixes #7598
11 years ago
James Cammarata b99ea2723a Removing cruft leftover from the deprecation of include+with_items
Also cleaning up integration tests that had checks for the empty item
attribute in certain results.

Fixes #7535
11 years ago
evanccopengeo 7cb7fdc2a7 fixing problem where ansible would error out because Amazon was saying the group didnt exist yet (needed to wait a few more seconds for amazon to propagate correctly) 11 years ago
James Cammarata 936e1de18b Fix error when using os.getlogin() without a tty 11 years ago
Josef Špak c4b6c0ab84 Fix typo in CHANGE MASTER TO syntax 11 years ago
Marc Pujol 4dd5eeb1c4 Ensure there are no duplicates in the merged/intersected lists 11 years ago
Marc Pujol d8c8c0823a Merge and intersect lists without using sets.
Using sets for these operations is dangerous because sets cannot contain
certain object types (such as lists) and their iteration order is
undefined.

Fixes #7596
11 years ago
Isao Jonas 3801be693b dont mutate inventory vars 11 years ago
James Cammarata 75adb3978b Check groupnames for None as well as an empty string in add_host
Fixes #7585
11 years ago
Brian Coca 4e4ffa669a Correctly examine path for relative links in file module
Fixes #7515
Fixes #7537
11 years ago
James Cammarata ce80c0b8af Support checking for su user to atomic_move
Fixes #7553
11 years ago
James Cammarata b50a64b0a1 Correct issue of handlers running on all hosts incorrectly
Also adds an integration test to catch this bug in the future.

Fixes #7559
11 years ago
Brian Coca adfbcb8760 now module searches for update-alternatives vs hardcoding it 11 years ago
James Cammarata 5128bced6b Don't use listify_ function, when all we want to do is template variables
This was causing a bug in the env module, due to the fact that we now
pass variables for the module through the templating engine combined
with the fact that we split-up the hostvars and setup variables. As a
result, if a variable in the env lookup had the same name as the variable
in Ansible, it would try and template itself over and over again until
the recursion limit would be hit, at which time an empty string was
returned.

Fixes #7396
11 years ago
Michael DeHaan 549f67c0d8 Merge pull request #7527 from hlieberman/release1.6.2
Remove colon which breaks installation of 1.6.2.
11 years ago
Harlan Lieberman-Berg d98b6ae8ab Remove colon which breaks installation of 1.6.2.
Rework the description so that it doesn't require the colon, rather
than just wrapping it in quotes.
11 years ago
James Cammarata ce4883bcc5 Version bump for 1.6.2 11 years ago
James Cammarata a75a84b44a Don't re-query inventory when trimming failed/dark hosts
Since the filter list contains hosts, passing that back to list_hosts()
in the inventoy causes issues when the hostname is an IPv6 address
(with :'s interpreted as group unions). Since we already have the list
of hosts, we should not need to pass that back through inventory a
second time.

Fixes #7446
11 years ago
James Cammarata f132e99b2a Adding the capability to proxy the ssl cert check
The ssl cert check will now respect the http and https proxy
environment settings. The url may also have the username/password
embedded, in which case basic auth will be used to connect to the
proxy server.

Fixes #7413
11 years ago
James Cammarata 4d0ce5bd41 Make sure dwim'd relative path ends in a "/" if the original does
Fixes #7296
11 years ago
jjshoe b01da1b780 Ensure the validation string has %s in it 11 years ago
James Cammarata 1248d2ce8a Fixing absolute path calculation for file module when linking
Fixes #7403
11 years ago
James Cammarata d72cd70cc8 Also set the environment variables when resetting the locale to C 11 years ago
James Cammarata 362626d07c Default use_proxy to True for fetch_url()
Also added some error handling to the fetch_url() call in the
apt_repository module, so that failures to look up the PPA info
are properly handled.

Fixes #7322
11 years ago
James Cammarata a54b8764fa Reset locale to 'C' if the specified one is invalid
Fixes #7448
11 years ago
James Cammarata 6b4584d004 Remove erroneous set of status_code causing a traceback in module uri
Fixes #7416
11 years ago
Matt Bray cb0842ab49 docker: fix targetting images by name 11 years ago
Kevin Bell 2432b45eb1 Fixed extension filtering in InventoryDirectory 11 years ago
James Cammarata d6214c5d56 Check module_path permissions when creating ssh_wrapper for git
If the module directory is not writable/executable to the current user
(most likely because of a sudo to a non-root user), the ssh_wrapper
will be created in the default location for mkstemp() calls. To facilitate
the deletion of these new files, a new mechanism for cleaning up files
created by the module was also added.

Fixes #7375
11 years ago
James Cammarata c5b6d23c63 During vsphere config check attempt cast before marking values missing
Fixes #7385
11 years ago
Konstantin Shabanov e83f14200c Fix env splitting in docker module
ENV variable value could contain '=' (for example mysql://host/db?pool=10)
11 years ago
Allard Hoeve 7c0431b1e4 Add missing basedir to Runner in _do_setup_step 11 years ago
James Cammarata 1c5055a401 Properly merge role conditionals in with pre-existing conditionals
Fixes #7387
11 years ago
napkindrawing 24d885e368 Fix to unescape * was discarded by unescape of @
`decoded_name` was created twice, each from `rset.name`

So, the second call to `.replace(r'\100', '@')` overwrites decoded_name, discarding the result of the call to `.replace(r'\052', '*')`

I had a problem with wildcard domains that was fixed by this patch.
11 years ago
James Cammarata 8851ceaa9e 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
James Cammarata 854bf14222 Evaluate changed_when only if task is not skipped
Fixes #7405
11 years ago
James Cammarata d8526a6c80 Only chown on atomic move if the uid/gid don't match the src/tmp file
This is a corner case for remote file systems that don't support
chown() and where the source and destination for the atomic_move
are on that remote file system.

Fixes #7372
11 years ago
James Cammarata e0fe6ca5d8 Use utils.combine_vars on vars_files data
Fixes #7345
11 years ago
James Cammarata ca2a12aa5b Pass vars_files on to included playbooks too
Fixes #7384
11 years ago
Chris Church 29018cf2a7 Correctly initialize combined_cache for hosts if setup is skipped
Fixes #7364
11 years ago
James Cammarata 9d8eee633d Make sure the docker data has a "Names" field before using it
Fixes #7363
11 years ago
James Cammarata 8cc71a6eec Do not base synchronize source on the inventory directory 11 years ago
Johannes 'fish' Ziemke 3565249471 Fix: Remove check for Ghost state
This fixed the just committed change handling non existent Ghost state.
11 years ago
Johannes 'fish' Ziemke 595813a1fe Remove check for Ghost state
This doesn't exist anymore and causes ansible to throw a KeyError
11 years ago