Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.07 KB

readme.md

File metadata and controls

40 lines (26 loc) · 1.07 KB

Plaster Templates

Docker Pulls

Plaster is a Powershell project templater which makes it quicker to create consistent projects.

Prerequisites

To make any use of these templates, you'll need the Plaster Powershell module to be installed.

Install-Module Plaster

Getting Started

Powershell

# Clone this repo
git clone <uri> ./plaster-templates

# Create an example
mkdir ./example-ansible-role

# Template a folder out
Invoke-Plaster -TemplatePath './plaster-templates/AnsibleRole/' -DestinationPath './example-ansible-role'

Docker

A basic Docker image is provided for machines without Powershell.

# Run the container in the current working directory
docker run -it --rm -v "$(pwd)":/workingDir --name plaster phlcrny/plaster

# Template a new Ansible Playbook in a sub-folder of the mapped location
Invoke-Plaster -TemplatePath '/templates/AnsiblePlaybook' -Destination '/workingDir/NewPlaybook' -Name NewPlaybook