Commit Graph

3554 Commits (d0495f5528cde10f35354f6f86bcaa74a1e17160)
 

Author SHA1 Message Date
James Tanner 0b98c6fbfb Install yum-utils by default 11 years ago
James Tanner 303a9a73f3 Fix typo 11 years ago
James Tanner fc0de868ed Fix up docstring type and extra info about list 11 years ago
James Tanner 80c413d25d Update docstring for rhn details 11 years ago
James Tanner 6d63780ad6 Add install_repoquery parameter to the yum module 11 years ago
Michael DeHaan 607e66fb27 Merge pull request #6201 from cchurch/devel
Escape subversion parameters for running svn commands
11 years ago
Richard Isaacson 5ce0b80fd3 Added instance_tenancy functionality per social request. 11 years ago
Chris Church 0e955832d7 Pass svn arguments as a list of strings instead of using string substition to ensure all parameters are escaped properly. 11 years ago
James Cammarata b667e1d404 Add expanduser calls on src/dest in the module too 11 years ago
James Cammarata 94506632d8 Merge pull request #5689 from pgehres/devel
Adding the region to the output of the ec2 module's creation of a new in...
11 years ago
Pavel Antonov 3ab673e91f Support docker_py >= 0.3.0, Docker API >= 1.8, extended error reporting 11 years ago
James Cammarata f3ef528dfa Modifying the wait logic for newly created images to avoid tracebacks
Fixes #4619
11 years ago
James Cammarata 1762557ff4 Merge branch 'devel' of https://github.com/muffl0n/ansible into muffl0n-devel 11 years ago
James Cammarata 6e47729d5a Merge branch 'ec2-params' of https://github.com/scottanderson42/ansible into scottanderson42-ec2-params
Conflicts:
	lib/ansible/module_utils/ec2.py
	library/cloud/ec2
11 years ago
Michael DeHaan 88fca145d2 Merge pull request #6184 from patrys/patch-1
Properly match existing security group
11 years ago
Patryk Zawadzki f7125fdf37 Properly match existing security group
If we don't care about `vpc_id` then neither should the code.
11 years ago
Guido Kollerie 314e621671 Emphasize target is on remote host. List supported file types.
From the documentation it is not immediately clear that the 'target'
option refers to a location on the remote host. This change emphasizes that.
In addition to .sql files, .bz2 and .gz files are supported for dumps and
restores. This is now documented.
11 years ago
jctanner 1b2a71209a Merge pull request #5092 from willthames/ec2_snapshot
Module to create EC2 snapshots
11 years ago
jctanner 43942d2922 Merge pull request #5941 from sivel/rax-name-search-opts
rax module: Use regex start and end of string with name base filters
11 years ago
Brian Coca 21854d54d4 added octal representation of mode and made md5 checksumming optional
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Joshua Conner ad605390cd docker: add 'version_added' to the appropriate documentation entries 11 years ago
Chris Church 09b076e39c Fix setup module to gather facts from PowerPC Macs. 11 years ago
Joshua Conner 758b9603f5 docker: update to docker-py 0.3.0, plus full port binding support, container names, links 11 years ago
James Tanner 0318535898 Fixes #5255 yum: set disabled repos before enabled repos and fix the parameters used 11 years ago
James Cammarata e67c08b37f Merge branch 'git_version_tags' of https://github.com/j2sol/ansible into j2sol-git_version_tags 11 years ago
James Cammarata 09eaa0c920 Fixing the unicode issue in uri for EL6 platforms
Fixes #5869
11 years ago
James Cammarata 8aec47af89 Merge branch 'usermod_fix' of https://github.com/tknguyen79/ansible into tknguyen79-usermod_fix
Conflicts:
	library/system/user
11 years ago
James Cammarata 0c33cc19bb Handle unicode content in the uri module properly
Fixes #5869
11 years ago
Stefan J. Betz b335eb2412 Require force for LVM shrink and remove operations in lvol. Fixes #5774
Conflicts:
	library/system/lvol
11 years ago
Michael DeHaan 14df804545 Merge pull request #6158 from risaacson/issues_5165
If you try to resize a lvol to the current size return a changed=False and don't fail.
11 years ago
Richard C Isaacson eb2762bc5b If you try to resize a lvol to the current size return a changed=False and don't fail.
This addresses GH-5165 and adds the ability to check if a lvol exists.

The tests for this don't fit nicely into the current integration tests so they are below.

```
---

- name: remove any existing lv=one of vg=main
  lvol: lv=one vg=main state=absent

- name: remove any existing lv=two of vg=main
  lvol: lv=two vg=main state=absent

- name: check to see if lv=one of vg=main exists
  lvol: lv=one vg=main state=present
  ignore_errors: true
  register: lvol_result0

- name: Assert that we will get a "No size given."
  assert:
    that:
      - "'No size given.' in lvol_result0.msg"

- name: create lv=one of vg=main sized 30g
  lvol: lv=one size=30g vg=main state=present
  register: lvol_result1

- name: Assert that we made changes."
  assert:
    that:
      - "lvol_result1.changed == True"

- name: check to see if lv=one of vg=main exists
  lvol: lv=one vg=main state=present
  register: lvol_result2

- name: Assert that we did not make changes."
  assert:
    that:
      - "lvol_result2.changed == False"

- name: remove lv=one of vg=main
  lvol: lv=one vg=main state=absent

- name: create lv=two of vg=main sized 30G
  lvol: lv=two size=30G vg=main state=present
  register: lvol_result3

- name: Assert that we made changes."
  assert:
    that:
      - "lvol_result3.changed == True"

- name: reduce lv=two of vg=main to 15G
  lvol: lv=two size=15G vg=main state=present
  register: lvol_result4

- name: Assert that we made changes."
  assert:
    that:
      - "lvol_result4.changed == True"

- name: increase lv=two of vg=main to 30G
  lvol: lv=two size=30G vg=main state=present
  register: lvol_result5

- name: Assert that we made changes."
  assert:
    that:
      - "lvol_result5.changed == True"

- name: create lv=two of vg=main sized 30G when already exists at 30G
  lvol: lv=two size=30g vg=main state=present
  register: lvol_result6

- name: Assert that we did not make changes."
  assert:
    that:
      - "lvol_result6.changed == False"

- name: remove lv=two of vg=main
  lvol: lv=two vg=main state=absent
```
11 years ago
Kyle Kelley 70d8be5cc2 Fix expires 11 years ago
James Cammarata 4ab996621d Merge branch '5853-python-2.5-apt_repository-fix' of https://github.com/timurbatyrshin/ansible into timurbatyrshin-5853-python-2.5-apt_repository-fix 11 years ago
James Cammarata 6283754340 Fixing several bugs in assemble and updating tests
Bugfixes:
* the remote_src param was not being converted to a boolean correctly,
  resulting in it never being used by the module as the default behavior
  was remote_src=True (issue #5581)
* the remote_src param was not listed in the generic file params, leading
  to a failure when the above bug regarding remote_src was fixed
* the delimiter should always end with a newline to ensure that the file
  fragments do not run together on one line

Fixes #5581
11 years ago
James Cammarata 33d9a662ee Adding new tests for assemble role 11 years ago
Richard C Isaacson 106a0fc8fd Merge remote-tracking branch 'jeromew/ansible_script_creates' into issues_4986 11 years ago
Scott Patten 505fde72b0 In the route53 module, documenting that TXT and SPF requests
must be surrounded by quotes.

Otherwise you get a cryptic error message from Route 53.
11 years ago
Gianluca Borello 0ebbd6e754 Make sure droplet deletion works even when idempotency is achieved using 'name' and 'unique_name' rather than 'id' 11 years ago
James Cammarata d80b9ac137 Adding the backup destination to the resut dictionary for lineinfile 11 years ago
Michael DeHaan 54eeac3696 Merge pull request #6066 from jsmartin/riak_module_fix
Properly fetching the riak version
11 years ago
James Laska 306255d808 Resolves issue#6067 by allowing exact_count=0 11 years ago
muffl0n 68bef304c8 already call expanduser in action_plugin 11 years ago
James Martin e312b0e5bf Properly fetching the riak version, and properly setting the python interpreter. 11 years ago
Michael DeHaan 62f8ebe51e Merge pull request #6036 from mxxcon/patch-1
docs_pull_request: Add parameters highlighting
11 years ago
Michael DeHaan a1c2712d8e Merge pull request #6045 from garaden/pypi_mirrors_gone
Set use_mirrors default to "no" for the pip module
11 years ago
Michael DeHaan de6bc2f83b Merge pull request #6051 from illenseer/devel
Fix zfs create command for properties with spaces
11 years ago
Brian Coca 7873591ea0 removed with
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
James Cammarata 5cb6b24546 Merge branch 'devel' of https://github.com/mtpereira/ansible into mtpereira-devel 11 years ago
Matthew Phipps 14fd8ec570 Remove use_mirrors from pip module
PyPI moved to a CDN on 2013-05-26, so mirrors are now largely
unnecessary and pip removed the functionality in 1.5. More importantly
(and why I wrote this request): on 2014-02-15 the mirror directory was
taken offline, so mirrors may not work anymore even for pip versions
that support them.
11 years ago
Matthew Phipps fc4c685d26 pip module wasn't adding -e when using VCS 11 years ago