Commit Graph

19851 Commits (292785ff2bf557cafbe2bd18e95f2bd26cce0f0b)
 

Author SHA1 Message Date
Adrian Likins 2275a08b9a Merge pull request #16176 from natefoo/solaris-facts
Fix distro detection for Solaris derivatives
9 years ago
Nate Coraor 706778ee7f Fix distro detection for Solaris derivatives 9 years ago
nitzmahone 7bc3be64ae fix win_setup integration test to match fact name 9 years ago
art-at-sky 38590fbab9 Fix string coercion problem in error handling code 10:50 (#16270)
Manifests as the following stack trace
  File "/usr/local/Cellar/ansible/2.0.1.0/libexec/lib/python2.7/site-packages/ansible/utils/display.py", line 259, in error
      new_msg = u"ERROR! " + msg
      TypeError: coercing to Unicode: need string or buffer, AnsibleParserError found
9 years ago
Toshio Kuratomi 73fcf9ba6e Note that ZFS's acls won't work with Ansible's secure temp file code. 9 years ago
Mark Szymanski 2b0d0d0323 Allowing changed colour to be set properly from ansible.cfg (#16338) 9 years ago
Matt Martz a0e24ec579 Merge pull request #16346 from sivel/issue/16341-2
Rework the v2 API example to use a custom callback
9 years ago
Matt Martz ab65150a9e Rework the v2 API example to use a custom callback to better show how callbacks can be used for handling results 9 years ago
Matt Martz f9007d2d6d Merge pull request #16345 from sivel/issue/16341
Extend v2 API use example to show collecting results. Fixes #16341
9 years ago
Matt Martz eab10b2402 Extend v2 API use example to show collecting results. Fixes #16341 9 years ago
Kenny Woodson ebf1feb5bb Adding instance_states option to gce inventory 9 years ago
Toshio Kuratomi bef1971ffe Update core submodule for wait_for fix 9 years ago
Toshio Kuratomi 6cb8fdeaf2 Use find instead of -R for recursive setfacl (#16340)
(-R is not present on Solaris or freebsd setfacl)

Fixes #16322
9 years ago
James Tanner a5046a3ffe Update submodule refs 9 years ago
Sandra Wills f4724e55d3 Merge pull request #16330 from jlmitch5/patch-1
Fix table width on docsite
9 years ago
jlmitch5 e397d7d603 Fix table width on docsite
This makes it so that table columns break by word instead of in between words.  It also sets the minimum width of a column in the table to 100px, and makes tables horizontally scrollable on small screen sizes.
9 years ago
Matt Davis b0142f79ba Merge pull request #16319 from jhawkesworth/more-regedit-tests
windows: integration tests to cover https://github.com/ansible/ansible-modules-extras/pull/2436
9 years ago
Matt Davis 5900571273 Merge pull request #16296 from ccin2p3/hotfix/issue_16295
Properly template task names in free strategy
9 years ago
Matt Davis 9e2e2b1c54 Merge pull request #16279 from md5/show-facl-error
Show stderr when there is an error calling setfacl
9 years ago
= 9857af2b6e added further tests for win_regedit to cover the changes made
under https://github.com/ansible/ansible-modules-extras/pull/2436
9 years ago
nitzmahone 0a0b44baeb bump submodule refs 9 years ago
Toshio Kuratomi a3959644ee Change the default of module_set_locale to False. (#16313)
This makes Ansible no longer set LC_ALL for remote systems.  It is up to
the individual modules to set LC_ALL if they need it for screenscraping
the output from a program.

This is the 2.2 followup for #15138
9 years ago
Colin Hoglund 5a2b34e159 allow spaces before the filter string (#16312) 9 years ago
Toshio Kuratomi e088193599 Update submodule refs 9 years ago
Toshio Kuratomi 4ea5f77062 Merge pull request #16308 from abadger/synchronize-check-required
Check that required arguments src and dest are present.
9 years ago
Toshio Kuratomi 16211e7dab Check that required arguments src and dest are present.
Fixes #16301
9 years ago
Adrian Likins a7639896a2 Delete currently unused code. (#16290)
This was kind of confusing, and also caused sphinx-apidoc
to throw strange errors.
9 years ago
André Pinto fa4011c6c3 Do not corrupt $MANPATH when it's not present (#16300)
Fixes #16299
9 years ago
Brian Coca 13d52ae438 subref update 9 years ago
Brian Coca 4acac55d23 add executable if none exists when become
this is needed as become adds commands that require shell
9 years ago
elotje 8c7ceaab81 Unprivileged become on HP-UX/UNIX (Fixes #16249) (#16275)
Problem: When setting the file permissions on the remote server for
unprivileged users ansible expects that a chown will fail for unprivileged
users. For some systems (e.g. HP-UX) this is not the case.

Solution: Change the order how ansible sets the remote permissions.
* If the remote_user sudo's to an unprivileged user then we attempt to
  grant the unprivileged user access via file system acls.
* If granting file system acls fails we try to change the owner of the
  file with chown which only works in case the remote_user is privileged
  or the remote systems allows chown calls by unprivileged users (e.g.
  HP-UX)
* If the chown fails we can set the file to be world readable so that
  the second unprivileged user can read the file. Since this could allow
  other users to get access to private information we only do this
  ansible is configured with "allow_world_readable_tmpfiles" in the
  ansible.cfg
9 years ago
Adrian Likins f819bb524a zone plugin updates for newer api (#16289)
Fixes errors on import.
9 years ago
Toshio Kuratomi c4838286ac Make sure we don't end up with an empty PYTHONPATH (#16240)
When the PYTHONPATH is an empty string python will treat it as though
the cwd is in the PYTHONPATH.  This can be undesirable.  So make sure we
delete PYTHONPATH from the environment altgether in this case.

Fixes #16195
9 years ago
Adam Thomas 27d0fe8d49 The output of the digital ocean script was invalid for ID and droplet name groups. Hosts is now an array of strings rather than a string for these groups. (#16297) 9 years ago
Remi Ferrand 9c3447c619 Properly template task names in free strategy
* Fixes #16295
9 years ago
Matt Clay 624e7dae54 Merge pull request #16293 from mattclay/test-order
Run slowest tests first to minimize run time.
9 years ago
Matt Clay a4ceef28b8 Run slowest tests first to minimize run time. 9 years ago
jctanner dc9b53a6aa Add further commentary about synchronize process_remote. (#16292)
Addresses #16284
9 years ago
jctanner 587d3c368b Fix synchronize+vagrant dest assertions that were incorrect. (#16291)
Addresses #16284
9 years ago
Sergei Smolianinov 9753cac530 Fix synchronize module incorrect remote host processing. (#15993)
Fixes  #15539
9 years ago
Matt Clay cabbafb650 Update Fedora and CentOS docker images.
- Reduce image size by skipping weak package references.
- Consolidate and sort packages to install.
- Improve consistency between versions.
- Combine yum/dnf install and clean to avoid unwanted caching.
- Don't update existing packages from base image unnecessarily.
9 years ago
Scott Butler e35c0b5669 Minor grammar and punctuation tweaks.
(cherry picked from commit fd3149a5f6)
9 years ago
biancalana e143d3a75b Better FreeBSD distribution facts (#15866)
* - Give more usable content to distribution_version and set distribution_major_version

* Make python 2.4 friendly
9 years ago
Toshio Kuratomi 8c8e064828 Be more lenient of symlinked /bin/sh inside the chroot (#16239)
Symlinks inside of the chroot were failng because we weren't able to
    determine if they were pointing to a real file or not.  We could write
    some complicated code to walk the symlink path taking into account where
    the root of the tree is but that could be fragile.  Since this is just
    a sanity check, instead we just assume that the chroot is fine if we
    find that /bin/sh in the chroot is a symlink.  Can revisit if it turns
    out that many chroots have a /bin/sh that's a broken symlink.

    Fixes #16097
9 years ago
nitzmahone 9dcfa468f7 bump core submodule ref 9 years ago
Brian Coca 90ae3f4d6d removed duplicate constants setting
also it had a non ANSIBLE_ env var
9 years ago
Mike Dillon 17372244d4 Show stderr when there is an error calling setfacl 9 years ago
Jiri Tyr 27d065924f Adding custom indentation of YAML and JSON filters (#10008) 9 years ago
ben-taylor-nzme e1d248dddf fix error message (#16264)
The error was: TypeError: fail_json() takes exactly 1 argument (2 given)
9 years ago
Brian Coca 07846f7bec ignore closing file error when file not open
fixes #16268
9 years ago