Skip to content

Instantly share code, notes, and snippets.

@canhanhan
canhanhan / packer.py
Last active February 9, 2019 13:55 — forked from adarobin/packer.py
Packer Ansible Connection Type Plugin for Ansible 2.6.x and 2.7.x
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import base64
from ansible.plugins.connection.ssh import Connection as SSHConnection
DOCUMENTATION = '''
connection: packer
short_description: ssh based connections for powershell via packer
description: