Commit Graph
100 Commits
Author SHA1 Message Date
Brian CocaandMatt Clay c18e755b82 removed extra ansible_managed 2024-04-25 12:11:09 -07:00
Brian CocaandMatt Clay 37cb550185 fix su localization optoin
fixes #73837
2021-03-11 11:53:28 -08:00
Brian CocaandMatt Clay 488b9d6c35 remove redundant remote_user for local setting
local action plugin already does and this also should fix
  fork/thread issue by removing use of pwd library

  fixes #59642
2020-11-05 11:17:46 -08:00
Brian CocaandMatt Clay 96f504cd11 added missing clog for 58461 2020-05-11 15:09:24 -07:00
Brian CocaandMatt Clay 1a9b1d0edd Fix unhandled errors in command module 2019-06-26 14:58:05 -07:00
Brian Coca eb9009c4f4 added missing version_added 2019-05-22 17:04:36 -04:00
Brian Coca d66f3de3dc no need to deprecate, added in 2.8 2019-03-26 17:48:09 -04:00
Brian Coca b0ddb88f13 fix non bool path 2019-03-07 11:23:07 -05:00
Brian Coca f54be74869 added missing version_added 2019-02-01 09:34:14 -05:00
Brian CocaandBrian Coca 8fd0fbe431 remove usless tb initiator
always pass proper tb
2019-01-22 17:33:20 -05:00
Brian Coca f645680fee corrected docs on args 2018-12-13 10:56:33 -05:00
Brian Coca f7c44aa9c8 readded rst 2018-12-11 09:51:03 -05:00
Brian Coca cefae7a967 added missing guess 2018-12-11 09:49:42 -05:00
Brian Coca b924476d63 updated clog with cve 2018-12-10 14:18:29 -05:00
Brian CocaandToshio Kuratomi 6096f57880 fix cache 'update' method to be 'mapping' compatible
- also simplify the update functions
 - fix methods and allwow backwards compat with plugins overriding 'update'
2018-12-05 12:33:27 -08:00
Brian CocaandToshio Kuratomi 8c43ce491e unsafe cleanup 2018-11-30 13:07:00 -08:00
Brian Coca 24e4d26b72 added missing github id 2018-11-29 10:48:38 -05:00
Brian CocaandBrian Coca 68301f890a fix cache 'update' method to be 'mapping' compatible
- also simplify the update functions
 - fix methods and allwow backwards compat with plugins overriding 'update'
2018-11-19 14:18:18 -05:00
Brian CocaandBrian Coca 652da82558 fix bug in config mgr
- use function that creates config slots as needed
2018-11-19 11:46:17 -05:00
Brian CocaandBrian Coca 24593f2ffb avoid spurious warnigns on unique filter
fixes #46189
2018-11-14 09:33:43 -05:00
Brian Coca 6c987a13f9 updated some callback info 2018-11-05 09:19:41 -05:00
Brian CocaandToshio Kuratomi d590f10d32 remove redundant md5 hashing 2018-10-31 13:54:52 -07:00
Brian Coca 581b6aed2e really skip if no boto3
makes no sense to check/skip after you already fail to import
2018-10-22 17:18:25 -04:00
Brian CocaandBrian Coca a5bd84758a simpler/shorter option names for user
- internally we can keep long names, but user should not require extra typing
2018-10-12 11:23:42 -04:00
Brian Coca 551de8b166 now clog matches code 2018-10-12 11:06:40 -04:00
Brian Coca b2ac745461 add note to inform awx team on change 2018-10-11 12:45:53 -04:00
Brian CocaandBrian Coca d3d812b604 avoid tests when ncclient is not installed 2018-10-01 13:43:26 -04:00
Brian CocaandBrian Coca 2d01966e87 better error on empty playbook
fixes #45480
2018-09-28 15:21:57 -04:00
Brian CocaandBrian Coca a47671aad1 allow openstack invetnory to work cacheless
fixes #45431
2018-09-21 12:33:24 -04:00
Brian Coca 70f3f084ac fixed chlog path 2018-09-05 10:41:49 -04:00
Brian CocaandMatt Clay 4dea9d84ed fix issue with no_log in py3
the error percolates differently from undefined vars in jinja2,
so fallback to use play_context as it is not involved in current templating
2018-08-27 11:57:02 -07:00
Brian Coca 522c245ee7 added version info and removed 'bare' exception 2018-08-02 18:19:43 -04:00
Brian CocaandBrian Coca af6b9799aa fixed test using removed feature 2018-08-01 15:17:28 -04:00
Brian CocaandBrian Coca 2e9a7e2564 remove deprecated 2018-08-01 15:17:28 -04:00
Brian CocaandBrian Coca 21fc6a0c38 nicer error message on multiprocessing fail
fixes #43090
2018-08-01 15:14:23 -04:00
Brian CocaandBrian Coca 917b6b0d09 import_playbook is not usable from inside a play
(cherry picked from commit 55dddf530ad094810929823f80c4546e97a69ac7)
2018-07-24 13:25:12 -04:00
Brian CocaandBrian Coca ac1f05478e Allow to specifically customize console's color 2018-07-24 13:21:58 -04:00
Brian CocaandBrian Coca 0718a53b07 also get checksum on 'any' if it is a file
fixes #42785
2018-07-24 08:59:52 -04:00
Brian CocaandBrian Coca 18aa87803f remove dupe entries 2018-07-19 12:16:33 -04:00
Brian CocaandBrian Coca 44d4327bc7 moved to use 'get_option'
also fixed bad str() usage
2018-07-13 11:41:04 -04:00
Brian CocaandBrian Coca a37f27a243 removed note from already removed 1.x api comment
fixes #39888
2018-07-11 11:55:57 -04:00
Brian CocaandBrian Coca b21c7c0232 create default status for when not provided
* also updated text to be 'plugin friendly' vs hardcoding modules

(cherry picked from commit 341a0f7b035588557d35fc12164a0f4031c786fe)
2018-07-09 11:44:01 -04:00
Brian CocaandBrian Coca 2496fd35fb added required missing field for common yaml fmt 2018-07-09 11:43:21 -04:00
Brian CocaandBrian Coca d497eba196 several FAQ updates and clarifications 2018-07-02 10:46:59 -04:00
Brian CocaandBrian Coca 27e3cd6e05 options should be settable multiple times 2018-06-26 10:23:00 -04:00
Brian CocaandBrian Coca 11dbed1350 fix vars hostname fallback
also made it optimistic, rely on exceptions instead of copmlex if chains
2018-06-22 15:29:40 -04:00
Brian CocaandBrian Coca 2affb5f729 doc fix 2018-06-21 16:30:33 -04:00
Brian CocaandBrian Coca 89f169127b added missing raise 2018-06-19 16:21:16 -04:00
Brian Coca 414aae70b1 corrected version 2018-06-13 15:07:40 -04:00
Brian CocaandToshio Kuratomi 336b3762b2 no_log even when task_result doesn't provide key
- now also checks task property
 - added reproducer to tests for unreachable status on item loop
2018-06-12 10:25:30 -07:00
Brian CocaandBrian Coca 8e4c56d773 only add group if properly defined
also corrected skip message as this has to do with type, not name

fixes #40850
2018-06-06 19:42:09 -04:00
Brian CocaandBrian Coca 1a70681630 ensure all config sources for ssh options 2018-06-06 15:11:37 -04:00
Brian CocaandBrian Coca c86fd6e2df Fix error reporting on bad type for config setting 2018-06-01 12:28:30 -04:00
Brian CocaandBrian Coca bcabbe33c8 terms 2018-05-31 16:30:47 -04:00
Brian CocaandBrian Coca cbedbd3c9c enforce required config 2018-05-31 16:30:47 -04:00
Brian Coca 0c881c1a83 fixed path 2018-05-29 09:45:08 -04:00
Brian Coca 970fd54d12 moved gluster_volume to new home 2018-05-29 09:44:38 -04:00
Brian CocaandBrian Coca 73b9892605 add keywords handling to ansible-doc
also add check for sequence of string types before we force a join
2018-05-23 14:09:02 -04:00
Brian Coca 4cc4d63289 relocated flatpak 2018-05-23 10:06:44 -04:00
Brian CocaandBrian Coca 0339c8037b use correct object in error
fixes #40453
2018-05-22 11:10:57 -04:00
Brian CocaandBrian Coca 062f0444a1 remove extra ) 2018-05-21 15:19:13 -04:00
Brian CocaandBrian Coca ee95b71f7b reset_connection is not run_once 2018-05-21 15:19:13 -04:00
Brian Coca 5cf1a5edfd corrected version added 2018-05-18 11:34:37 -04:00
Brian Coca fc57f7bd5f fix comma 2018-05-11 09:18:31 -04:00
Brian CocaandBrian Coca 70d89b5487 use actual ssh executable as it might not be ssh 2018-05-02 12:10:25 -04:00
Brian CocaandBrian Coca 19fee0ef41 fix keyword doc generation
* use aliases when they exist
  * fix hardcoded loop attributes handling
2018-04-30 14:47:09 -04:00
Brian CocaandBrian Coca 01e7f44e0d fixy typo 2018-04-23 15:46:15 -04:00
Brian CocaandBrian Coca fe5e6d74af better handle appending \n on stderr
fixes #39007
2018-04-23 15:46:15 -04:00
Brian CocaandBrian Coca e4dbabbef2 make individual bad paths a warning
still error if none of the paths provided was usable

fixes #39044
2018-04-23 15:17:22 -04:00
Brian CocaandBrian Coca 11c40bcbda forman as inv plugin
updated with newer methods
fixed ssl name to match ansible convention
more options for host info
added vars_prefix
added comments explaining current flow
reformated commentd out code so pep8 can be happy
enabled caching
2018-04-19 17:07:47 -04:00
Brian CocaandBrian Coca ce8c336d52 added ref to ansilbe molecule 2018-04-18 12:19:09 -04:00
Brian Coca 3b7f5aef07 name cron 2018-04-16 19:02:14 -04:00
Brian CocaandBrian Coca 135ec86eb5 fix exception on lookup ignore error
no log, so only_log ...
2018-04-16 18:04:52 -04:00
Brian CocaandBrian Coca 265d838ec9 fix displaying group vars in graph 2018-04-16 15:24:31 -04:00
Brian CocaandBrian Coca 5828023e54 bool 2018-04-16 15:22:44 -04:00
Brian CocaandBrian Coca 1d58585945 minor fixes, also handle 'values' passed to dscl 2018-04-16 15:22:44 -04:00
Brian Coca cd235e9eb0 BELOW THIS COMMENT 2018-04-16 13:45:22 -04:00
Brian Coca b4d235ca8d minor fixes 2018-04-13 18:50:42 -04:00
Brian CocaandBrian Coca 72b0ed8cb4 fix handling of some exceptions for mail plugin
redid the flow to simplify and dedupe code, also now we capture extra exceptions previouslly  causing traceback
see https://groups.google.com/forum/?#!msg/ansible-project/qhalnkYZMfI/93n8hlEpBAAJ
2018-04-10 22:17:33 -04:00
Brian CocaandBrian Coca 399cba1c84 dict2items filter 2018-04-10 18:46:30 -04:00
Brian CocaandBrian Coca 2e852fcd6d return empty host list when pattern is empty
fixes #37894
2018-04-10 18:43:29 -04:00
Brian CocaandBrian Coca 32cf79c044 show changed in online 2018-04-10 17:25:24 -04:00
Brian CocaandBrian Coca 5a333859fe allow for parameterized string functions
now also allow for ending parens

from following, 1, 2, 4 and 5 match, rest are ignored.

	{doc | to_nice_json}}
	{{(doc | to_nice_json)}}
	{{doc | to_nice_json| from_json}}
	{{doc | to_nice_json()}}
	{{doc | to_nice_json(indent=2)}}
	{{doc | to_nice_json(indent=2) | from_json()}}
	{{doc | to_nice_json(indent=2) | from_json}}

fixes #37579
2018-04-10 17:24:27 -04:00
Brian CocaandBrian Coca 42912e1ac8 minimize loading files/plugins
avoids some repetitive loading
 - read config file only once
 - now cache the ini parser per file
 - optimize shell plugin loading

tried to 'optimize' vars_plugins loading but it creates issues with precedence,
probalby due to iterator not being reset, will look into it in subsequent fix/PR
2018-04-10 17:22:31 -04:00
Brian CocaandBrian Coca 34c002c771 give hint to users when a file is not found 2018-04-10 17:19:03 -04:00
Brian CocaandBrian Coca c679186f17 better handling of diff key types in compose
also made separator configurable
fixed some exception types
better error msgs
2018-04-10 15:15:52 -04:00
Brian CocaandMatt Clay 3c996d0f74 make aef test more predictable
revert "Disable any_errors_fatal test."
This reverts commit 56189cc312.

fixes #38407
2018-04-06 09:48:30 -07:00
Brian CocaandBrian Coca 1b9879ccbf remove unused optoins from inventory cli
fixes #31929
2018-04-05 18:40:24 -04:00
Brian CocaandBrian Coca 3bec76fc85 Avoid 2nd processing of facts for actions
include_vars and set_fact are already updating hostvars in strategy
no need to 're add again' with lower priority the same data.

fixes #37535, mostly by avoiding reprocessing and 'cleaning'
2018-03-22 17:27:38 -04:00
Brian Coca 70c0875dbc clarify input location 2018-03-15 14:27:39 -04:00
Brian CocaandBrian Coca cf43e0d605 updated api example
- added many more comments
- removed very obsolete 1.x refs
2018-03-02 18:14:07 -05:00
Brian CocaandBrian Coca 7a81d5f11e removed now irrelevant section
fixes #35760
2018-02-26 14:25:43 -05:00
Brian CocaandBrian Coca ef40e5e3b2 protect against plugins using verify incorrectly
assume false on any errors
2018-02-23 15:11:01 -05:00
Brian CocaandBrian Coca fdbd1297cf catch all cases of no inventory when asked to fail
fixes #36034
2018-02-20 11:59:39 -05:00
Brian CocaandBrian Coca a79378fccb remove extra fields from debug output
fixes #35493

updated tests
2018-02-20 08:46:05 -05:00
Brian CocaandBrian Coca 97b6e99479 fixes to virtual facts
fixes #36038
2018-02-14 15:54:36 -05:00
Brian CocaandBrian Coca 3680d65d1d deal with no config for view
fixes #35965
2018-02-14 15:53:40 -05:00
Brian Coca 28015d8ae9 ensure cli dir exists before saving files to it 2018-02-13 17:43:26 -05:00
Brian Coca 5a0f4f0646 removed gnerated files
@dharmabumstead, probably need a few more of these
2018-02-13 15:47:31 -05:00
Brian Coca 8743b20c8e skip aws inventory test if no boto 2018-02-13 11:04:37 -05:00