Skip to content

Instantly share code, notes, and snippets.

@edeandrea
Created September 1, 2020 17:20
Show Gist options
  • Save edeandrea/e2ed7ab9c117d3f5a74095f8af435ef8 to your computer and use it in GitHub Desktop.
Save edeandrea/e2ed7ab9c117d3f5a74095f8af435ef8 to your computer and use it in GitHub Desktop.
Sample Ansible devfile
metadata:
generateName: che-ansible-demo-
components:
- mountSources: true
args:
- tail
- '-f'
- /dev/null
memoryLimit: 512M
type: dockerimage
image: quay.io/sunix/che-remote-plugin-ansible
alias: ansible
env:
- value: /projects/
name: HOME
- type: chePlugin
reference: >-
https://raw.githubusercontent.com/sunix/che-ansible/master/plugin/meta.yaml
alias: ansible-plugin
- id: redhat/vscode-yaml/latest
type: chePlugin
apiVersion: 1.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment