Commit Graph

23240 Commits (3dde5196aab67d2a86c33383baa5121737c4930d)
 

Author SHA1 Message Date
Constantin07 3dde5196aa Added explicit type for 'tags' option 8 years ago
Matt Martz fada638d88 Indicate in notes that the dependency on httplib2 was removed for v2.1 8 years ago
Brian Coca 7a804fd17c tolerate environment not being set
default will be the same as before, None/null
8 years ago
Constantin07 94345349a6 Fixing issue #3057 - AttributeError: 'str' object has no attribute 'items' 8 years ago
Pete Travis b504625f72 quote fail 8 years ago
Pete Travis f6efa9aaa5 expand when opening too 8 years ago
Pete Travis 57703450f5 use expanduser() before testing user_data as file
I like to use ~/somepath instead of absolute paths because
that's more shareable.  Without expansion, the path wasn't
considered a file, and the resulting cloud-config user_data
contained a string for the file path instead of the file context.
So, expand it.
8 years ago
Konstantin Suvorov 762bd3a801 Fix docker container restart
restart_containers(containers.running) may try to restart containers
that are deleted when looping through get_differing_containers()
fix this by refreshing list after first loop
8 years ago
Daan Oosterveld 6b4fbe62de Adds ulimit to the docker module
The ulimit will be specified as a list and separated by colons. The
hard limit is optional, in which case it is equal to the soft limit.

The ulimits are compared to the ulimits of the container and added
or adjusted accordingly on by a reload.

The module ensures that ulimits are available in the capabilities
iff ulimits is passes as a parameter.
8 years ago
Scott Brown ba2bc1dbfe Fixing missing interpolation variable 8 years ago
Matt Martz a18206355a Drop dependency on httplib2 in the uri module, instead using ansible.module_utils.urls 8 years ago
Brian Coca a546775172 fixed typo, now correctly check isdir
fixes #3089
8 years ago
Brian Coca 69b0e39220 added missing checksum alias 8 years ago
Peter Sprygada 0b49f956ce minor bugfixes for junos_config return values
The junos_config now properly returns updates and reponses
8 years ago
Brian Coca ab6242bace fixed rax_cdb argument spec
now we pull the actual arguments and added aliases to be nice
fixes #3075
8 years ago
Ton Kersten b58e16ed3d Fix facter path
In Puppet 4 and in the PE edition, the Puppet tree is installed in
`/opt/puppetlabs/...` and all commands can be reached from
`/opt/puppetlabs/bin`.
8 years ago
Daniel Petty f26199d962 replaced sudo with become 8 years ago
Brian Coca bd54067287 point to local issue temmplate 8 years ago
Brian Coca c2a3b16155 initial add of issue/pr templates 8 years ago
Brian Coca 453d267489 documented new verbosity option 8 years ago
Peter Sprygada 025bc70acd initial add of ops_template module
This adds a new module ops_template used for configuring OpenSwitch
using local declarative config modules
8 years ago
Peter Sprygada 0f7279b967 bugfix for missing function name in ios_command
This provides a minor bugfix for a missing function name in the ios_command
network module
8 years ago
Matt Martz aaf762573e Various simple linting type cleanups on modules 8 years ago
Brian Coca 4ec0ccd5ac fixed option name mismatch, added aliases
also removed empty aliases
8 years ago
Brian Coca b357f4dd72 added follow to specific modules that support it
was removed from common file docs
8 years ago
Jose Moreira cc173b445e Fixed module doc typos 8 years ago
Brian Coca bbfb957bc1 recursive copy is not available(yet) on remote_src 8 years ago
Guruprasad 1b642fcf75 Fix typo in the copy module error message
Fix the typos in the error message shown on trying to use remote_src=yes for copying directories
8 years ago
Brian Coca 23c07ccf2c cleaner error on recursive remote copy
TODO: add recursive copy support when remote_src=yes
probably need to make shared the logic in the action plugin.
8 years ago
Peter Sprygada 06e3899860 initial add of iosxr_config module
This adds a new module, iosxr_config, that can be used for configuring
Cisco IOS XR devices.  It is provides a set of arguments for sending
configuration commands to the device over cli
8 years ago
Peter Sprygada 5725472cc6 initial add of iosxr_template module
This adds a new module, iosxr_template, that can be used to template
configurations for IOS XR devices.  Templates are then loaded into the
target device over cli
8 years ago
Peter Sprygada 671184adc4 initial add of iosxr_command module
This adds a new module, iosxr_command, that can be used to issue
commands to devices running IOS XR.  Commands are run on the
target device over cli
8 years ago
Peter Sprygada 4f4bc9ed5c update junos_command module return values
This minor update fixes the return values from the junos_command module
to be consistent with other network modules
8 years ago
Peter Sprygada 13793d7b95 update ios_command module return values
This minor change updates the return values and doc string for the
ios_command module to be consistent with other network modules
8 years ago
jjshoe a160d5426d List which version it was added
fixes https://github.com/ansible/ansible-modules-core/issues/2605
8 years ago
Brian Coca 8d0d251003 removed 'overquoting' of example
fixes #3029
8 years ago
David Shrewsbury d7568a50e2 Fix parameters where type is assumed.
A change is coming to Ansible where module params will default to str.
Many of our modules were taking advantage of this by not being explicit
about the type, so they will break when that change merges. This hopefully
catches those cases.
8 years ago
Peter Sprygada ca9be1d62c add init to network/cumulus and reset module attrs
The modules were merged in without an __init__.py.  This adds the module
iniit and resets all of the module attrs to 0644
8 years ago
Toshio Kuratomi 50eda6c62e password needs to be type str.
In 1.9 this was the default.  In 2.0.0 and 2.0.1 this doesn't get set.
2.1.0 will fix the default but we should fix this now.
8 years ago
Peter Sprygada c98ba21f45 add package init to junos/ 8 years ago
Brian Coca 5b07831a11 fixes for uri module
- clarify docs on body_json behaviour
- only tranform into json if body input is not a string
  users keep passing json string and expecint it to not be jsonified again
- fixed issue with removes not handling path expansion correctly
- switched all path variables to 'type path' to handle expansions
8 years ago
Jason Kohles bc834ff564 Enable env vars for vsphere_guest
This commit allows the connection information for
the vsphere_guest module to be provided as environment
variables, which makes it possible to use Cloud
Credentials from Ansible Tower in playbooks that utilize
vsphere_guest.

| ENV VAR         | vsphere_guest param    |
| --------------- | ---------------------- |
| VMWARE_HOST     | vcenter_hostname       |
| VMWARE_USER     | username               |
| VMWARE_PASSWORD | password               |
8 years ago
Mike Caspar ea8097a821 Documentation updates to use complete YAML : syntax instead of key=val syntax. Adjusted example to use "" where appropriate to pass YAML Syntax checker per Contribution guidelines.
See Issue [# 2879](https://github.com/ansible/ansible-modules-core/issues/2879)
8 years ago
Peter Sprygada 0310363a22 initial add of junos_config module
This adds a new module, junos_config, useed to configure Juniper JUNOS based
devices.  The config module can be used to set an ordered set of set and
delete statements over a cli transport
8 years ago
chouseknecht a5fe046f90 Add ios_commnand module. 8 years ago
chouseknecht be2a50547e Moved Conditional class to netcfg. 8 years ago
Peter Sprygada ab210862f0 initial add of junos_template
This adds a new module, junos_template, that can read in a template
config and push the changes to the device.  It can also backup the
current config.  This module is implemented over cli
8 years ago
Peter Sprygada fb7d5e798c initial add of junos_command module
This adds a new module, junos_command that can be used for sending commands
to Juniper JUNOS based devices.   The junos_command module is implemented
over a cli transport
8 years ago
Brian Coca 2ed38b79cb expanded info on fail on check + missing apt-python
it now explains that apt module will auto install
8 years ago
Luca Berruti feb309e3cf Typo. 8 years ago