Commit Graph

25304 Commits (586aacbd8466bf2423037972285d998816380ae3)
 

Author SHA1 Message Date
Jesse Keating 0ec56bb563 Add update_password argument to os_user (#5219)
There is a desire to not have this module always result in a change if a
password argument is supplied. The OpenStack API does not return a
password back when we get a user, so we've been assuming that if a
password argument was supplied, we should attempt to change the password
(even if nothing else is changing), and that results in a "changed"
state. Now we will only send along a password change attempt if the user
wants one (the default to match history).

Fixes #5217
8 years ago
Peter Sprygada f8bcf55289 fixes problem when trying load banner into ios device (#5494)
this fix will now handle loading a multiline banner on ios based
devices without hanging.  It separates the processing of banners
from the remainder of the config

link #5318
8 years ago
jctanner 1ccd4ae8b0 Re-add version_added to include_vars (#5493) 8 years ago
Peter Sprygada 8b70d17f61 ios_facts module will no longer error on missing command (#5491)
The module will error if it tries to use a cli command that is not available
on a given platform.  This fix will address that problem.  If the cli
command is not available, then the command is silently discarded and the
facts that the command output is based on is not returned.  Any failed
commands are provided in the module return under the failed_commands
key.  This fix also updates the Examples docstring to make it consistent
with other ios_* modules

fixes #5444
fixes #5372
8 years ago
Matt Robinson df70a58d72 apt_repository: Relax PPA checks and add basename (#5432)
Allow installation of PPA repositories on non-Ubuntu Debian derived
distribution targets (e.g. neon, Mint, Debian itself) by removing the
specific check for UbuntuDistribution before allowing PPA: format
sources. This fixes the addition of PPA repositories under KDE neon (as
the codenames match the base Ubuntu distribution).

To make the functionality also useful under Mint and Debian which have
different codenames to their Ubuntu upstream / downstream releases, add
a 'codename' option to override the default used in the PPA source
entry.
8 years ago
Matt Clay be48ea4389 Simplify compileall checks. Remove py3 skip list. 8 years ago
Chris Becker fabb63c43f Add more specific language to module description and examples
* Add 'on the remote server' to `file` parameter description
* Add example showing how to use the `file` parameter, with specific
  language about the file's location being on the 'remote server'
8 years ago
zuiurs eeecc3adcc fix the behavior that the dest is directory
This fixes the behavior that the dest is directory,
when we set the "force: no" argument.
To be join the dest and the src's basename,
before checking the "force" argument.
8 years ago
Ricardo Carrillo Cruz 33d7745794 Add rebuild support to os_server_actions (#4289)
Fixes #2714
8 years ago
Allen Sanabria c9960c00dc Updated documentation for PR http://github.com/ansible/ansible/pull/17207 8 years ago
Brian Coca 00fbd98f97 dont join when group is none 8 years ago
John R Barker 2a9e5687eb Correct typos in docs strings (#5233) 8 years ago
Jamie Dyer 4ac3b0c5d5 Make the RDS endpoint available if AWS returns it. Fixes #3865 (#4143) 8 years ago
jctanner 60dd2f1fff apt: update cache until corrupt package lists are fixed (#5448)
* apt: If the cache object fails to lost due to a corrupt file, try to update the cache until it is fixed.
* Append -q to the update parameters
* Remove unused variable
* Use a string that doesn't rely on internationalization
* Use py24 exception style
* Use get_exception

Fixes #2951
8 years ago
Brian Coca ba6bc5382d corrected version added 8 years ago
Brian Coca 20f2fe4e91 added logout to docker_login
also cleaned up 'actions' and minor doc issues
8 years ago
Brian Coca 9e931f89fb added ability to control sleep between attempts
the default was 1s but it makes sense to make this configurable
8 years ago
Brian Coca 97b23c0fb7 docit 8 years ago
Brian Coca 52332f5b78 allow groups to be passed as YAML list as well
keeps backwards copat with 'comma delimited string'
fixes #5163
8 years ago
Evan Kaufman 5d3e64b0d2 Identify existing unmanaged jobs by exact match, when no header comment is found
* updated `find_job` method to find by exact match of job, when no matching header comment is found
  * note this fallback injects a header comment for later calls to `update_job` or `remove_job`
* abstracted header comment building to `do_comment` method

Fixes #3256
8 years ago
Brian Coca 47ffb6d542 minor updates to include docs 8 years ago
Brian Coca d36bea766d make sure all svcadm operations are syncronous
fixes #5296
8 years ago
Toshio Kuratomi 0d74ae3368 Need to locate a pip inside a venv when venv is specified
Alternative to #5359

Fixes #5347
8 years ago
Matt Clay 24615e10e3 Removed tests migrated to ansible/ansible repo. (#5452) 8 years ago
Matt Davis 2c216cdf35 fix JSON junk in win_file state=directory case (#5427) 8 years ago
Charles Paul f6676f4957 add id: back to documentation 8 years ago
bencomp d25ba6a30a Make find return sample a YAML dict
In the description of the find module return value, the sample dict
has its key=value strings converted to key=value: None in the
web documentation. This commit updates the sample output to a 'real'
dict.

Minor additional edit in the description: "return list *of* files".
8 years ago
Matt Davis 8e97539e20 fix win_shell/win_command deadlock on large interleaved stdout/stderr (#5384)
fixes #5229
8 years ago
Fahri Cihan Demirci 1ecb63f0e0 Fix String Type for Python 3 Branch Comparison
* Use the `to_native` conversion method to convert a command output to the
  appropriate form when looking for branch names in the command output,
  therefore avoiding a `TypeError` in Python 3.
8 years ago
Hiroaki Nakamura c2d37f1db9 hostname: add support for alpine linux (#4837)
* Add update_current_and_permanent_hostname to the hostname module

* Add support for Alpine Linux to the hostname module
8 years ago
Evan Kaufman 42079bcc59 Exposed backup file path, simplified result args (#5364)
Fixes #245
8 years ago
Toshio Kuratomi 38b3c43c68 Fix uri for change in case in response
In python3, response fields are title cased whereas in python2 they were
not.  We return these fields to the module's caller so we need to
normalize all of them to be lower case.

This reverts the lowercase check from 454f741ef5
as that one was only targetted as a single field.
8 years ago
Matt Davis dfc2a29bdb fix win async tempdir deletion failure 8 years ago
Matt Davis 73f77e2af6 switch win async to use Win32 CreateProcess
should fix flaky async startup behavior where watchdog/module exec starts and immediately dies
8 years ago
Toshio Kuratomi bd9e790cfe First set of fixes for uri module to work with py3.
This fix handles changes in the response headers (no longer all
lowercased) and switches from unicode() to to_text().
8 years ago
Jonathan Mainguy 51313e6da8 update maintainer 8 years ago
Timothy Appnel 5a17277bd3 clarifies synchronize module on use of --delayed-updates 8 years ago
Evan Kaufman f8dad7130d Record existing cron file as string property, rather than only recording termination
This seems less hackish, and feels more proper for diff generation
8 years ago
Evan Kaufman f64990df02 Rendering of crontab should reflect actual newline termination, in diff mode 8 years ago
Evan Kaufman b416015634 Ensure trailing newline is written to cron file
Records whether existing cron file (or CRONCMD output) has a terminating newline, and ensures a trailing newline is written as necessary EVEN IF NO CHANGE WAS MADE to the target env/job

Fixes #2316
8 years ago
Evgenii Terechkov da71acf1bf Replace dangerous shell calls with module.run_command 8 years ago
Evgenii Terechkov 8fd4785062 Ensure that we use shell
to run apt-get -y install ... >/dev/null

this commit must fix #2839
8 years ago
Rowan Wookey 914e205eb3 Added work around for Ubuntu Xenial calling php7_module php7.0 8 years ago
Luca Berruti 2bbbf58156 ini_file: return more infos on changes. 8 years ago
Luca Berruti 6d8b140f46 ini_file: diff support. 8 years ago
Luca Berruti 73401182c1 ini_file: add create= option. 8 years ago
Luca Berruti 1a22dde1ac ini_file: fixes #1788, fails --check when file doesn't exist. 8 years ago
Brian Coca fccaf883da refactor stat
make format function 'format only'
added platform dependant info, when it is available
avoid rechecking same info
added comments to each info gathering section

(cherry picked from commit a79acf73d7eb79b76d808ff8a1d6c505dfd9ec82)
8 years ago
Toshio Kuratomi e2fce828f6 Order of return values was reversed 8 years ago
Toshio Kuratomi 9aac87e08c Fix builddep when a source package exists without a binary package
builddep only requires a source package to be in the repos but our code
was checking for a binary package before running buiddep.  Reversing the
order makes it work correctly.

Fixes #4519
8 years ago