Commit Graph

27666 Commits (f533f6603cc19aac587d9e87a3a08c0f0a5bbc98)
 

Author SHA1 Message Date
Brian Coca f533f6603c show filename for module 8 years ago
Toshio Kuratomi c46ef98496 Replace the old ansible.module_utils best practices with the new ones. 8 years ago
Rob cfa8ce767b Add new parameters to taskdefinition module - network_mode and task_r… (#19493)
* Add new parameters to taskdefinition module - network_mode and task_role_arn

* Add version_added field for doco

* Change version_added parameter to 2.3
8 years ago
Fabio Alessandro Locati a080d44a47 Improve YAML examples - system/solaris_zone.py (#19410) 8 years ago
Peter Sprygada 7814546735 cast injected json string to bytes in local modules (#19519)
this change will cast the locally injected ansible args to bytes
from string
8 years ago
Peter Sprygada 2a5a2773c8 adds new module net_command for network devices (#19468)
* new module net_command for sending a command to a network device
* adds unit test cases for module
* only works with connection=network_cli
8 years ago
Rob b77ab1a6c9 Add support to ec2_eip to associate with a secondary ip address (#19484) 8 years ago
Ken Evensen 58b067532f gconftool2 module (#19461)
* Pull #19267 broke sysctl module.  Minor corrections

* Commit of gconftool2 module
8 years ago
Alex Sergeyev 28a3a13656 Support MariaDB engine version 10.1 (#19483) 8 years ago
redbloodmage 0568adc272 Added some clarity on the token confusion. (#19473) 8 years ago
Peter Sprygada 8f97ddd98a removes network os guess static method (#19467)
For devices that do not support mutliplexing, we cannot automatically
determine the network os.  This removes the os guess static method
from the terminal plugin.  For this devices, the network_os
value must be configured
8 years ago
Matthew c58461596a Support pacman packages using different types of compression (#19503)
It's possible to compress packages using several different compression
methods, or not compressed at all. Previously, the pacman module only
supported files compressed using xz. This update ensures that all
compression types currently supported by pacman are supported by the
ansible pacman module.

The list of supported compression methods at the time of writing can be
found here:
https://git.archlinux.org/pacman.git/tree/scripts/makepkg.sh.in#n747
8 years ago
Will Thames 87c0c33241 Fix include_role docs to be valid YAML (#19506)
Remove the colon from one of the documentation notes, which was
causing documentation schema validation to fail.
8 years ago
Will Thames dce445f956 Improve error message for module validation (#19501)
Print out the data that fails to validate when doing
schema checking on modules

This allows easier interpretation of error messages.

From:

```
ERROR: DOCUMENTATION.notes.2: expected basestring
```

To:

```
ERROR: DOCUMENTATION.notes.2: expected basestring @ data['notes'][2].
Got {"As with C(include) this task can be static or dynamic, If static
it implies that it won't need templating nor loops nor conditionals and
will show included tasks in the --list options. Ansible will try to
autodetect what is needed, but you can set `static": 'yes|no` at task
level to control this.'}
```
8 years ago
Brian Coca 48dee1b6d0 still needs static for task object 8 years ago
Dag Wieers 39c9c6b942 Ensure that command/shell errors are displayed
This fix ensures that if there are specific module errors (in our case
the python interpreter was not found) then command and shell returns a
proper error.

It also fixes a few other imperfections that we noticed during
troubleshooting:

- Return the real RC if it were available
- Improve a dictionary evaluation using .get()
- Return an RC of -1 if it is unknown (instead of returning 0)

This fixes #18846
8 years ago
Dag Wieers 41614fd8e6 Display proper error on group_vars syntax error
This fix ensures a proper error is shown when a group_vars files cannot
be parsed correctly. Without this patch you get:

```
[dag@moria ansible.testing]$ ansible-playbook test132.yml
ERROR! Unexpected Exception: dictionary update sequence element #0 has length 1; 2 is required
to see the full traceback, use -vvv
```

With this patch you get:
```
[dag@moria ansible.testing]$ ansible-playbook test132.yml
ERROR! Problem parsing file '/home/dag/home-made/ansible.testing/group_vars/test135': line 1, column 1
```

This fixes #18843
8 years ago
Brian Coca 5d82fe545f minor docs and option fixes 8 years ago
Brian Coca 884b529195 removed unused 'static' option
the task level directive is what actually controls this, this option was never used
8 years ago
Simon Wydooghe f97e6f8903 Bracket forgotten in inventory file 8 years ago
Jake Morrison 00859a4ced Handle inability to read /proc for ansible_service_mgr. Fixes #18957 8 years ago
Adrian Likins 5cd7a08418 Check solaris 'smbios' is exists before running it
smbios could potentially be None here, possibly causing
the solaris 8/9 failures seen at #19282

Fixes #19282
8 years ago
Ryan S. Brown 5204024f35 `s3_sync` module: Add ANSIBLE_METADATA parameter 8 years ago
tedder be7a568b33 New module `s3_sync`: boto3-powered s3 synchronization
Syncs groups of files faster than the `s3` module and support content
type detection/overriding and globbing.
8 years ago
Fabio Alessandro Locati f1b5dde4cb Improve YAML examples - packaging/kibana_plugin.py (#19409) 8 years ago
Dag Wieers 2f90091f0a Add an important example for SSHd
Sudoers is a great example to show how you can prevent shutting yourself
out. But SSHd is at least as important to avoid syntax errors causing a
lot of grieve. So I think it deserves a spot in this list :-)
8 years ago
Fabio Alessandro Locati fb0779f657 Improve YAML examples - windows/win_regedit.py (#19400) 8 years ago
Fabio Alessandro Locati b6f2565d60 Improve YAML examples - windows/win_template.py (#19408) 8 years ago
Fabio Alessandro Locati beb6ed08cd Improve YAML examples - windows/win_owner.py (#19406) 8 years ago
Fabio Alessandro Locati 12205598c3 Improve YAML examples - windows/win_acl_inheritance.py (#19405) 8 years ago
Fabio Alessandro Locati 5a87f26658 Improve YAML examples - windows/win_get_url.py (#19404) 8 years ago
Fabio Alessandro Locati 5f8f1fa782 Improve YAML examples - windows/win_iis_webapppool.py (#19403) 8 years ago
Fabio Alessandro Locati 83d0f621da Improve YAML examples - windows/win_iis_webapplication.py (#19402) 8 years ago
Fabio Alessandro Locati f57418c2c1 Improve YAML examples - windows/win_user.py (#19401) 8 years ago
Fabio Alessandro Locati 9b3d9e1780 Improve YAML examples - windows/win_file_version.py (#19399) 8 years ago
Fabio Alessandro Locati 0aa16b36b7 Make the example in proper yaml format - windows/win_iis_virtualdirectory.py (#18829)
* Make the example in proper yaml format

* Add r
8 years ago
Fabio Alessandro Locati 75bcec0ef5 Fix conflict and typos (#18831) 8 years ago
Nathaniel Case 2405c0bbef Hopefully clear up some junos issues. (#17616) 8 years ago
Eric Beahan dce8f3899e Modify an initial value causing exception when vlan_range param is present (#19019) 8 years ago
Tim Rupp e0e1d3b561 Adds description parameter to pools (#19362)
This patch adds the description parameter as a supported param of
the bigip_pool module.

Tests for this change are available here

https://github.com/F5Networks/f5-ansible/blob/master/roles/bigip_pool/tasks/main.yaml#L732
8 years ago
Nathaniel Case 7900319fc3 Assorted python3 fixes for network code. (#18777) 8 years ago
ikelos c49eac5645 Fix the junos zeroize function (#19142)
Currently this function directs to the standard NetworkModule,
whose run_commands function takes no arguments (other than self).

This directs the call to the connection's cli method to run the command
directly on the device.
8 years ago
Ganesh Nalawade ee5d5c3e84 Fix #4103 Support json format in junos_command module (#19045) 8 years ago
Peter Sprygada ad99d52679 adds feature to allow connection to set action plugin (#18762)
Connection plugin can define default action plugin to use by providing
action_handler instance variable.  This will override the default
action plugin normal
8 years ago
Peter Sprygada 0cef38cf02 adds feature to all modules to be run locally (#18763)
* adds new error AnsibleModuleExit to handle module returns
* adds new action plugin network for attaching connection to network modules
* adds new shared module local to receive connection
* splits out function to update task_args with common updates

This commit provides a mechansim for running local modules that require
a connection object for interative commands tyically implemented for
network devices.  It provides a way to locally import modules (post fork)
and run them using exception handling to exit.
8 years ago
Fabio Alessandro Locati 066872cdc6 Improve examples (#18830) 8 years ago
Fabio Alessandro Locati 8dc3b60d0f Remove unneeded quotes - windows/win_uri.py (#18828) 8 years ago
Fabio Alessandro Locati cf5449c5d9 Remove unneeded quotes - windows/win_unzip.py (#18827) 8 years ago
Fabio Alessandro Locati 439f98005f Highly rewrite and fix the examples - windows/win_iis_webbinding.py (#18823) 8 years ago
saller d8c97ac275 Fix typo.
Fix typo in section "Installing multiple roles from a file".
8 years ago