Commit Graph

933 Commits (b7aa38c0d8507506903bc886e6d6cd30e646ff42)

Author SHA1 Message Date
Brian Coca 766b0ea5b7 updated with new task 'failed' logic 7 years ago
Toshio Kuratomi e238ae999b Cyptography pr 20566 rebase (#25560)
Make pyca/cryptography the preferred backend for cryptographic needs (mainly vault) falling back to pycrypto

pyca/cryptography is already implicitly a dependency in many cases
through paramiko (2.0+) as well as the new openssl_publickey module,
which requires pyOpenSSL 16.0+. Additionally, pyca/cryptography is
an optional dep for better performance with vault already.

This commit leverages cryptography's padding, constant time comparisons,
and CBC/CTR modes to reduce the amount of code ansible needs to
maintain.

* Handle wrong password given for VaultAES format

* Do not display deprecation warning for cryptography on python-2.6

* Namespace all of the pycrypto imports and always import them

  Makes unittests better and the code less likely to get stupid mistakes
  (like using HMAC from cryptogrpahy when the one from pycrypto is needed)

* Add back in atfork since we need pycrypto to reinitialize its RNG just in case we're being used with old paramiko

* contrib/inventory/gce: Remove spurious require on pycrypto

(cherry picked from commit 9e16b9db275263b3ea8d1b124966fdebfc9ab271)

* Add cryptography to ec2_win_password module requirements
  * Fix python3 bug which would pass text strings to a function which
    requires byte strings.

* Attempt to add pycrypto version to setup deps

* Change hacking README for dual pycrypto/cryptography

* update dependencies for various CI scripts

* additional CI dockerfile/script updates

* add paramiko to the windows and sanity requirement set

  This is needed because ansible lists it as a requirement. Previously
  the missing dep wasn't enforced, but cryptography imports pkg_resources
  so you can't ignore a requirement any more

* Add integration test cases for old vault and for wrong passwords

* helper script for manual testing of pycrypto/cryptography

* Skip the pycrypto tests so that users without it installed can still run the unittests

* Run unittests for vault with both cryptography and pycrypto backend
7 years ago
Dag Wieers 8e62c4d8ac Add missing win_psmodule (#26123) 7 years ago
Dag Wieers 33a6150393 imc_xml: New module to manage Cisco IMC hardware (#25529)
* cisco_imc_xml: New module to manage Cisco IMC hardware

This module provides direct access to the Cisco IMC API.
See the included examples for a glimpse of what it can do.

* Rename cisco_imc_xml to imc_xml

After discussion with Peter Sprygada renamed from cisco_imc to imc.
As Cisco ACI is named aci as well.
7 years ago
Simon Dodsley 937d7993cc Initial commit for Pure Storage Ansible module (#25386)
* Initial commit for Pure Storage Ansible module

* Initial commit for Pure Storage Ansible module

* Initial commit for Pure Storage Ansible module

* Fix import issues as required by post-2.2

* Move last import to top

* Follow suggestions and only implement one module per PR
Fix documentation changes requested

* Documentation and formatting changes
7 years ago
Brian Coca b9688c5497 updated chglog with anisble-config data 7 years ago
Abhijeet Kasurde b89cb95609 Fix spelling mistakes (comments only) (#25564)
Original Author : klemens <ka7@github.com>

Taking over previous PR as per
https://github.com/ansible/ansible/pull/23644#issuecomment-307334525

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 years ago
Dag Wieers 931d8d7dad Add new Windows modules to CHANGELOG.md (#25434)
* Add new module win_dsc

* Add more Windows modules
7 years ago
Brian Coca 47027207e7 updated with inventory plugins and callback 7 years ago
James Cammarata 13adee7f44 Updating CHANGELOG for import/include changes 7 years ago
Toshio Kuratomi 6e473a432b Document the encoding parameter for the replace module
Add encoding parameter for replace to changelog
7 years ago
René Moser 53c46df323 cloudstack: new module cs_network_acl_rule (#25325)
* cloudstack: new module cs_network_acl_rule
* fix doc errors
7 years ago
Michael 2d63518753 Fixed markdown in changelog.md (#22980) 7 years ago
Dag Wieers 06035eca67 Added all new modules to CHANGELOG (#25120) 7 years ago
Toshio Kuratomi 8e1e896955 Enable su on the docker plugin 7 years ago
Toshio Kuratomi 0c3bdb7a6d Update changelog w/ docker addition 7 years ago
Brian Coca 37e5454839 updated inventory plugins info 7 years ago
Brian Coca 8f97aef1a3 Transition inventory into plugins (#23001)
* draft new inventory plugin arch, yaml sample

 - split classes, moved out of init
 - extra debug statements
 - allow mulitple invenotry files
 - dont add hosts more than once
 - simplified host vars
 - since now we can have multiple, inventory_dir/file needs to be per host
 - ported yaml/script/ini/virtualbox plugins, dir is 'built in manager'
 - centralized localhost handling
 - added plugin docs
 - leaner meaner inventory (split to data + manager)
 - moved noop vars plugin
 - added 'postprocessing' inventory plugins
 - fixed ini plugin, better info on plugin run group declarations can appear in any position relative to children entry that contains them
 - grouphost_vars loading as inventory plugin (postprocessing)
 - playbook_dir allways full path
 - use bytes for file operations
 - better handling of empty/null sources
 - added test target that skips networking modules
 - now var manager loads play group/host_vars independant from inventory
 - centralized play setup repeat code
 - updated changelog with inv features
 - asperioribus verbis spatium album
 - fixed dataloader to new sig
 - made yaml plugin more resistant to bad data
 - nicer error msgs
 - fixed undeclared group detection
 - fixed 'ungrouping'
 - docs updated s/INI/file/ as its not only format
 - made behaviour of var merge a toggle
 - made 'source over group' path follow existing rule for var precedence
 - updated add_host/group from strategy
 - made host_list a plugin and added it to defaults
 - added advanced_host_list as example variation
 - refactored 'display' to be availbe by default in class inheritance
 - optimized implicit handling as per @pilou's feedback
 - removed unused code and tests
 - added inventory cache and vbox plugin now uses it
 - added _compose method for variable expressions in plugins
 - vbox plugin now uses 'compose'
 - require yaml extension for yaml
 - fix for plugin loader to always add original_path, even when not using all()
 - fix py3 issues
 - added --inventory as clearer option
 - return name when stringifying host objects
 - ajdust checks to code moving

* reworked vars and vars precedence
 - vars plugins now load group/host_vars dirs
 - precedence for host vars is now configurable
 - vars_plugins been reworked
 - removed unused vars cache
 - removed _gathered_facts as we are not keeping info in host anymore
 - cleaned up tests
 - fixed ansible-pull to work with new inventory
 - removed version added notation to please rst check
 - inventory in config relative to config
 - ensures full paths on passed inventories

* implicit localhost connection local
7 years ago
Brian Coca 841baa3d5b updated chnalog 7 years ago
John R Barker e7b477299b New network/avi modules in 2.4 (#24293) 7 years ago
Brian Coca 8c364f8f81 updated release info 7 years ago
Toshio Kuratomi a0dfa8616a Make fetch default to fail on errors
Fixes #23501
7 years ago
Toshio Kuratomi 1c05ed7951 Fix circular import with unsafe_proxy, template, and vars
template/__init__.py imported unsafe_proxy from vars which caused
vars/__init__.py to load.  vars/__init__.py needed template/__init__.py
which caused issues.  Loading unsafe_proxy from another location fixes
that.
7 years ago
Toshio Kuratomi 51e3390333 Document deprecation of fetch module validate_md5 and update --tags merging deprecation (#24022)
* Document deprecation of fetch module validate_md5 and update --tags merging deprecation

Update the default of --tags merging config option to merge by default

* Update CHANGELOG.md

Minor edit
7 years ago
KARASZI István ffa92485b4 Fix Markdown formatting for GitHub (#23752) 7 years ago
Drew Russell c8e16793bf Add the Cisco Spark Module to the 2.3 New Modules (#23636)
Update the Ansible 2.3 New Module list to include the cisco_spark notification module.
7 years ago
Matt Davis d85f4a443f mark runas become method experimental (#23235)
Due to the number of "real world" caveats in the current runas become method, it was agreed that we'd warn that it's experimental on use. A potential future version based on LogonUser/CreateProcessAsUser will have very different requirements and limitations.
7 years ago
Brian Coca 621c586784 added lxd inventory script 7 years ago
Toshio Kuratomi 6cea89299a Add c7c8481 (quoting with hash mark in ini inventories) fix to changelog (#22921) 7 years ago
Toshio Kuratomi 2fff690caa Update module_utils.six to latest (#22855)
* Update module_utils.six to latest

We've been held back on the version of six we could use on the module
side to 1.4.x because of python-2.4 compatibility.  Now that our minimum
is Python-2.6, we can update to the latest version of six in
module_utils and get rid of the second copy in lib/ansible/compat.
7 years ago
Brian Coca b82aa41e31 removed deprecated config/env vars 7 years ago
Toshio Kuratomi 8de05d3752 [WIP] Documentation: Ansible-2.4 no longer supports Python-2.4 and Python-2.5 (#22721)
* Documentation: Ansible-2.4 no longer supports Python-2.4 and Python-2.5
* Switched to bullet points to enhance readability.
7 years ago
Matt Davis e3dfa62abc Windows CHANGELOG updates 7 years ago
Brian Coca 6ced1ad5a2 added group priority to change log 7 years ago
Brian Coca 2fee9ca0dc updated changelog 7 years ago
Ricardo Carrillo Cruz 6e56a61535 Add ios_banner module (#22687)
With unit and integration tests.
7 years ago
Brian Coca 0c44959800 added new tests any and all (#22665)
* added new tests any and all

* updated code names
7 years ago
John R Barker 34498590e3 nxos_mtu deprecated + Tidyup (#22645)
* nxos_mtu deprecated + Tidyup

* Update CHANGELOG.md
7 years ago
Brian Coca 7b167e7947 added stuff to changelog 7 years ago
Brian Coca 0e7664fe4d added java_cert module, did some cleanup 7 years ago
Ryan Brown 81e4fa2a2e Add changelog entry for Lambda module updates (#22327) 7 years ago
Ivan Bojer 9f1a71797e CHANGELOG adding missing PANOS modules (#22209) 7 years ago
Ivan Bojer 8b2ca79507 panos new module used for security policy creation (#20778)
* - new module used for security policy creation

* - added support for API key authentication
- added support for Panorama

* documentation changes

* documentation update

* minor doc changes based on review comments

* move ANSIBLE_METADATA

* changes to docs per reviewer comments
7 years ago
Matt Davis a60d358e56 Revert "win_service_stat: Added module" (#22184) 7 years ago
Jordan Borean 3da806f32a win_service_stat: Added module (#21944) 7 years ago
Matt Davis c98647ccf8 initial commit of win_domain module (#22179) 7 years ago
Matt Davis fffb4992b5 Update CHANGELOG.md 7 years ago
Matt Davis a5edd6e635 initial commit of win_disk_image (#22175) 7 years ago
Fabrizio Colonna f0de1e6c85 Added parted module (#20399)
* Added parted module

* Amended documentation

* Improved documentation

* Managed the case of parted not returning device information.

* Fixed Shippable test not passing

* Fixed compatibility with Python 2.4

* Cleanup of the state option, improved flags management, documentation refinements.

* Compacted format function, code style cleanups, amended comments.

* Fixed bug related to parted data parsing.

* Support for check-mode, amended size data type.

* Fixed Shippable test not passing.

* Added full suport for CHS and CYL units, applied suggested changes.
7 years ago
jhawkesworth 1c2e8fde29 Add win_msg module (#22008)
* new implementation of win_msg.  TODO tests

* added check_mode.  Get-AnsibleParam for parameters.  Default msg is now 'Hello world!'. Use hash for $results.
Re-ordered some parameters alphabetically.
Documentation now in raw strings.  Removed spurious required: false.  Added metadata.

* Keep pep8 checks happy

* Really keep pep8 checks happy this time

* update Changelog.md

* make bracket style internally consistent

* added units to display_seconds description
7 years ago
Dag Wieers 65ee3a6f19 iso_extract: new module to extract files from ISO images (#21957)
This is the original iso_extract module from the ansible-provisioning project.
We are upstreaming all our modules, and this PR is part of that process.
7 years ago
Dag Wieers c9c8be6459 hpilo_boot: Boot/power via HP iLO mgmt board (#21674)
This is the original `hpilo_boot` module that was once accepted in
Ansible but had been removed subsequently because it could not be tested
by the Ansible project.

Since then it was moved to the ansible-provisioning project and
maintained by HP engineers going forward.

Now we are trying to get it upstreamed again.
7 years ago
Matt Davis 06775d2708 CHANGELOG win_dns_client and win_domain_membership 7 years ago
Barry Peddycord III 2ca5719168 Deprecating old cumulus modules (#21726)
* deprecating old nclu modules

* adding deprecated cl_ moduels to changelog

* renaming deprecated modules
7 years ago
Rene Moser d12d1245cb doc: add fortios_config to changelog 7 years ago
Brian Coca 374af06cbf added pickle and yaml cache plugins
added new base class for file based cache plugins as 99% of code was common
now also catches unexpected decoding exceptions
allows per module file modes and encoding
moved jsonfile code to base
7 years ago
Brian Coca dc7992b60c added new modules to chnglog 7 years ago
Jordan Borean a80251ff02 Added win_region module (#19147) 7 years ago
Dag Wieers 958cbae7ba win_tempfile: New module implementing tempfile on Windows (#21623)
This module implements the **tempfile** module for Windows.
7 years ago
John R Barker 3b9892b45b New Modules for Ansible Tower (#21584) 7 years ago
Matt Davis 67f74bbc81 CHANGELOG/roadmap updates for Windows 7 years ago
Brian Coca 14033b9d7d added volumen manage 7 years ago
Dag Wieers 36aad569d2 Various small changes to CHANGELOG.md (#21521) 7 years ago
John R Barker 8a41b16e0f New modules: ordnance_config & ordnance_facts (#21450) 7 years ago
Toshio Kuratomi 44e92d1c40 Add mount fixes to changelog 7 years ago
Ryan S. Brown 723c8f4786 [docs] CHANGELOG add pubnub_blocks module 7 years ago
Ryan S. Brown e075307f3a Fix elasticache module names 7 years ago
John R Barker ff68526291 New module: mattermost (#21398) 7 years ago
Loïc Blot fb32c19fea New module: nsupdate (#21099)
Add nsupdate module to manage DNS records on a DNS server

This uses dnspython library

It's greatly inspired by https://github.com/mskarbek/ansible-nsupdate with some rework, better feedbacks and documentation addition

Signed-off-by: nerzhul <loic.blot@unix-experience.fr>
7 years ago
John R Barker b8c081f11a New module: panos_cert_gen_ssh.py (#21286) 7 years ago
John R Barker f409decf53 New module: sf_account_manager (#21284)
https://github.com/ansible/ansible/pull/20728
7 years ago
Brian Coca 455f52258a added new modules to changelog 7 years ago
Jordan Borean 5cabe420ea Added win_reg_stat module (#19145) 7 years ago
John R Barker 858e1ef422 sf_snapshot_schedule_manager (#21212) 7 years ago
Jordan Borean 1ce5fcf061 Added win_find module (#19144) 8 years ago
Toshio Kuratomi a3eab4fc48 Add 2.3.0 entries for module_utils via pluginloader, selectors, and py3 (#21019)
* Add 2.3.0 entries for module_utils via pluginloader, selectors, and py3

* Add roadmap-2.3 updates and an item for roadmap-2.4
8 years ago
s-hertel cdfa583235 Two added AWS modules for ElastiCache 8 years ago
Loïc Blot b55d039f67 New modules: vmware_guest_facts & vmware_guest_snapshot (#20971)
* Move gather_facts action outside of vmware_guest module
* Move facts gathering method to vmware.py library
* vmware_guest use some vmware.py library methods
* vmware.py lib: fix some PEP 8 issues
* Move snapshot actions to vmware_guest_snapshot
* Move common snapshot facts to vmware.py library
8 years ago
Dag Wieers 6355c5cafa Updated CHANGELOG.md with previous bits (#20973)
And also sort the modules properly.
8 years ago
Brian Coca a2c38c47aa added docs for vault and made trigger shorter: !vault (#20985)
* added docs for vault and made trigger shorter: !vault

* added single var valuting

* Update playbooks_vault.rst

Edit pass for spelling and grammar. Ship it!

* Update playbooks_vault.rst

Typo fixes.
8 years ago
Ryan S. Brown d2569fa6e2 Add ovirt_snapshots to changelog 8 years ago
Ivan Bojer 800db1b209 added already approved PANOS modules (#20952) 8 years ago
jctanner 6726d5f8f8 Update changelog for controlpersist path feature (#20928) 8 years ago
Ryan S. Brown 6244271d46 Add gce_eip module to changelog 8 years ago
Ryan S. Brown 151a3d862b [docs] Add ec2_vpc_igw_facts to changelog 8 years ago
Ivan Bojer 327ad42ff2 new panos module to import software or configuration file into firewall (#19901)
* # This is a combination of 6 commits.
# The first commit's message is:
new module to import software or configuration file onto firewall

# This is the 2nd commit message:

changes based on the review comments; remove unecessary if statements; change returned value docstring

# This is the 3rd commit message:

empty checkin to trigger ANSIBLEbot

# This is the 4th commit message:

added additional exception handling

# This is the 5th commit message:

- added new module info to the changelog as requested

# This is the 6th commit message:

removed blank space as tox checks were failing

* new module to import software or configuration file onto firewall
8 years ago
Brian Coca 10d1865880 added kyring to chnglog 8 years ago
Brian Coca 0cd6ea1bd8 added ec2_vpc_nat_gateway_facts to chnglog 8 years ago
Brian Coca df49952c48 added tower_org 8 years ago
Brian Coca 294a23d7f6 renamed sv to runit, avoid svc confusion 8 years ago
Ted 772f8f4854 Add bigmon policy module (#20584)
* Cleanup fork

* Add bigmon_policy module

* Remove docker files from commit, fix formatting, add CHANGELOG.md entry

* Put change in CHANGELOG.md in alph order and add the alias to access_token doc

* Fix access_token type, drop the alias, and fix doc

* Capitalize letter, delete redundant notes, make validates_certs True by default

* Add validate_certs to example

* Try fixing trailing space

* Try adding a trailing space

* Try removing trailing space at end of file

* Add newline at end of file and fix trailing space
8 years ago
Ryan S. Brown ebfb9ff3c1 Update CHANGELOG with new ovirt module 8 years ago
Loïc Blot ebe621bb23 Add logstash_plugin to manange logstash plugins (#20592) 8 years ago
Ryan S. Brown 8d4246ca2f Add ec2_vpc_vgw_facts module to changelog 8 years ago
Ondra Machacek 43519c9bef Add oVirt modules notes to CHANGELOG (#20401) 8 years ago
Will Thames 75437bbe3c Fix ec2_vpc deprecation docs
Clarify the CHANGELOG with deprecation timeline
Correct name of `ec2_vpc_net` module to be used instead
8 years ago
Brian Coca 4e49744031 added 2.1 release info 8 years ago
Brian Coca 6d647aaf55 updated with 2.2.1 release 8 years ago
Brian Coca cf82023a41 added piped option entry to changelog 8 years ago
Brian Coca ebd06ebba0 updated 2.2.0 release date 8 years ago