Commit graph

727 commits

Author SHA1 Message Date
Peter Sprygada
697888965e Merge pull request #17603 from skg-net/dnos10_facts
Added support for facts module for Dell Networking OS10 device.
2016-09-16 08:02:44 -04:00
Toshio Kuratomi
8af8eec789 Merge pull request #17590 from abadger/vault-fixes
Vault fixes
2016-09-15 18:39:34 -07:00
Senthil Kumar Ganesan
769fa1c2d7 Support for dnos10_facts module 2016-09-15 16:16:17 -07:00
Toshio Kuratomi
e70066a6f7 Many Cleanups to vault
* Make is_encrypted_file handle both files opened in text and binary mode
  On python3, by default files are opened in text mode.  Since we know
  the encoding of vault files (and especially the header which is the
  first set of bytes) we can decide whether the file is an encrypted
  vault file in either case.
* Fix is_encrypted_file not resetting the file position
* Update is_encrypted_file to check that all the data in the file is ascii
* For is_encrypted_file(), add start_pos and count parameters
  This allows callers to specify reading vaulttext from the middle of
  a file if necessary.
* Combine VaultLib.encrypt() and VaultLib.encrypt_bytestring()
* Change vault's is_encrypted() to take either text or byte strings and to return False if any part of the data is non-ascii.
* Remove unnecessary use of six.b
* Vault Cipher: mark a few methods as private.
* VaultAES256._is_equal throws a TypeError if given non byte strings
* Make VaultAES256 methods that don't need self staticmethods and classmethods
* Mark VaultAES and is_encrypted as deprecated
* Get rid of VaultFile (unused and feature implemented in a different way)
* Normalize variable and parameter names on plaintext, ciphertext, vaulttext
* Normalize variable and parameter names on "b_" prefix when dealing with bytes
* Test changes:
  * Remove redundant tests( both checking the same byte string)
  * Fix use of format string without format operator
  * Enable vault editor tests on python3
  * Initialize the vault_cipher for VaultAES256 testing in setUp()
  * Make assertTrue and assertFalse take the actual method calls for
    better error messages.
  * Test that non-ascii byte strings compare correctly.
  * Test that unicode strings and ints raise TypeError

* Test-specific:
  * Removed test_methods_exist().  We only have one VaultLib so the
    implementation is the assurance that the methods exist. (Can use an abc for
    this if it changes).
  * Add tests for both byte string and text string input where the API takes either.
  * Convert "assert" to unittest assert functions or add a custom message where
    that will make failures easier to debug.
  * Move instantiating the VaultLib into setUp().
2016-09-15 15:22:06 -07:00
Senthil Kumar Ganesan
81072fcba1 Added support OS9 facts (#17591) 2016-09-15 19:22:23 +01:00
Brian Coca
a7c95cfa61 added win_command/win_shell to changelog 2016-09-15 11:43:21 -04:00
Senthil Kumar Ganesan
68f1705d18 Add action plugin for dnos6_config module (#17553) 2016-09-14 20:55:45 +01:00
Senthil Kumar Ganesan
7d9b07382b Add action pluging for dnos9_template module (#17549) 2016-09-14 20:40:55 +01:00
Senthil Kumar Ganesan
564e02c3c3 Add action plugin for dnos6_template module (#17554) 2016-09-14 20:37:56 +01:00
Senthil Kumar Ganesan
c6acf44a7c Added support for dnos9_config module 2016-09-13 10:42:12 -07:00
Senthil Kumar Ganesan
3e18676af4 Addded support for dnos9_command module 2016-09-12 11:26:22 -07:00
Senthil Kumar Ganesan
05e016e4aa Addressed @gundalow review comments 2016-09-12 10:08:10 -07:00
Senthil Kumar Ganesan
94df740ca3 Added support for dnos6_command module 2016-09-12 10:08:10 -07:00
Toshio Kuratomi
56b3a45d2e Python3 changelog entry 2016-09-12 08:42:42 -07:00
Toshio Kuratomi
4e9dd09b85 ssh_executbale and controlpersist changes 2016-09-12 08:36:11 -07:00
René Moser
ae8ec31700 changelog: add missing new modules (#17503) 2016-09-11 10:49:35 +02:00
Brian Coca
a3028783d4 removed previously deprecated ';' host separator 2016-09-09 17:32:53 -04:00
Brian Coca
ef7e2f7fbc updated changelog 2016-09-07 12:45:04 -04:00
John R Barker
8843e355e4 Alphabetical order 2016-09-07 17:42:33 +01:00
John R Barker
88d6d1331a dnos 2016-09-07 17:40:05 +01:00
John R Barker
ae41ac1cb3 dnos (not Dell) 2016-09-07 17:38:22 +01:00
@skg_net
e5b8a177d7 Support files for dnos10_template module (#17399) 2016-09-07 17:35:02 +01:00
nitzmahone
c752b25ced changelog/docsite updates for Windows async/environment 2016-09-06 17:45:56 -07:00
Matt Clay
94a0d2afb4 Add partially backwards compatible version of _fixup_perms. (#17427)
Also added a deprecation notice for _fixup_perms.

Resolves issue #17352 (assumes custom actions use recursive=False).
2016-09-06 16:49:59 -07:00
Will Thames
d54f5277d5 Add ksu privilege escalation (#17340)
Allow ksu privilege escalation to be used
as a standard become_method

https://web.mit.edu/kerberos/krb5-1.12/doc/user/user_commands/ksu.html
2016-09-01 16:54:31 -04:00
Peter Sprygada
c8431e334b Merge pull request #17296 from skg-net/devel
Add support for Dell Networking OS10 Command and Config Modules
2016-09-01 10:26:30 -04:00
Brian Coca
f39799fbcd implemented loop pausing (#17289)
* implemented loop pausing

- added loop pause to changelog
- only pause between iterations, avoid 1st/last
- added example to docs

* fixed note placement

* else

* added docs for loop_control: label
2016-08-31 16:09:37 -04:00
James Cammarata
4419563185 Adding performance improvements to CHANGELOG 2016-08-31 14:16:58 -05:00
James Cammarata
078840b427 Updating CHANGELOG for meta end_play and meta conditionals feature 2016-08-31 14:13:29 -05:00
Senthil Kumar Ganesan
f6aa730c3c Utilities to support DELL Networking OS10 command and config modules 2016-08-29 21:29:26 -07:00
René Moser
8210260d94 changelog: update new modules from module-extras (#17286) 2016-08-29 18:42:47 +02:00
Brian Coca
bd9094c925 include_role (role revamp implementation) (#17232)
* attempt #11 to role_include

* fixes from jimi-c

* do not override load_data, move all to load

* removed debugging

* implemented tasks_from parameter, must break cache

* fixed issue with cache and tasks_from

* make resolution of from_tasks prioritize literal

* avoid role dependency dedupe when include_role

* fixed role deps and handlers are now loaded

* simplified code, enabled k=v parsing

used example from jimi-c

* load role defaults for task when include_role

* fixed issue with from_Tasks overriding all subdirs

* corrected priority order of main candidates

* made tasks_from a more generic interface to roles

* fix block inheritance and handler order

* allow vars: clause into included role

* pull vars already processed vs from raw data

* fix from jimi-c blocks i broke

* added back append for dynamic includes

* only allow for basename in from parameter

* fix for docs when no default

* fixed notes

* added include_role to changelog
2016-08-26 13:42:13 -04:00
David Shrewsbury
13d11473c7 Update CHANGELOG for new os_server_group module 2016-08-25 07:46:05 -04:00
Matt Davis
e0bdb502e3 raw now returns changed: true (#17112)
for consistency w/ shell/command/script "non-idempotent" modules.

Updated tests, changelog.
2016-08-16 20:39:23 -07:00
John R Barker
a8a8ef4682 2.1 has been released
Also link to new feature documentation - We need to do more of this

Thanks to kustodian for suggesting this
2016-08-15 10:10:22 +01:00
René Moser
3d07f848f2 changelog: inform about regression fix breaking related 2.x tasks (#16985)
See #16805
2016-08-08 12:04:11 -04:00
Rene Moser
420a2f11af changelog: add new modules 2016-08-06 10:36:13 +02:00
James Cammarata
159aa26b36 FEATURE: adding variable serial batches
This feature changes the scalar value of `serial:` to a list, which
allows users to specify a list of values, so batches can be ramped
up (commonly called "canary" setups):

- hosts: all
  serial: [1, 5, 10, "100%"]
  tasks:
  ...
2016-08-04 15:04:10 -05:00
David Shrewsbury
73f06e67df Update CHANGELOG for new os_zone and os_recordset modules (#16847) 2016-07-27 18:42:32 -04:00
Rene Moser
44b565f95e doc: add ipmi modules to changelog 2016-07-14 18:16:18 +02:00
Brian Coca
7960aa92ed added wakeonlan to changelog 2016-07-14 09:24:21 -04:00
David Shrewsbury
c4cff768d9 Update changelog for new os_stack OpenStack module 2016-07-12 14:36:35 -04:00
Rene Moser
cd631c2861 changelog: add lxd modules 2016-07-09 11:00:38 +02:00
Rene Moser
787616cb39 doc: add vmware_local_user_manager to changelog 2016-07-08 11:02:02 +02:00
nitzmahone
7ba71fc2d2 CHANGELOG update for win_setup changes 2016-06-27 09:49:41 -07:00
James Cammarata
6cae14e4d6 Adding new module ec2_vpc_vgw to the CHANGELOG 2016-06-22 13:40:33 -05:00
James Cammarata
a026481396 Adding docs for handler listen feature and CHANGELOG entry for same 2016-06-20 09:30:20 -05:00
René Moser
2d042d73b0 doc: changelog: add new modules
telegram, vmware_vmotion
2016-06-14 10:17:27 +02:00
René Moser
b97134785f doc: changelog: add new module rocketchat 2016-06-13 18:25:39 +02:00
David Shrewsbury
f101910167 Update CHANGELOG for os_keystone_service module (#16190) 2016-06-08 10:35:47 -04:00