Skip to content

Commit c958e06

Browse files
authored
Merge pull request #272 from amanda11/remove_mistral
Deprecation of mistral, remove mistral and postgresql roles
2 parents 45b808d + dfaba85 commit c958e06

File tree

15 files changed

+2
-327
lines changed

15 files changed

+2
-327
lines changed

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Aka IFTTT orchestration for Ops.
1919
> In order to access StackStorm Web UI, please don't forget to ensure that http/https ports are opened in your firewall system.
2020
2121
## Requirements
22-
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.
22+
At least 2GB of memory and 3.5GB of disk space is required, since StackStorm is shipped with RabbitMQ, Mongo and nginx.
2323

2424
## Installation
2525
```sh
@@ -46,12 +46,6 @@ Below is the list of variables you can redefine in your playbook to customize st
4646
| `st2_auth_password` | `testp` | Password used by StackStorm standalone authentication.
4747
| `st2_save_credentials` | `yes` | Save credentials for local CLI in `/root/.st2/config` file.
4848
| `st2_packs` | `[ st2 ]` | List of packs to install. This flag does not work with a `--python3` only pack.
49-
| **st2mistral**
50-
| `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`.
51-
| `st2mistral_db` | `mistral` | PostgreSQL DB name that will be created for Mistral.
52-
| `st2mistral_db_username` | `mistral` | PostgreSQL DB user that will be created for Mistral.
53-
| `st2mistral_db_password` | `StackStorm` | PostgreSQL DB password for Mistral.
54-
| `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.
5549
| **st2web**
5650
| `st2web_ssl_certificate` | `null` | String with custom SSL certificate (`.crt`). If not provided, self-signed certificate will be generated.
5751
| `st2web_ssl_certificate_key` | `null` | String with custom SSL certificate secret key (`.key`). If not provided, self-signed certificate will be generated.

meta/main.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# roles_path = /etc/ansible/roles/:/etc/ansible/roles/StackStorm.stackstorm/roles/
99
---
1010
galaxy_info:
11-
description: Install StackStorm (IFTTT for Ops) with all the components like Web UI, ChatOps, EWC and dependant services including RabbitMQ, MongoDB, PostgreSQL, nginx.
11+
description: Install StackStorm (IFTTT for Ops) with all the components like Web UI, ChatOps, EWC and dependant services including RabbitMQ, MongoDB, nginx.
1212
author: armab
1313
company: StackStorm
1414
license: Apache 2.0
@@ -33,11 +33,9 @@ galaxy_info:
3333
- stackstorm
3434
- st2
3535
- st2web
36-
- st2mistral
3736
- st2chatops
3837
- bwc
3938
- ewc
4039
- rabbitmq
4140
- mongodb
42-
- postgresql
4341
- nginx

roles/StackStorm.postgresql/meta/main.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

roles/StackStorm.postgresql/tasks/main.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

roles/StackStorm.postgresql/tasks/postgresql_apt.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

roles/StackStorm.postgresql/tasks/postgresql_yum7.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

roles/StackStorm.st2/vars/main.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,3 @@ st2_config_no_log:
3737
- password
3838
messaging:
3939
- url
40-
mistral:
41-
- keystone_username
42-
- keystone_password

roles/StackStorm.st2mistral/defaults/main.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

roles/StackStorm.st2mistral/handlers/main.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

roles/StackStorm.st2mistral/meta/main.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

roles/StackStorm.st2mistral/tasks/config.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

roles/StackStorm.st2mistral/tasks/main.yml

Lines changed: 0 additions & 129 deletions
This file was deleted.

roles/StackStorm.st2mistral/templates/init_mistral_db.SQL.j2

Lines changed: 0 additions & 2 deletions
This file was deleted.

roles/StackStorm.st2mistral/vars/main.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

stackstorm.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,8 @@
55
roles:
66
- StackStorm.mongodb
77
- StackStorm.rabbitmq
8-
- role: StackStorm.postgresql
9-
when: not (ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version == '8') and
10-
not (ansible_facts.distribution == 'Ubuntu' and ansible_facts.distribution_major_version == '18')
118
- StackStorm.st2repo
129
- StackStorm.st2
13-
- role: StackStorm.st2mistral
14-
when: not (ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version == '8') and
15-
not (ansible_facts.distribution == 'Ubuntu' and ansible_facts.distribution_major_version == '18')
1610
- StackStorm.nginx
1711
- StackStorm.st2web
1812
- StackStorm.nodejs

0 commit comments

Comments
 (0)