Skip to content

Instantly share code, notes, and snippets.

@victorskl
victorskl / assume-role-policy.json
Created April 23, 2019 02:24 — forked from clstokes/assume-role-policy.json
Example: Terraform IAM Role
{
"Version": "2012-10-17",
"Statement": [
{
"Action": "sts:AssumeRole",
"Principal": {
"Service": "ec2.amazonaws.com"
},
"Effect": "Allow",
"Sid": ""
@victorskl
victorskl / ansible-path.md
Created May 7, 2017 06:52 — forked from carlessanagustin/ansible-path.md
updating PATH with ansible - system wide

Option 1

- name: compile sources
  shell:
    coffee -o lib -c src 
    chdir=${mysourcedir}
  environment:
    PATH: $PATH:/opt/node/bin