Commit Graph

28033 Commits (6ef9a0af4b2225c889e09befca7456dc00650504)
 

Author SHA1 Message Date
Jiri Tyr 579b6a0f9d Changing author's e-mail for ldap_* modules (#19900) 8 years ago
Toshio Kuratomi a33e34894b Move some modules into proper categories 8 years ago
Toshio Kuratomi 8469ea93d9 Remove unnecessary use of iteritems so that this compiles under python3 8 years ago
THEBAULT Julien ee1dee08b6 Check the command result status in easy_install plugin (#16519) 8 years ago
Joe Adams 337ea4d65c Add pulp_repo module for interacting with repositories on a pulp server. 8 years ago
Ondra Machacek 8a3e80eb09 cloud: ovirt: add kernel boot parameters to vms module 8 years ago
Fabrizio Colonna b6f9b0be1f Added arbiter support to gluster_volume module. 8 years ago
Andy Freeland 778a189a59 Fix letsencrypt remaining_days docs 8 years ago
Enis Ozgen d4d9a48205 Fix typo in ec2_vpc_peer.py documentation 8 years ago
Paulo Matias d51064a05e os_user: fix typo (self is not defined) 8 years ago
Matt Clay 95b59cd76c Remove `needs/privileged` from postgresql test. (#19907)
* Remove `needs/privileged` from postgresql test.
* Add python 3 support to postgresql tests.
8 years ago
Matt Clay 709a3aa42b Run service test on py3 + unprivileged on docker. (#19841)
* Run service test on py3 + unprivileged on docker.
* Fix service integration test for python 3.
8 years ago
Matt Clay a1d30c853c Enable FreeBSD 11.0 for CI. 8 years ago
Sergio Millan 08b671990d Fixing Issue#18995 8 years ago
Toshio Kuratomi f129977e2b Fix 4d355f8bf2
default values can contain nonstrings and those should not be converted
via to_text.
8 years ago
Toshio Kuratomi 91242b8cc3 Leave a comment that .format() can lead to security risks
Couldn't find any code that does this now but left a comment so that we
don't change something in the future without seeing that it could be
a problem.
8 years ago
Dag Wieers ecaa0202b9 vmware_guest: assorted fixes and improvements (#19842)
A small collection of fixes and improvements:
- Simplify should_deploy_from_template()
- Bugfix for x.config that can be None
- Bugfix for mandatory guest_id (not when using templates)
- Simplify key testing and defaults
- Fix an incorrect reference to the last network
- Duplicate alias 'folder' removed
8 years ago
Toshio Kuratomi 02e3f4b526 Fix for atomic_move on RHEL5
When becoming an unprivileged user using non-sudo on a platform where
getlogin() failed in our situation we were not able to detect that the
user had switched.  This meant that all of our logic to use move vs copy
if the user had switched was attempting the wrong thing.  This change
tries the to do the right thing but then falls back to an acceptable
second choice if it doesn't work.

The bug wasn't easily detected because:
* sudo was not affected because sudo records that the user's have been
  switched so we were able to detect that.
* getlogin() works on most platforms.  RHEL5 with python-2.4 seems to be
  the only platform we still care about where getlogin() fails for this
  case.
* It had to be becoming an unprivileged user.  When becoming
  a privileged user, the user would be able to successfully perform the
  best case tasks.
8 years ago
Toshio Kuratomi 4d355f8bf2 Transform config values to text immediately when they enter ansible
Convert configuration values from ENV VARS, config files, and defaults
in constants.py.
8 years ago
Corwin Brown 9b7c9931db Issue #19575: Adding Dest Param to win_uri (#19577)
* Issue #19575: Adding Dest Param to win_uri

Added `dest` param to win_uri. Outputs the response body to a specified
file.

Addresses Issue #19575

* Was setting the wrong attribute
8 years ago
Matt Clay b7780ca530 Pass DOCKER_* env vars to docker in ansible-test. 8 years ago
James Cammarata a0b4d37dea Removing unused files in playbook/ directory 8 years ago
Brian Coca 92e8c53879 fixed id queries, should rely on effective 8 years ago
Jiri Tyr 1ff9b74e3d Adding ldap_attr module (#19286) 8 years ago
Toshio Kuratomi e98c0a3009 Fix locale_gen to compare native strings rather than mixing byte and text strings
Fixes #19426
8 years ago
Adrian Likins c771ab34c7 Add a encode() to AnsibleVaultEncryptedUnicode (#19840)
* Add a encode() to AnsibleVaultEncryptedUnicode

Without it, calling encode() on it results in a bytestring
of the encrypted !vault-encrypted string.

ssh connection plugin triggers this if ansible_password
is from a var using !vault-encrypted. That path ends up
calling .encode() instead of using the __str__.

Fixes #19795

* Fix str.encode() errors on py2.6

py2.6 str.encode() does not take keyword arguments.
8 years ago
James Cammarata ac00c8a660 Fixing an iteration bug introduced by fed079e4 8 years ago
Ryan S. Brown 8772e4387b Update `ec2_facts` with new ap-south region 8 years ago
Kevin Houdebert 2ffb705049 Fix win_robocopy flags argument (#19603) 8 years ago
Matthew 45c57618b3 Have AnsibleModule raise a failure of git is missing in git_config module (#19676) 8 years ago
Rob 927218d99d Fix backward compat change - create custom required_together statement (#19642) 8 years ago
Kash dceace6bb2 ecs_taskdefinition: Fix missing import camel_dict_to_snake_dict (#19560)
ecs_taskdefinition: Fix missing import camel_dict_to_snake_dict
8 years ago
Dag Wieers fbec2ecaa8 vmware_guest: Do not match simply by folder (#19823)
This fixes #19077
8 years ago
Dag Wieers 0d9392a3bc vmware_guest: import iteritems (#19821)
Without this change you get this on Python 2.7.5:

    NameError: global name 'iteritems' is not defined
8 years ago
Toshio Kuratomi 0ca3800ae1 Fix traceback on Darwin with Python3
os.write() needs bytes objects on python3 while python2 can work with
either a byte or unicode string.  Mark the DUMMY_CA_CERT string as
a byte string so it will work.

Fixes #19265
Fixes #19266
8 years ago
Serhiy Martynenko c7637992fe Fix #19189 django_manage bug with python3 filter() returning iterator insted of list 8 years ago
tedder 15e12d2cf2 git ssh wrapper: py3-compatability with strings
Wrap the fh.write(str) in b() to ensure the string is of the proper type in py2/py3. Otherwise, the following error occurs when using its ssh_wrapper:

    An exception occurred during task execution. The full traceback is:
    Traceback (most recent call last):
      File "/tmp/ansible_8r299r6t/ansible_module_git.py", line 1049, in <module>
        main()
      File "/tmp/ansible_8r299r6t/ansible_module_git.py", line 928, in main
        ssh_wrapper = write_ssh_wrapper()
      File "/tmp/ansible_8r299r6t/ansible_module_git.py", line 330, in write_ssh_wrapper
        fh.write(template)
    TypeError: 'str' does not support the buffer interface
8 years ago
Peter Sprygada 4937dd67e4 adds new feature to network_cli (#19848)
In some cases it is desirable to have a send only function that doesn't
wait for the response from the CLI (such as reloading a device).  This
adds a new key to the command json string sendonly that will
achieve this behavior.
8 years ago
Jacky Gao 08e2a5d4fb Contributing new module to manage HUAWEI data center CloudEngine switch. (#19793)
* HUAWEI data center CloudEngine switch module

* HUAWEI data center CloudEngine switch module

* HUAWEI data center CloudEngine switch module

* Update __init__.py

* Update __init__.py

* HUAWEI data center CloudEngine switch module

* HUAWEI data center CloudEngine switch module

* Update __init__.py

* Delete __init__.py

* HUAWEI data center CloudEngine switch module

* HUAWEI data center CloudEngine switch module

* modify init file

* Update cloudengine.py

* Update cloudengine.py
8 years ago
Ted fd3ae0bf80 Add bigswitch big mon inline chain module (#18631)
* Add bigswitch util

* Add big switch big mon inline chain module

* Add required to access_token doc

* Add controller to doc

* Add validate_certs to doc

* Add author & metadata

* Add BSD license header
8 years ago
Andrew Craft 44fb104da3 softlayer inventory include group by tags 8 years ago
Rene Moser 6c2af29659 tests: add handler listen test cases 8 years ago
James Cammarata fed079e4cb Fix role completion detection problem
When the same role is listed consecutively in a play, the previous role
completion detection failed to mark it as complete as it only checked to
see if the role changed.

This patch addresses that by also keeping track of which task in the role
we are on, so that even if the same role is encountered during later passes
the task number will be less than or equal to the last noted task position.

Related to #15409
8 years ago
Robin Roth 9f2d22425b Run tests on opensuse42.2
* add to shippable
* add to completion/readme
* Fixes #18645
8 years ago
Martin Bektchiev 1c13ddf7c8 Add @ to valid package name characters (#18862)
NodeJS formulae are now named node@<major_version>

E.g. https://github.com/Homebrew/homebrew-core/blob/master/Formula/node@6.rb
8 years ago
Robin Roth 61897fa4b7 Add Dockerfile for opensuse 42.2 (#19805) 8 years ago
Matt Clay 68346b128f Update Fedora tests to use releases 24 and 25. 8 years ago
Arne Demmers bd7466d56c Fix key lookup in gather facts flag. 8 years ago
Toshio Kuratomi 70e42f917d Add traceback information to fail_json in atomic move 8 years ago
Toshio Kuratomi af8cce53ff Add requirement for module metadata 8 years ago