Commit Graph

23933 Commits (53a0a64bdae1c6e1f104ee5658894dd8f5f081de)
 

Author SHA1 Message Date
Andrei Lukovenko 436ff356e7 Bug: repeatable invocation with state=present leads to (#3052)
[localhost]: FAILED! => {"changed": false, "failed": true, "msg":
"'Domain' object has no attribute 'id'"}

How to reproduce:

- name: create domain
  digital_ocean_domain: state=present name=DOMAIN_NAME ip=DROPLET_IP

- name: create domain
  digital_ocean_domain: state=present name=DOMAIN_NAME ip=DROPLET_IP

Problem: DigitalOcean API changed API
(https://developers.digitalocean.com/documentation/v2/#list-all-domain-records)
8 years ago
Brian Coca 544b044129 stop trying to set permissions in check mode
fixes #4195
8 years ago
Brian Coca 498dc61154 documenting behaviour as clear as possible 8 years ago
Toshio Kuratomi 0364831c22 Remove version-added on name field.
This parameter was actually added in 2.0.  It's just that the
documentation in previous versions of the module were wrong (it said the
name was  "network" rather than "name.)  I've renamed the parameter in
the documentation of prior versions so ansible-module-validate should no
longer think that this is a new parameter.
8 years ago
Peter Sprygada 42da47813b adds update_config argument to ios_config
New argument controls whether or not configuration is applied to the
remote device.
8 years ago
Peter Sprygada 4611e2b9ad initial add of new module vyos_config
New module for sending configuration commands to remote devices running
the VyOS operating system.
8 years ago
Peter Sprygada cff91c4c3b initial add of new module vyos_facts
* adds collection of default facts
* adds collection of configuration facts
* adds collection of lldp neighbors
8 years ago
Ryan S. Brown 9336e0d070 Indent `unarchive` module documentation to fix parsing error. 8 years ago
tobixx ed1d80b7d8 added read-/write-/executeable flags for invoking user (#4130) 8 years ago
James Cammarata aa1e9e3d5f Add remote_src param for unarchive to deprecate `copy` param
From ansible/ansible#10218
8 years ago
Peter Sprygada 92ac734e13 initial commit of vyos_command module
This adds a new module, vyos_command for sending CLI commands to remote
devices running VyOS operating system.
8 years ago
Peter Sprygada 25294f40c8 bug fix in ios_config module for handling config contents
Config contents when passed via argument were returning a string but
the module expects an instance of NetworkConfig.  This fixes that
problem.
8 years ago
Jan Hutař 5eb4e0dd0d Add way to specify environment (#3453) 8 years ago
h-hirokawa 57921c0b4d Fix azure_rm_virtualmachine (#4174). 8 years ago
Chris Houseknecht c91de38322 Entrypoint fails with 'command not found' error. 8 years ago
Chris Houseknecht 7ffa6a43c5 Add push parameter. Let API handle registry authentication check. 8 years ago
Chris Houseknecht 4002caf60e Fix module failing when no ports are exposed 8 years ago
jjshoe d8b752b3cf Fixed a typo (#4168) 8 years ago
Richard Levenberg 4943d329a4 handle multiple winrm listeners (#4142)
* handle multiple winrm listeners

* use the sorterd array
8 years ago
Marcos Diez f10413b919 better authorized_keys documentation (#3739) 8 years ago
Peter Sprygada 43ba7f3b3b removes unneeded check_args function from ios_command
The module would raise a KeyError trying to find the save_config key
which is not present in the argument_spec.  This was caused by the
check_args() function.  Since the ios shared argument spec isn't used
the check_args function is not needed and has been removed.
8 years ago
Chris Houseknecht 030dcccad4 Fix multi-interface port binding. 8 years ago
Chris Houseknecht bd3e1c77fe Add cleanup parameter. (#4144) 8 years ago
Peter Sprygada 438b9328ea fixup ios_template module to use NetworkModule
This removes the get_module() factory function and directly creates
an instance of NetworkModule.  This commit includes some minor clean
up to transition to the ios shared module for 2.2
8 years ago
Chris Houseknecht 7515b2d563 Fix 'all' option for published_ports parameter. 8 years ago
David Shrewsbury 37edf33955 Fix bug in os_router.py when router is not actually updated. (#4107)
The shade update_router() call will return None if the router is
not actually updated. This will cause the module to fail if we
do not protect against that.
8 years ago
Brian Coca 72eaf0281a updated checkmode for update-rc.d
fixes #4146
8 years ago
Chris Houseknecht dc496ffeb4 Fix purge_networks 8 years ago
Peter Sprygada 66268dd3ec fix up ios_command to use NetworkModule
* using check mode will now block all commands except show commands
* module will no longer allow config mode commands
* check args for unused values and issue warning
8 years ago
Qi Luo b86a229b61 Fix getting actual_stdin_open 8 years ago
Peter Sprygada 5fe848fca2 refactor ios_config for network module
This refactors the ios_config module to use the network module added
in 2.2 to simplify common network functions

new features

* add src, dest arguments for working with config
* results now return flag if the config was saved or not
* adds append argument for updating the dest file (when dest is used)
8 years ago
Rene Moser 5e3249b244 os_server, doc: add version added for delete_fip
Also see #3509
8 years ago
David Shrewsbury 530fd1365a Allow os_server to delete FIP (#3509)
The os_server module could automatically generate a floating IP for
the user with auto_ip=true, but we didn't allow for this FIP to be
automatically deleted when deleting the instance, which is a bug.
Add a new option called delete_fip that enables this.
8 years ago
Andrei Lukovenko 85bd975238 Bug: invocation with state=absent always leads to (#3051)
[localhost]: FAILED! => {"changed": false, "failed": true, "msg":
"'Domain' object has no attribute 'id'"}

How to reproduce:

- name: create domain
  digital_ocean_domain: state=present name=DOMAIN_NAME ip=DROPLET_IP

- name: destroy domain
  digital_ocean_domain: state=absent name=DOMAIN_NAME

Problem: DigitalOcean API accepts domain name, not record ID
(https://developers.digitalocean.com/documentation/v2/#delete-a-domain)
8 years ago
Adrian Moisey 28716f565c Add default port for aurora (#4102)
If a port isn't specified, it's looked up. The lookup breaks without
this.

Related: https://github.com/ansible/ansible-modules-core/pull/3414
8 years ago
Peter Sprygada 28a701128d update ios_facts module to use NetworkModule
minor update to ios_facts to remove get_module() in favor of NetworkModule
8 years ago
jctanner d5b35eb8db add gather_timeout parameter (#4093) 8 years ago
James Cammarata 2aad8bd882 Removing erroneous import from async_status 8 years ago
James Cammarata 204e83aeed Ensure async wrapper and status return consistent fields 8 years ago
Matt Clay 72cd76e023 Enable IRC and Slack notifications on Shippable. 8 years ago
Matt Clay a7bef31ab3 Run each integration test separately. 8 years ago
Matt Clay 1b69cff1a4 Initial support for module integration tests. 8 years ago
Dag Wieers 017eeaea29 Fix a problem where the newly provided mode is a string (#3769)
* Fix a problem where the newly provided mode is a string

This fixes #3597

* Implement python3-compatible get_exception() handling
8 years ago
Dag Wieers 855ca9b204 Revert PR #3575 since it causes problems related to exclude patterns (#3767)
* Revert PR #3575 since it causes problems related to exclude patterns

By using a different method for getting archive filelists, and extracting we introduced new problems related to excluding based on gtar patterns.

As a result files that would be excluded by gtar, would still be in the filelist. Implementing our own gtar compatible pattern exclusion mechanism is near to impossible (believe me, we looked at it...). The best way is to look at the original problem and deal with that, and ensure that extraction and filelists are done with the exact same tool and exact same options.

The solution is to decode the octal unicode representation in gtar's output back to unicode. Since gtar has no problem extracting these files in LANG=C, we simply has to compensate for it.

This reverts #3575 and fixes #11348.

* Implement codecs.escape_decode() instead of decode("string_escape") for python3
8 years ago
Chris Houseknecht a8059c68d0 Remove object name validation. 8 years ago
Brian Coca b55fd5f67a updated set_fact docs with note about typing 8 years ago
nitzmahone b51a1e175e minor win_template doc corrections 8 years ago
Brian Coca ad996f162b name was the issue, not pkg 8 years ago
Brian Coca d8e91f01b0 protect another portion against None name 8 years ago
Brian Coca 506e6ff2e2 another fix for None in name 8 years ago