Commit Graph

17496 Commits (2ed31fc8185d2280460e2afb84215fc4ed5691e7)
 

Author SHA1 Message Date
Toshio Kuratomi 2ed31fc818 Add python-setuptools to the requirements for running ansible as
python-setuptools contains the egginfo needed to make pkg_resources
work.
9 years ago
Toshio Kuratomi be087575cc Fix circular import 9 years ago
Toshio Kuratomi 79931041e2 do_encrypt import needed to move as well
Fixes #13861
9 years ago
Toshio Kuratomi 832a739331 use integer division instead of floating point division.
Fixes #13855
9 years ago
Toshio Kuratomi b83ef89f09 Add windows/unix newline change to the changelog 9 years ago
nitzmahone 419bd389d8 move core submodule ref for win_msi fix 9 years ago
Brian Coca e497e2b5c0 made loading of galaxy data files lazy 9 years ago
James Cammarata 16ae952888 re-adding the dummy debian changlog entry for packaging 9 years ago
sebastianneubauer 954eba8605 added galaxy data
not tested, but something like this seems to be missing in the Manifest.in
9 years ago
Brian Coca e4b701c00a added module name to missing interpreter error
fixes #13816
9 years ago
Emil Lind 21c22a2416 Allow InventoryScript JSON with childgroups only
and without hosts and vars

Without this patch, the simplified syntax is triggered when a group
is defined like this:

    "platforms": {
        "children": [
            "cloudstack"
        ]
    }

Which results in a group 'platforms' with 1 host 'platforms'.

more details in https://github.com/ansible/ansible/issues/13655
9 years ago
Toshio Kuratomi 4e98cc351c Update submodule refs so that new integration tests will pass 9 years ago
Toshio Kuratomi f53cb5f63e Integration tests for https://github.com/ansible/ansible-modules-core/pull/558 9 years ago
Rene Moser 1cae019c79 cloudstack: fix case insensitivity
cloudstack: fix has_change reports changed for case insensitivity values
9 years ago
Eric Feliksik f3470c1062 cleaner implementation and random chunk length. 9 years ago
Eric Feliksik 21a4c1380c use unix shred if possible, otherwise fast custom impl; do not shred encrypted file 9 years ago
Eric Feliksik 4811504a6e add docs, remove unnecessary int() cast 9 years ago
Eric Feliksik 08fee9bfc5 add os.fsync() so that the shredding data (hopefully) hits the drive 9 years ago
Eric Feliksik 2cb2994371 shred ansible-vault tmp_file. Also when editor is interruped. 9 years ago
James Cammarata 2eb59bedcf New release v2.0.0.0-1 9 years ago
James Cammarata 14bf6b016c Split up comma-separated tags properly
Fixes #13795
9 years ago
Peter Sprygada 28fecc9ce1 bugfix in nxos shared module for including defaults 9 years ago
Peter Sprygada 2c647f18e5 bugfix in ios shared module for including defaults 9 years ago
Peter Sprygada 4e087bb14f bugfix in eos shared module for including defaults 9 years ago
nitzmahone 1f7fbf29f9 updated new windows module list in changelog 9 years ago
Peter Sprygada 0681c2fd8f deletes nxapi from shared modules
The nxapi module has been superseded by the nxos shared module and is not longer needed. This commit removes (deletes) nxapi from module_utils.  All custom modules that have used nxapi should be using nxos instead.
9 years ago
Peter Sprygada 4a6235e320 adds network config file parser to shared modules
This commit adds a new shared module that parses network device configuration
files.  It is used to build modules that work with the various supported
network device operating systems
9 years ago
Peter Sprygada 94f13c7271 adds shared module shell for creating cli based transports
This commit add a new shared module shell that is used to build connections
to network devices that operate in a CLI environment.  This commit supercedes
the issh.py and cli.py commits and removes them from module_utils.
9 years ago
Peter Sprygada 93eb60161c initial add of openswitch shared module
This commit adds a new shared module openswitch for building modules that
work with OpenSwitch.  This shared module supports connectivity to
OpenSwitch devices over SSH, CLI or REST.  It also adds an openswitch
documentation fragment for use in modules
9 years ago
Peter Sprygada 2f1fc85002 adds shared module nxos for building cisco nxos modules
This commit refactors the nxapi into a new shared module nxos that supports
connectivity over both ssh (cli) and nxapi.  It supercedes the nxapi shared
module and removes it from module_utils.  This commit also adds a
documentation fragement supporting the nxos shared module
9 years ago
Peter Sprygada 91f35363a2 adds new iosxr shared module for developing modules that work with IOS XR devices
This commit adds a new shared module for working with Cisco IOS XR devices over
CLI (SSH).  It also provides a documentation fragement for the commmon arguments
provided by the iosxr module.
9 years ago
Peter Sprygada f76633b347 updates the ios shared module with new shell
This update refactor the ios shared module to use the new shell shared
library instead of issh and cli.  It also adds the ios documentation
fragment to be used when building ios based modules.
9 years ago
Peter Sprygada 9c9bfb962e initial add of eos shared module
This adds a shared module for communicating with Arista EOS devices over
SSH (cli) or JSON-RPC (eapi).  This modules replaces the eapi.py module
previously added to module_utils.  This commit includes a documentation
fragment that describes the eos common arguments
9 years ago
Brian Coca 0e27fa4540 restructure vars_prompt and fix regression
pushed it to use the existing propmpt from display and moved the vars prompt code there also for uniformity
changed vars_prompt to check extra vars vs the empty play.vars to restore 1.9 behaviour
sipmlified the code as it didn't need to check for syntax again (tqm is made none prior based on that)
fixes #13770
9 years ago
Matt Martz 3a972c9170 Restore ability for a module to specify WANT_JSON 9 years ago
Brian Coca 91c7691a92 noted that regex_escape was added in 2.0
fixes #13759
9 years ago
James Cammarata 502ad88506 New release v2.0.0-0.9.rc4 9 years ago
Toshio Kuratomi 80f0380312 Fix typo 9 years ago
Toshio Kuratomi a8f160d2fd More fixes for unicode handling in the connection plugins.
Tested that ssh, docker, local, lxc-libvirt, chroot all work with the
updated unicode integration test.
9 years ago
Brian Coca 6be48dd14c Revert "Show version without supplying a dummy action"
This reverts commit 21775d7866.
Parsing before action will fail if one of the action specific options is used
As per issue #13743
9 years ago
James Cammarata fcd074d40f Merge branch 'ktosiek-fix-playbook-hanging' into stable-2.0 9 years ago
muffl0n 21775d7866 Show version without supplying a dummy action
fixes #12004
parsing x2 does not seem to break anything
9 years ago
Abhijit Menon-Sen ab536c8aa8 Strip string terms before templating
The earlier code did call terms.strip(), but ignored the return value
instead of passing that in to templar.template(). Clearly an oversight.
9 years ago
James Cammarata 93f37f5969 Don't drop noops from task counting code in linear strategy 9 years ago
Tomasz Kontusz ec3b7b7de8 linear strategy: don't look at tasks from the next block 9 years ago
Toshio Kuratomi 7a4914aa9b Fix exception catching to be importable on python3 9 years ago
Brian Coca 9ca5da82ff move hostvars.vars to vars
this fixes duplication under hostvars and exposes all vars in the vars dict
which makes dynamic reference possible on 'non hostvars'
9 years ago
Brian Coca 3d608ef9fa simplified diff handling in callback
no need for the copy or other complexity
9 years ago
Brian Coca c14e099dd7 now handles 'non file diffs'
this allows modules to pass back a 'diff' dict and it will still show using the file interface
9 years ago
Toshio Kuratomi 7e318e8398 Update extras submodule ref 9 years ago