Commit Graph

18745 Commits (85cc3b734fe85d7c83af9d608859cd19613dbbe8)
 

Author SHA1 Message Date
Toshio Kuratomi 512825455e Make ohai and facter work via module_utils Fact classes rather than in the setup module 9 years ago
Toshio Kuratomi 5a1e35224b Make changes proposed during review of restrict fact gathering feature:
* Make documentation examples into code blocks
* Make code to call the subsets more general.
* Made min subset always execute (cannot disable it).
* Use a passed in modules parameter rather than global modules.  This is needed for ziploader
* Remove unneeded __init__()
* Remove uneeded multiple inheritance from a base class
* gather_facts is now a list type
9 years ago
Toshio Kuratomi d665911bab Allow FieldAttribute lists and sets to be set from a comma separated string 9 years ago
Yannig Perré 88772b6003 Add a way to restrict gathered facts in Ansible:
- Using gather_subset options
- By ignoring ohai/chef or facter/puppet facts
9 years ago
Andre Keedy d180e0e05f Bug Fix
-Corrected the format in case of  multiple hosts

Remove empty spaces
9 years ago
Brian Coca 2984ffdfac now item callback honors display_skipped_hosts
fixes #14956
9 years ago
James Cammarata 81788e627d Adding unit tests for TaskResult 9 years ago
Peter Sprygada d211b4c962 feature to implement localized cli prompts to eos
This change localizes the cli prompt regexps to the eos shared module
instead of the common prompts implemented in shell
9 years ago
Peter Sprygada 5338d6af28 feature in ios to tell shell not to kickstart
This commit is necessary to tell shell not to kickstart the cli session as
it causes problems in IOS to recognize the prompt.
9 years ago
Peter Sprygada 249caac0d3 feature to allow prompts to be configured at instatiation
This commit adds a new feature to allow implementations of shell to
specify the command prompt regexp to be used.  It allows adds a new
kwarg at instantiation to kick the remote device with a carriage return.
By default the kickstart flag is true but can be disabled by passing
kickstart=False.
9 years ago
James Cammarata 2fa1936ff9 Adding python-dev to the list of packages for ubuntu1204 docker
[ci skip]
9 years ago
James Cammarata 9d459386ce Also adding an upgrade of pycrypto to ubuntu1204 config 9 years ago
James Cammarata 90afc5e7d2 Adding rubygems to the ubuntu1204 docker config
[no ci]
9 years ago
James Cammarata af282eb979 Fixing typo in ubuntu1204 docker config 9 years ago
James Cammarata ff5584a349 Updating jinja2 in ubuntu1204 docker image 9 years ago
Michael Scherer b3d600f1ec Fix the lexer used, jinja2 is not valid, jinja is 9 years ago
Michael Scherer 8b808cab9e Add doc on ansible_version, fix #13204 9 years ago
Michael Scherer d7f1d865ec Fix pygments lexer name
This prevent the build from sending warnings like this:

    YAMLSyntax.rst:28: WARNING: Pygments lexer name 'YAML' is not known

and actually show real warnings and issues in the documentation
9 years ago
James Cammarata 89cace28ea Adding ubuntu1204 to the travis config for testing 9 years ago
James Cammarata 1222830155 Initial commit for Ubuntu 12.04 docker config for testing 9 years ago
Peter Sprygada c55d1c55af Merge pull request #14906 from devananda/fix-shell-for-junos
Send empty command before recv
9 years ago
Brian Coca 00b8b49112 Merge pull request #14873 from bcoca/paging_aws
paging for amazon modules
9 years ago
Brian Coca fdcd80bf87 Merge pull request #13339 from bcoca/retry_rate
draft of common retry and rate limiting decorators for api based modules
9 years ago
Peter Sprygada e3671a8a83 bugfix for eos shared module and new optimization
This commit address to issues in the eos shard module.  The first one
is a bug fix for returning the running config when the transport is eapi.
The shared module will now return config text instead of an object.  The
second is a optimization that delays when the eos module connects to the
remote devices.  This provies a performance enhancement when using
ssh since the module doesn't default to connecting immediately
9 years ago
Toshio Kuratomi 180e70b67a Merge pull request #14937 from mattclay/unicode-dir
Fix missing to_bytes on directory path.
9 years ago
Brian Coca 119f58ade4 Merge pull request #14935 from dagwieers/patch-15
Reformat new module lists
9 years ago
Matt Clay 1e1852c34d Add missing to_bytes on directory path. 9 years ago
Matt Clay a44b88936b Add unicode dir to connection tests. 9 years ago
Dag Wieers 6c7ffbfbcd Reformat new module lists
Make the Changelog easier to parse, especially the list of new modules
9 years ago
Toshio Kuratomi cc0d58abcc Merge pull request #14921 from Shrews/openstack_param_fix
Set type for OpenStack 'verify' param
9 years ago
Jason McKerr 5128167ee6 Merge pull request #14862 from mckerrj/devel
Adding committer guidelines to docsite
9 years ago
Jason McKerr 1e85abfcf2 updates based on feedback from docschick and bcoca. 9 years ago
Robyn Bergeron 250b6c0f35 update proposals proposal
update proposals proposal with updates discussed in last week's meeting. will move this and other related materials to the new repo after this merges.
9 years ago
James Cammarata 286d91d722 Reorganizing tox stuff and making py3-specific requirements 9 years ago
mvgrimes e613737b80 Dynamically add ssl key to the mysql config hash iff needed
Just including the `ssl` key in the config for MySQLdb.connect, causes it to check for the existence of SSL support. This patch only adds the key if one of the ssl configuration options is included.
9 years ago
David Shrewsbury 336d19d3b0 Set type for OpenStack 'verify' param
The 'verify' param is a bool, so we don't want it to be an assumed
str.
9 years ago
James Cammarata ab682b2917 Moving docker tests to pre-compiled images 9 years ago
Peter Sprygada a59fe25bb1 bugfix for shared module shell.py
removes get_cli_connection function which was left over from a refactor
but was no longer in use
9 years ago
Matt Davis 32a1662ad0 Merge pull request #14910 from mattclay/libvirt-no-selinux
Add noseclabel support to libvirt_lxc plugin.
9 years ago
Matt Clay ba1bcdfc17 Add noseclabel support to libvirt_lxc plugin. 9 years ago
Brian Coca 8a42f3417c Merge pull request #14905 from amesbury/patch-1
Fixed typo
9 years ago
amesbury 1871f0ec16 Fixed typo 9 years ago
James Cammarata adc9a25a06 Merge pull request #14904 from mattclay/mysql-test-timeout
Lower connect timeout for test_mysql_variables.
9 years ago
James Cammarata c6af811573 Fixing equality check in run_tests.sh for sanity 9 years ago
Matt Clay 20eee14a2c Lower connect timeout for test_mysql_variables. 9 years ago
James Cammarata 16f107a491 Add mysql connection_timeout param to module_utils/mysql.py 9 years ago
Brian Coca 7e3c92e909 predictable docker names and autoremove if no fail 9 years ago
Brian Coca 33f96edcd0 Merge pull request #14896 from resmo/docsite/cloudstack-vpc
docsite, cloudstack: inform limited VPC support
9 years ago
James Cammarata cf27cf0a9e Updating RELEASES/etc. for devel
[ci skip]
9 years ago
Devananda van der Veen 08f270ad71
Send empty command before recv
On some switches, starting an SSH connection and immediately calling
recv() will result in a connection timeout. The switch requires some
input on the channel before it provides any prompt.

As such, this patch sends an empty command immediately upon connection,
triggering the switch to send a prompt which the shell can then
interpret.

Signed-off-by: Devananda van der Veen <devananda.vdv@gmail.com>
9 years ago