After submitting a PR to Ansible for the devel branch, and having it merged, the following instructions will help you create a pull request to backport the change to a previous stable branch

These instructions assume that stable-2.5 is the previous release branch.

  1. Update devel, to ensure you have the commit to cherry pick:

    git checkout devel
    git --fetch upstream
    git merge upstream/devel
#!/usr/bin/env python
import os
import re
import mistune # mistune
from github import Github # PyGithub
from argparse import ArgumentParser
# Copyright (c) 2018 Matt Martz <>
# GNU General Public License v3.0+ (see COPYING or
import datetime
import itertools
import re
DURATION_RE = re.compile(
# Copyright: 2018, Matt Martz <>
# Simplified BSD License (see licenses/simplified_bsd.txt or )
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
__all__ = ['Version', 'parse']
from packaging.version import LegacyVersion, Version as Pep440Version, parse
View vcsim-trace-ovf.log
Request: <?xml version="1.0" encoding="UTF-8"?>
<Envelope xmlns=""><Header></Header><Body><RetrieveProperties xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet><propSet><type>SessionManager</type><pathSet>currentSession</pathSet></propSet><objectSet><obj type="SessionManager">SessionManager</obj><skip>false</skip></objectSet></specSet></RetrieveProperties></Body></Envelope>
Response: <?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenc="" xmlns:soapenv="" xmlns:xsd="" xmlns:xsi=""><soapenv:Body><RetrievePropertiesResponse xmlns="urn:vim25"></RetrievePropertiesResponse></soapenv:Body></soapenv:Envelope>
Request: <?xml version="1.0" encoding="UTF-8"?>
<Envelope xmlns=""><Header></Header><Body><RetrieveServiceContent xmlns="urn:
View missing-vault-warning.diff
diff --git a/lib/ansible/cli/ b/lib/ansible/cli/
index 24100f10c3..361b016bd5 100644
--- a/lib/ansible/cli/
+++ b/lib/ansible/cli/
@@ -34,10 +34,10 @@ from abc import ABCMeta, abstractmethod
import ansible
from ansible import constants as C
-from ansible.errors import AnsibleOptionsError, AnsibleError
+from ansible.errors import AnsibleOptionsError, AnsibleError, AnsibleFileNotFound
import ast
import json
import os
import sys
import ansible.constants as C
things = {}
op_map = {
ast.Add: '+',
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2015 Matt Martz <>
# Copyright (C) 2015 Rackspace US, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#!/usr/bin/env python
from __future__ import print_function
import sys
from pygments import highlight
from pygments.lexers import guess_lexer
from pygments.formatters import Terminal256Formatter as Formatter
# Try to load the Solarized256Style
View output.txt
changed: [localhost3]
4 hosts remaining: localhost0, localhost1, localhost2, localhost4
changed: [localhost2]
3 hosts remaining: localhost0, localhost1, localhost4
changed: [localhost1]
2 hosts remaining: localhost0, localhost4
changed: [localhost0]
1 hosts remaining: localhost4
changed: [localhost4]
All hosts complete