community.general/lib/ansible
Pablo Piaggio d1d4f4bd27 Add support for macro contexts that have colons (#51853)
Currently when used with macro contexts that have a colon inside, 
macro_name gets truncated. A common case is contexts that represent a 
Windows drive. Examples:

  - 'C_DRIVE_THRESHOLD: "C:"'
  - 'C_DRIVE_THRESHOLD: "D:"'

This happens because line 189 assumes there are only one colon in 
macro_name, and thus two substrings to join.

To solve this, it is necessary considering that macro_name could have 
more that one colon. After the split, the first element is the proper 
Zabbix macro name. Then, the solution is joining all the remaining 
substrings after that.

This is backwards compatible in the case macro_name have only one colon.
2019-02-18 17:51:35 +00:00
..
cli Restore behavior for detecting only localhost, and no limit match. Fixes #52152 (#52172) 2019-02-13 11:52:30 -06:00
compat Have update-bundled check for updates to all bundled code 2019-02-06 13:59:55 -08:00
config Allow setting resource.RLIMIT_NOFILE in modules (#51989) 2019-02-15 17:52:35 -08:00
errors Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776) 2019-01-23 11:32:25 -05:00
executor Allow setting resource.RLIMIT_NOFILE in modules (#51989) 2019-02-15 17:52:35 -08:00
galaxy Consistent typesetting of "GitHub" (#50929) 2019-01-15 14:53:04 +01:00
inventory make missing pattern ansibleerror (#51397) 2019-01-30 19:13:19 -05:00
module_utils Support unix socket with urls/uri (#43560) 2019-02-18 10:21:42 -06:00
modules Add support for macro contexts that have colons (#51853) 2019-02-18 17:51:35 +00:00
parsing Fix pycodestyle E117 issues. 2019-02-13 23:35:39 -08:00
playbook Become plugins (#50991) 2019-02-11 11:27:44 -06:00
plugins Add enable become plugin patterned after runas (#52496) 2019-02-18 12:10:54 -05:00
template Native Jinja2: raise undefined error immediately (#52237) 2019-02-15 19:36:12 +01:00
utils move extravars and option vars loading into VM (#51070) 2019-01-30 16:25:36 -05:00
vars Remove unused imports and variable in hostvars.py (#51609) 2019-02-07 11:05:39 -05:00
__init__.py
constants.py Become plugins (#50991) 2019-02-11 11:27:44 -06:00
context.py Become plugins (#50991) 2019-02-11 11:27:44 -06:00
release.py Codename: How Many More Times 2018-09-04 12:38:29 -04:00