1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

776 commits

Author SHA1 Message Date
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
Brian Coca
9342c7cc02 added sensu_subscription module 2016-06-06 10:57:03 -04:00
Rene Moser
e3a5c5bd08 doc: changelog: new module netconf_config
See https://github.com/ansible/ansible-modules-extras/pull/2103
2016-06-01 23:16:20 +02:00
Rene Moser
72d5416c40 doc: changelog: new module letsencrypt 2016-06-01 23:05:29 +02:00
Rene Moser
1c1f0a62b3
doc: changelog: add cs_snapshot_policy module 2016-05-28 11:39:16 +02:00
nitzmahone
7b5513cf22 mark azure_rm_X_facts modules as TECH PREVIEW 2016-05-25 16:02:11 -07:00
Brian Coca
056efc71db updated for service and systemd 2016-05-25 17:29:10 -04:00
nitzmahone
b3bf4cecdb add missing azure_rm modules to changelog 2016-05-25 14:24:10 -07:00
Brian Coca
6c0b974bde added new modules 2016-05-23 11:31:55 -04:00
Brian Coca
f56fc92532 added verbose module path info to changelog 2016-05-20 09:27:29 -04:00
René Moser
aa9a054b61 docs: changelog: new module cs_router (#15897) 2016-05-19 10:32:29 +02:00
Matt Martz
049e0ba276 Add note to changelog for 2.2 about binary modules 2016-05-12 18:38:30 -05:00
Toshio Kuratomi
dae1d4dbb7 Add changelog entry for ec2_customer_gateway (in 2.2) 2016-05-10 09:34:10 -07:00
James Cammarata
8103793b55 Version bump to 2.2.0 for devel 2016-04-26 16:29:52 -04:00
Peter Sprygada
7dd4dd2e2e update CHANGELOG with network modules 2016-04-26 13:06:14 -04:00
nitzmahone
93ca406c9d windows changelog updates 2016-04-26 09:49:35 -07:00
James Cammarata
5727806b05 Updating CHANGELOG for 2.1
Also backported CHANGELOG/RELEASES entries from stable branches.
2016-04-26 12:36:12 -04:00
chouseknecht
00b7668f6b
Added additional azure modules. 2016-04-26 01:13:47 -04:00
Brian Coca
9ba8512ec6 added brook inventory plugin 2016-04-25 17:38:45 -04:00
René Moser
57574881ae doc: add mongodb_parameter to changelog (#15573)
See https://github.com/ansible/ansible-modules-extras/pull/1596
2016-04-25 13:37:34 -04:00
Brian Coca
c131af6384 added dzdo entry 2016-04-25 11:43:19 -04:00
Brian Coca
741156f8bb added bunch of azure modules to changelog 2016-04-25 09:30:05 -04:00
Toshio Kuratomi
0f373c1767 Merge pull request #15560 from resmo/fix/docs-changelog
docs: add vmware_vm_shell to changelog
2016-04-23 07:33:06 -07:00
Rene Moser
3b2720d913 docs: add vmware_vm_shell to changelog 2016-04-23 15:27:55 +02:00
James Cammarata
772d659929 Updating CHANGELOG and extras submodule pointer for new kubernetes module 2016-04-21 13:23:32 -04:00
Rene Moser
8340f27302 doc: fix tpyos in changelog 2016-04-20 18:39:54 +02:00
Toshio Kuratomi
eac46a2aae Add note about world-readable module changes when becoming an unprivileged user 2016-04-20 09:21:14 -07:00
Toshio Kuratomi
ffae10a312 Add ziploader to CHANGELOG 2016-04-20 09:17:19 -07:00
Brian Coca
2cb24987e1 removed extra/reformated lines 2016-04-19 18:21:27 -04:00
Brian Coca
bdb46ad0cc added new transparent vaulted copy feature 2016-04-19 18:20:31 -04:00
James Cammarata
b3aae33fcd Updating CHANGELOG for some 2.1 features. 2016-04-19 18:11:44 -04:00
Brian Coca
37bf8e990c added ec2 snaphost facts module to changelog 2016-04-19 18:09:18 -04:00
Rene Moser
3c3061378b doc: changelog: add vmware_maintenancemode 2016-04-17 19:22:13 +02:00
David Shrewsbury
6a3b6ef2c7 Update CHANGELOG for new os_project_facts module (#15406)
New OpenStack module os_project_facts.
2016-04-13 14:49:31 -04:00
René Moser
81d7dff657 changelog: new gitlab modules (#15393) 2016-04-12 22:25:45 +02:00
David Shrewsbury
e3c64343a4 Update CHANGELOG for new os_port_facts OpenStack module
Update the CHANGELOG to reflect the new os_port_facts OpenStack
module.
2016-04-12 14:29:28 -04:00
David Shrewsbury
51ea02e580 Add new OpenStack modules (#15371)
Added os_keystone_domain_facts and os_user_facts modules.
2016-04-11 16:34:20 -04:00
Brian Coca
dd32ba406a added debug streat to changelog 2016-04-08 14:41:27 -04:00
Rene Moser
a2b1a3acbb changelog: add new module win_owner
see https://github.com/ansible/ansible-modules-extras/pull/1117
2016-04-01 22:58:38 +02:00
Brian Coca
93e6bb6daf added new meta action 2016-03-30 19:11:16 -07:00
Rene Moser
cb7b3b489d changelog: doc: new os_user_role module 2016-03-30 12:03:58 +02:00
Brian Coca
ab51384af1 added new ip4_hex filter to changelog 2016-03-27 14:15:05 -07:00
Brian Coca
687c290e1b added make module to changelog 2016-03-25 06:59:06 -07:00
Brian Coca
3de08e1bfc added new tests to changelog 2016-03-24 16:19:52 -07:00
Brian Coca
bb45e23e5b added sofltayer vm module to changelog 2016-03-23 12:12:13 -07:00
David Shrewsbury
21e70bbd83 Update CHANGELOG for new OpenStack modules 2016-03-23 10:58:03 -04:00
Toshio Kuratomi
3a8f3ece53 Add changelog entry for sorting of plugins 2016-03-22 10:24:20 -07:00
Brian Coca
24ed7b65d0 minor changelog updates 2016-03-18 20:51:39 -07:00
Rene Moser
3fda5e65d4 changelog: add cloudflare_dns 2016-03-19 00:12:53 +01:00
Rene Moser
6b1b4e03b0 changelog: append cs_zone_facts 2016-03-15 23:28:03 +01:00
Dag Wieers
6c7ffbfbcd Reformat new module lists
Make the Changelog easier to parse, especially the list of new modules
2016-03-12 01:37:43 +01:00
Brian Coca
e74ab3ecdd draft 1st release of ansible-console
porting @dominis 's ansible-shell tool from 1.9 and integrating it into ansible
added verbosity control
made more resilitent to several errors
added highlight color, to configurable colors
more resilient on exception and interruptions
prompt coloring, goes red and changes to # when using become = true and root
become setting is now explicit and not a toggle
2016-03-07 20:25:21 -05:00