Skip to content

Commit

Permalink
Merge pull request #272 from amanda11/remove_mistral
Browse files Browse the repository at this point in the history
Deprecation of mistral, remove mistral and postgresql roles
  • Loading branch information
arm4b authored Jul 28, 2020
2 parents 45b808d + dfaba85 commit c958e06
Show file tree
Hide file tree
Showing 15 changed files with 2 additions and 327 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Aka IFTTT orchestration for Ops.
> In order to access StackStorm Web UI, please don't forget to ensure that http/https ports are opened in your firewall system.
## Requirements
At least 2GB of memory and 3.5GB of disk space is required, since StackStorm is shipped with RabbitMQ, PostgreSQL, Mongo, nginx and OpenStack Mistral.
At least 2GB of memory and 3.5GB of disk space is required, since StackStorm is shipped with RabbitMQ, Mongo and nginx.

## Installation
```sh
Expand All @@ -46,12 +46,6 @@ Below is the list of variables you can redefine in your playbook to customize st
| `st2_auth_password` | `testp` | Password used by StackStorm standalone authentication.
| `st2_save_credentials` | `yes` | Save credentials for local CLI in `/root/.st2/config` file.
| `st2_packs` | `[ st2 ]` | List of packs to install. This flag does not work with a `--python3` only pack.
| **st2mistral**
| `st2mistral_version` | `latest` | st2mistral version to install. `present` to install available package, `latest` to get automatic updates, or pin it to numeric version like `2.2.0`.
| `st2mistral_db` | `mistral` | PostgreSQL DB name that will be created for Mistral.
| `st2mistral_db_username` | `mistral` | PostgreSQL DB user that will be created for Mistral.
| `st2mistral_db_password` | `StackStorm` | PostgreSQL DB password for Mistral.
| `st2mistral_config` | `{}` | Hash with configuration settings to set in [`mistral.conf`](https://github.com/StackStorm/st2-packages/blob/master/packages/st2mistral/conf/mistral.conf) ini file.
| **st2web**
| `st2web_ssl_certificate` | `null` | String with custom SSL certificate (`.crt`). If not provided, self-signed certificate will be generated.
| `st2web_ssl_certificate_key` | `null` | String with custom SSL certificate secret key (`.key`). If not provided, self-signed certificate will be generated.
Expand Down
4 changes: 1 addition & 3 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# roles_path = /etc/ansible/roles/:/etc/ansible/roles/StackStorm.stackstorm/roles/
---
galaxy_info:
description: Install StackStorm (IFTTT for Ops) with all the components like Web UI, ChatOps, EWC and dependant services including RabbitMQ, MongoDB, PostgreSQL, nginx.
description: Install StackStorm (IFTTT for Ops) with all the components like Web UI, ChatOps, EWC and dependant services including RabbitMQ, MongoDB, nginx.
author: armab
company: StackStorm
license: Apache 2.0
Expand All @@ -33,11 +33,9 @@ galaxy_info:
- stackstorm
- st2
- st2web
- st2mistral
- st2chatops
- bwc
- ewc
- rabbitmq
- mongodb
- postgresql
- nginx
17 changes: 0 additions & 17 deletions roles/StackStorm.postgresql/meta/main.yml

This file was deleted.

10 changes: 0 additions & 10 deletions roles/StackStorm.postgresql/tasks/main.yml

This file was deleted.

19 changes: 0 additions & 19 deletions roles/StackStorm.postgresql/tasks/postgresql_apt.yml

This file was deleted.

44 changes: 0 additions & 44 deletions roles/StackStorm.postgresql/tasks/postgresql_yum7.yml

This file was deleted.

3 changes: 0 additions & 3 deletions roles/StackStorm.st2/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,3 @@ st2_config_no_log:
- password
messaging:
- url
mistral:
- keystone_username
- keystone_password
18 changes: 0 additions & 18 deletions roles/StackStorm.st2mistral/defaults/main.yml

This file was deleted.

5 changes: 0 additions & 5 deletions roles/StackStorm.st2mistral/handlers/main.yml

This file was deleted.

23 changes: 0 additions & 23 deletions roles/StackStorm.st2mistral/meta/main.yml

This file was deleted.

17 changes: 0 additions & 17 deletions roles/StackStorm.st2mistral/tasks/config.yml

This file was deleted.

129 changes: 0 additions & 129 deletions roles/StackStorm.st2mistral/tasks/main.yml

This file was deleted.

2 changes: 0 additions & 2 deletions roles/StackStorm.st2mistral/templates/init_mistral_db.SQL.j2

This file was deleted.

24 changes: 0 additions & 24 deletions roles/StackStorm.st2mistral/vars/main.yml

This file was deleted.

6 changes: 0 additions & 6 deletions stackstorm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,8 @@
roles:
- StackStorm.mongodb
- StackStorm.rabbitmq
- role: StackStorm.postgresql
when: not (ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version == '8') and
not (ansible_facts.distribution == 'Ubuntu' and ansible_facts.distribution_major_version == '18')
- StackStorm.st2repo
- StackStorm.st2
- role: StackStorm.st2mistral
when: not (ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version == '8') and
not (ansible_facts.distribution == 'Ubuntu' and ansible_facts.distribution_major_version == '18')
- StackStorm.nginx
- StackStorm.st2web
- StackStorm.nodejs
Expand Down

0 comments on commit c958e06

Please sign in to comment.