Commit Graph

21610 Commits (f2c1d49de7d18d69c7986d52795fb5030e0a0f63)
 

Author SHA1 Message Date
Tadej Janež 9a845a03f4 Simplified condition in a stat module example testing if path is a directory. 8 years ago
James Cammarata 429ab56e14 Adding file doc fragment to those modules in files/ missing it 8 years ago
Joe Adams 6eda3cbee7 Added note to files/synchronize module about synchronizing two directories on the same host 8 years ago
Tongliang Liu 59477d2e9a Added support of returning owner's group name in stat module 8 years ago
anatoly techtonik 90091b1277 files.stat: Expose path in returned result
This is needed to apply subsequent operation on tested path
8 years ago
Matt Martz cce5b600c0 Don't count DELETED servers when adding new servers 8 years ago
Matt Martz 6a6faeb506 Fix determination if a few configurations change in the launch config 8 years ago
Matt Martz e905162571 Ensure that files is the right type, and that we send the formatted personality var 8 years ago
Matt Martz 591ba934c3 Support config_drive and user_data in rax_scaling_group 8 years ago
Eric Hanchrow e4ac716663 Tweak docs to mention `replace` 8 years ago
Major Hayden e3449b6691 Updating SELinux example doc in lininefile module
Encouraging users to use this Ansible module to enable SELinux seems
like a better idea. It also warms Dan Walsh's heart.

Signed-off-by: Major Hayden <major@mhtx.net>
8 years ago
Chad Nelson 20706f5f4d Chnge option name to track_submodule_branches.
Update documentation to reflect what the actual effect of the option.
8 years ago
Chad Nelson 5f30157a05 Give option on how git tracks submodules.
Allows user to decide if git submodule should track branches/tags or track commit hashes defined in the superproject.

Add track_branches parameter to the git module.

Defaults to track branches behavior.
8 years ago
Michael DeHaan 11b0ce5c32 Update README.md 8 years ago
Michael DeHaan c7e9139a1b Fix filename error. 8 years ago
Michael DeHaan ef2a2b9093 package files 8 years ago
Michael DeHaan 213e518165 file extensions! 8 years ago
Michael DeHaan c7eec45b73 Restructuring. 8 years ago
Michael DeHaan 87a9034751 Core/extras split WIP. 8 years ago
Michael DeHaan e5b3cb3b02 Core/Extras splitting WIP. 8 years ago
Michael DeHaan b2bf4b9bf7 Not core. 8 years ago
Michael DeHaan 42ab1eab36 Fix typo in README filename 8 years ago
James Cammarata cd42f73662 Moving snapshot of modules back from core 8 years ago
James Cammarata 9c67f6dcdc removed core and extras submodules 8 years ago
James Cammarata 1a4484be61 Submodule ref update 8 years ago
Toshio Kuratomi 36f29148a3 Update submodule refs 8 years ago
Matt Clay 6611845716 Update submodule refs. 8 years ago
Toshio Kuratomi c53b73228f Update the metadata tool (#18765)
* Latest spreadsheet version uses different fields for support.
* Format the metadata to be a little nicer (multiple lines)
8 years ago
Peter Sprygada dc23667cc2 add back reverted change to network_cli (#18761)
This adds back the change to the network_cli plugin.  Ths change adds
the ensure_connect decorator to the open_shell() method to make sure
the connection is valid before trying to open a shell.

The issue was due to the addition of the decorator that will call
_connect() when there is no connection.  The _connect() method should
have been mocked in the test case.  This commit fixes the test
case as well

Change was originally reverted in c414ded69a
8 years ago
Matt Clay 14a2757116 Correct change classification for network plugins. 8 years ago
Toshio Kuratomi 117b88cd38 smart quotes, die die die. 8 years ago
Toshio Kuratomi 9f94414095 Fix indentation 8 years ago
Toshio Kuratomi 32ffa87732 Add docstring explaining whatw Attribute does 8 years ago
Toshio Kuratomi 868b20d982 Document the get_config function 8 years ago
Ondra Machacek f1812b0f15 module_utils: ovirt: Add support to fetch nested object's attributes (#18666)
* module_utils: ovirt: Add support to fetch nested object's attributes

This patch fixes issue #3555

* Update documentation
8 years ago
Toshio Kuratomi c414ded69a Revert "minor updates to network_cli connection plugin (#18742)"
This reverts commit 8e375913b0.

This breaks testing as the PlayContext is not mocked out for the test.
Temporarily reverting.
8 years ago
Nathaniel Case 4680fafd9b Add ansible-connection to scripts in setup.py 8 years ago
Toshio Kuratomi d3dd11b21c Update for latest spreadsheet fields 8 years ago
Toshio Kuratomi 39c2249e49 Update metadata for the rename of curated to committer 8 years ago
Toshio Kuratomi 5f5ea06ca4 make hash_params more robust in the face of many corner cases (#18701)
* make hash_params more robust in the face of many corner cases

Fixes #18680
Alternative fix to #18681

* add test case for role.hash_params

* Add role.hash_params test for more types

A set, a generator/iterable, and a Container that
is not Iterable.
8 years ago
Peter Sprygada 8e375913b0 minor updates to network_cli connection plugin (#18742)
* removes superfluous timeout kwargs from open_shell()
* cleans up play_context become check
* adds check for ssh session and calls _connect() if needed
8 years ago
brijs f4520af5bf Fix minor typo in roles doc (#18740) 8 years ago
Ruslan Tumarkin 9d8fc7afce Fux bug 18584 (#18718) 8 years ago
Matthew Krupcale cb4153c285 FreeIPA module polymorphic restructuring, Python 3 support, and small fixes. (#18542)
* Moved JSON-RPC client IPAClient class to ansible.module_utils.ipa, which is extended by all ipa modules
* IPAClient: Changed to 2-clause BSD license
* IPAClient (lines 37-39): Added some additional imports for use with Python 3
* IPAClient (line 41): Explicitly extend Python base object
* IPAClient (line 57): Properly URL quoted the username/password form data as per https://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1
* IPAClient (line 62): Data should be bytes or bytearray in Python 3 (still str in Python 2)
* IPAClient (line 65): Print error message, not returned body
* IPAClient (line 70): getheader() is not present in Python 3 version of HTTPMessage; get() is present in both Python 2/3
* IPAClient (line 88): Convert form data to bytes for Python 3 again
* IPAClient (line 91): Print error message, not returned body
* IPAClient (line 96-104): json.loads() requires a string; HTTPResponse.read() returns bytes in Python 3 and str in Python 2, so decode the bytes/string using the HTTPResponse returned charset (default to 'latin-1')
* Add author/copyright notice
8 years ago
Peter Sprygada 06f5bf980e adds unit test for network_cli connection plugin (#18729) 8 years ago
Peter Sprygada 8e562018ed adds py3 compat changes to network_cli plugin (#18735)
now calculates StringIO receive buffer and if received data is less than
buffer size, resets offset to 0
8 years ago
Evgeni Golov ea5c3df043 fix stray i in developing_modules.rst 8 years ago
Dag Wieers b52159163b Add RHEV host detection support (#17177)
* Add RHEV host detection support

This adds RHEV host detection support based on a running 'vdsm' process and the existence of _/rhev/_ (which are both part of the vdsm RPM package in a RHEV installation). Without this change, a RHEV host would be reported as a kvm host (which is also true, but often not specific enough).

This closes #17058

* Only scan the process list when we determined /rhev/ exists

Small performance improvement, so we do not have to scan the process list if /rhev/ does not exist.
8 years ago
gl0bus d5eff47fcc Extend OpenStack related hypervisor detection (#15166)
* fixed detection of ansible_virtualization_(role|path) facts for VM's running in
OpenStack Instances

* NOTE: this will break detection of ansible_virtualization_(role|path) facts
        if you are using Openstack Instaces with nested virtualization

* fixed detection of ansible_virtualization_(role|path) facts for VM's running in
OpenStack Instances

Fixes #15165

* NOTE: this will break detection of ansible_virtualization_(role|path) facts
        if you are using Openstack Instaces with nested virtualization
8 years ago
Michael Scherer 435dfc2b9c Add a bit more information for network facts on BSD
This was tested on FreeBSD 11, NetBSD 7 and OpenBSD 6.0
This currently detect ether, loopback and tunnel.
8 years ago