Skip to content

Commit

Permalink
Merge pull request #173 from cognifloyd/namespace_roles
Browse files Browse the repository at this point in the history
Prefix roles with StackStorm galaxy org
Closes #228
  • Loading branch information
armab authored Jan 31, 2019
2 parents 847a7b9 + ea4cd8b commit 9827471
Show file tree
Hide file tree
Showing 95 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ Below is the list of variables you can redefine in your playbook to customize st
| `ewc_repo` | `enterprise` | EWC PackageCloud repository to install. [`enterprise`](https://packagecloud.io/StackStorm/enterprise/), [`enterprise-unstable`](https://packagecloud.io/StackStorm/enterprise-unstable/), [`staging-enterprise`](https://packagecloud.io/StackStorm/staging-enteprise/), [`staging-enterprise-unstable`](https://packagecloud.io/StackStorm/staging-enterprise-unstable/)
| `ewc_version` | `latest` | EWC enterprise version to install. `present` to install available package, `latest` to get automatic updates, or pin it to numeric version like `2.2.0`. The version used here should match `st2_version`.
| `ewc_revision` | `1` | EWC enterprise revision to install. Used only with pinned `ewc_version`.
| `ewc_rbac` | [See `ewc_rbac` variable in role defaults](roles/ewc/defaults/main.yml) | EWC RBAC roles and assignments. This is a dictionary with two keys `roles` and `assignments`. `roles` and `assignments` are in turn both arrays. Each element in the array follows the exact YAML schema for [roles](https://ewc-docs.extremenetworks.com/rbac.html#user-permissions) and [assignments](https://ewc-docs.extremenetworks.com/rbac.html#defining-user-role-assignments) defined in EWC documentation.
| `ewc_ldap` | [See `ewc_ldap` variable in role defaults](roles/ewc/defaults/main.yml) | Settings for EWC LDAP authentication backend. `ewc_ldap` is a dictionary and has one item `backend_kwargs`. `backend_kwargs` should be provided as exactly listed in EWC documentation for [LDAP configuration](https://ewc-docs.extremenetworks.com/authentication.html#auth-backends).
| `ewc_rbac` | [See `ewc_rbac` variable in role defaults](roles/StackStorm.ewc/defaults/main.yml) | EWC RBAC roles and assignments. This is a dictionary with two keys `roles` and `assignments`. `roles` and `assignments` are in turn both arrays. Each element in the array follows the exact YAML schema for [roles](https://ewc-docs.extremenetworks.com/rbac.html#user-permissions) and [assignments](https://ewc-docs.extremenetworks.com/rbac.html#defining-user-role-assignments) defined in EWC documentation.
| `ewc_ldap` | [See `ewc_ldap` variable in role defaults](roles/StackStorm.ewc/defaults/main.yml) | Settings for EWC LDAP authentication backend. `ewc_ldap` is a dictionary and has one item `backend_kwargs`. `backend_kwargs` should be provided as exactly listed in EWC documentation for [LDAP configuration](https://ewc-docs.extremenetworks.com/authentication.html#auth-backends).
| **st2chatops**
| `st2chatops_version` | `latest` | st2chatops version to install. `present` to install available package, `latest` to get automatic updates, or pin it to numeric version like `2.2.0`.
| `st2chatops_st2_api_key` | | st2 API key to be updated in st2chatops.env using "st2 apikey create -k" in a task
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ galaxy_info:
- ewc
- repositories
- packagecloud
dependencies:
- role: st2repo
- role: st2
- role: st2web
dependencies:
- role: StackStorm.st2repo
- role: StackStorm.st2
- role: StackStorm.st2web
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ galaxy_info:
- ewc
- repositories
- packagecloud
dependencies:
- role: st2repo
- role: st2
- role: st2web
- role: ewc
dependencies:
- role: StackStorm.st2repo
- role: StackStorm.st2
- role: StackStorm.st2web
- role: StackStorm.ewc
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ galaxy_info:
galaxy_tags:
- system
dependencies:
- role: epel
- role: StackStorm.epel
when: ansible_facts.os_family == 'RedHat'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ galaxy_info:
- remediation
- devops
dependencies:
- role: epel
- role: StackStorm.epel
when: ansible_facts.os_family == 'RedHat'
- role: st2repo
- role: StackStorm.st2repo
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ galaxy_info:
- automation
- hubot
dependencies:
- role: nodejs
- role: st2
- role: StackStorm.nodejs
- role: StackStorm.st2
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ galaxy_info:
- devops
- workflows
dependencies:
- role: postgresql
- role: st2repo
- role: StackStorm.postgresql
- role: StackStorm.st2repo
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ galaxy_info:
galaxy_tags:
- system
dependencies:
- role: nginx
- role: st2repo
- role: st2
- role: StackStorm.nginx
- role: StackStorm.st2repo
- role: StackStorm.st2
File renamed without changes.
File renamed without changes.
File renamed without changes.
26 changes: 13 additions & 13 deletions stackstorm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
- name: Install st2
hosts: all
roles:
- mongodb
- rabbitmq
- postgresql
- st2repo
- st2
- st2mistral
- nginx
- st2web
- nodejs
- st2chatops
- st2smoketests
- role: ewc
- StackStorm.mongodb
- StackStorm.rabbitmq
- StackStorm.postgresql
- StackStorm.st2repo
- StackStorm.st2
- StackStorm.st2mistral
- StackStorm.nginx
- StackStorm.st2web
- StackStorm.nodejs
- StackStorm.st2chatops
- StackStorm.st2smoketests
- role: StackStorm.ewc
when: ewc_license is defined and ewc_license is not none
- role: ewc_smoketests
- role: StackStorm.ewc_smoketests
when: ewc_license is defined and ewc_license is not none

0 comments on commit 9827471

Please sign in to comment.