Skip to content

Instantly share code, notes, and snippets.

@ahonor
Created May 6, 2015 21:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ahonor/06eb6c42e227622ebe4d to your computer and use it in GitHub Desktop.
Save ahonor/06eb6c42e227622ebe4d to your computer and use it in GitHub Desktop.
description: 'Acess for dev in guitars-production.'
context:
project: 'guitars-production'
for:
resource:
- allow: read
job:
- equals:
group: 'web'
name: 'Status'
allow: [run,read]
- equals:
group: 'web'
name: 'Restart'
allow: [read]
node:
- contains:
tags: www
allow: [read,run]
by:
group: dev
---
description: 'Acess for dev in guitars-stage.'
context:
project: 'guitars-stage'
for:
resource:
- allow: read
job:
- match:
group: 'web'
name: '.*'
allow: [run,read]
adhoc:
- allow: [read,run,kill]
node:
- match:
nodename: 'db.*'
allow: [read]
- contains:
tags: app
allow: [read,run]
- contains:
tags: www
allow: [read,run]
by:
group: dev
---
description: 'Allow read access for projects.'
context:
application: 'rundeck'
for:
resource:
- allow: [read]
project:
- allow: [read]
by:
group: dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment