Commit Graph

3798 Commits (8676f55f1d2de6739526ccf781a4473411ec027b)
 

Author SHA1 Message Date
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 2f31dadf33 Merge branch 'devel' of https://github.com/josephtate/ansible into josephtate-devel
Conflicts:
	library/cloud/ec2
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
Dustin C. Hatch d2dc260e98 filesystem: Ignore blkid cache
Sometimes, `blkid` will incorrectly return no information about a block
device, even if it exists and has a valid filesystem. This causes the
*filesystem* module to fail if *force=no*. Instructing `blkid` to use
`/dev/null` as a cache file will force it to rescan the block device on
each run, making results more consistent.

Signed-off-by: Dustin C. Hatch <admiralnemo@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
Lukáš Lalinský a71cabdb50 Don't require pycurl in apt_repository when it's not actually needed 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
Matt Jeffery 6cfa724472 Normalise the module name when comparing against the module names in /proc/modules. 11 years ago
Daniel Jaouen 9e8e510667 Update homebrew documentation. 11 years ago
Daniel Jaouen 1b2d63e33c Add back homebrew `install_options` parameter. 11 years ago
Daniel Jaouen d49602a9f8 Update homebrew documentation. 11 years ago
Daniel Jaouen 9c2530545f Fix homebrew linked/unlinked output. 11 years ago
Daniel Jaouen 4d1a94eb18 Fix linked/unlinked states. 11 years ago
Daniel Jaouen bea496b47c Update homebrew module. 11 years ago
Daniel Jaouen fe362b79fd homebrew_cask: check err instead of out for "nothing to list". 11 years ago
Daniel Jaouen fb526e1afb homebrew_cask: return False instead of True when nothing to list. 11 years ago
Daniel Jaouen c9b8877cc6 Handle homebrew_cask "nothing to list" corner case. 11 years ago
Daniel Jaouen fe5b96a432 Add module homebrew_cask 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