Skip to content

Commit 5dbabb9

Browse files
authored
Merge pull request #268 from amanda11/remove_centos6
Remove EL6 from ansible playbooks
2 parents 29a913d + 217deb6 commit 5dbabb9

File tree

23 files changed

+5
-155
lines changed

23 files changed

+5
-155
lines changed

.kitchen-docker/centos6/Dockerfile

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

.kitchen.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ platforms:
3131
run_command: /sbin/init
3232
volume:
3333
- /sys/fs/cgroup:/sys/fs/cgroup:ro
34-
# CentOS6 with sysV init
35-
- name: centos-6
36-
driver_config:
37-
platform: centos
38-
dockerfile: .kitchen-docker/centos6/Dockerfile
39-
run_command: /usr/sbin/sshd -D
4034
# CentOS7 with Systemd
4135
- name: centos-7
4236
driver_config:

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,11 @@ branches:
1010
env:
1111
# default is stable repo
1212
- DISTRO=ubuntu-16 LICENSE='BWC_LICENSE_ENTERPRISE'
13-
- DISTRO=centos-6 LICENSE='BWC_LICENSE_ENTERPRISE'
1413
- DISTRO=centos-7 LICENSE='BWC_LICENSE_ENTERPRISE'
1514
- DISTRO=centos-8 LICENSE='BWC_LICENSE_ENTERPRISE'
1615

1716
# StackStorm 'unstable' repo check
1817
- DISTRO=ubuntu-16 ST2_REPO=unstable EWC_REPO=enterprise-unstable LICENSE='BWC_LICENSE_ENTERPRISE_UNSTABLE'
19-
- DISTRO=centos-6 ST2_REPO=unstable EWC_REPO=enterprise-unstable LICENSE='BWC_LICENSE_ENTERPRISE_UNSTABLE'
2018
- DISTRO=centos-7 ST2_REPO=unstable EWC_REPO=enterprise-unstable LICENSE='BWC_LICENSE_ENTERPRISE_UNSTABLE'
2119
- DISTRO=centos-8 ST2_REPO=unstable EWC_REPO=enterprise-unstable LICENSE='BWC_LICENSE_ENTERPRISE_UNSTABLE'
2220

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Aka IFTTT orchestration for Ops.
1010

1111
## Supported platforms
1212
* Ubuntu Xenial (16.04)
13-
* RHEL6 / CentOS6
1413
* RHEL7 / CentOS7
1514
* RHEL8 / CentOS8
1615

@@ -45,7 +44,7 @@ Below is the list of variables you can redefine in your playbook to customize st
4544
| `st2_auth_username` | `testu` | Username used by StackStorm standalone authentication.
4645
| `st2_auth_password` | `testp` | Password used by StackStorm standalone authentication.
4746
| `st2_save_credentials` | `yes` | Save credentials for local CLI in `/root/.st2/config` file.
48-
| `st2_packs` | `[ st2 ]` | List of packs to install. This flag does not work on CentOS6 or with a `--python3` only pack.
47+
| `st2_packs` | `[ st2 ]` | List of packs to install. This flag does not work with a `--python3` only pack.
4948
| **st2mistral**
5049
| `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`.
5150
| `st2mistral_db` | `mistral` | PostgreSQL DB name that will be created for Mistral.
@@ -101,10 +100,8 @@ There are a few requirements when developing on `ansible-st2`.
101100

102101
These are the platforms we must support (must pass end-to-end testing):
103102
- Xenial
104-
- CentOS6
105103
- CentOS7
106104
- CentOS8
107-
- RHEL6 (via AWS)
108105
- RHEL7 (via AWS)
109106
- RHEL8 (via AWS)
110107

@@ -117,7 +114,6 @@ vagrant up
117114

118115
Other distros:
119116
```sh
120-
vagrant up centos6
121117
vagrant up centos7
122118
vagrant up centos8
123119
```
@@ -132,7 +128,6 @@ You might be interested in other methods to deploy StackStorm engine:
132128
* [Ubuntu 16.04](https://docs.stackstorm.com/install/deb.html)
133129
* [RHEL8/CentOS8](https://docs.stackstorm.com/install/rhel8.html)
134130
* [RHEL7/CentOS7](https://docs.stackstorm.com/install/rhel7.html)
135-
* [RHEL6/CentOS6](https://docs.stackstorm.com/install/rhel6.html)
136131

137132
## Help
138133
If you're in stuck, our community always ready to help, feel free to:

Vagrantfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ VIRTUAL_MACHINES = {
66
:hostname => 'ansible-st2-ubuntu16',
77
:box => 'ubuntu/xenial64',
88
},
9-
:centos6 => {
10-
:hostname => 'ansible-st2-centos6',
11-
:box => 'centos/6',
12-
},
139
:centos7 => {
1410
:hostname => 'ansible-st2-centos7',
1511
:box => 'centos/7',

meta/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ galaxy_info:
1919
- xenial
2020
- name: EL
2121
versions:
22-
- 6
2322
- 7
2423
- 8
2524
categories:

roles/StackStorm.epel/meta/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ galaxy_info:
88
platforms:
99
- name: EL
1010
versions:
11-
- 6
1211
- 7
1312
- 8
1413
galaxy_tags:

roles/StackStorm.ewc/meta/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ galaxy_info:
1111
- xenial
1212
- name: EL
1313
versions:
14-
- 6
1514
- 7
1615
- 8
1716
galaxy_tags:

roles/StackStorm.ewc_smoketests/meta/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ galaxy_info:
1111
- xenial
1212
- name: EL
1313
versions:
14-
- 6
1514
- 7
1615
- 8
1716
galaxy_tags:

roles/StackStorm.mongodb/meta/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ galaxy_info:
1111
- xenial
1212
- name: EL
1313
versions:
14-
- 6
1514
- 7
1615
- 8
1716
galaxy_tags:

roles/StackStorm.nginx/meta/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ galaxy_info:
1212
- xenial
1313
- name: EL
1414
versions:
15-
- 6
1615
- 7
1716
- 8
1817
galaxy_tags:

roles/StackStorm.nodejs/meta/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ galaxy_info:
1212
- xenial
1313
- name: EL
1414
versions:
15-
- 6
1615
- 7
1716
- 8
1817
galaxy_tags:

roles/StackStorm.postgresql/meta/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ galaxy_info:
1212
- xenial
1313
- name: EL
1414
versions:
15-
- 6
1615
- 7
1716
galaxy_tags:
1817
- system

roles/StackStorm.postgresql/tasks/postgresql_yum6.yml

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

roles/StackStorm.rabbitmq/meta/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ galaxy_info:
1111
- xenial
1212
- name: EL
1313
versions:
14-
- 6
1514
- 7
1615
- 8
1716
galaxy_tags:

roles/StackStorm.rabbitmq/tasks/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,5 @@
5757
state: enabled
5858
# new_only: no = Remove all plguins that aren't listed in rabbitmq_plugins
5959
new_only: no
60-
# the EL6 RPM for rabbitmq-server does not place the rabbitmq-plugins binary in the search path (other distro's packages do, including EL7). Prefix adds it to the binary search path.
61-
prefix: "{{ rabbitmq_on_el6 | ternary(rabbitmq_el6_prefix, omit) }}"
6260
when: rabbitmq_plugins | bool
6361
tags: rabbitmq
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
---
2-
rabbitmq_el6_prefix: "/usr/lib/rabbitmq/"
3-
rabbitmq_on_el6: "{{ (ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version == '6') }}"
42
rabbitmq_on_el8: "{{ (ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version == '8') }}"

roles/StackStorm.st2/meta/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ galaxy_info:
1111
- xenial
1212
- name: EL
1313
versions:
14-
- 6
1514
- 7
1615
- 8
1716
galaxy_tags:

roles/StackStorm.st2/tasks/main.yml

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
11
---
2-
- name: Install libffi-devel on EL6
3-
become: yes
4-
package:
5-
name: http://rpmfind.net/linux/centos/6/os/x86_64/Packages/libffi-devel-3.0.5-3.2.el6.x86_64.rpm
6-
state: present
7-
register: _task
8-
retries: 5
9-
delay: 3
10-
until: _task is succeeded
11-
when: ansible_facts.os_family == "RedHat" and ansible_facts.distribution_major_version == "6"
12-
tags: st2
13-
142
- name: Install latest st2 package, auto-update
153
become: yes
164
package:
@@ -105,19 +93,12 @@
10593
# https://github.com/ansible/ansible/issues/41313#issuecomment-520891625
10694
- name: Flush handlers to prepare StackStorm if there are packs to install
10795
include_tasks: flush_handlers.yml
108-
when: st2_packs|length > 0 and not (ansible_facts.os_family == "RedHat" and ansible_distribution_major_version == "6")
96+
when: st2_packs|length > 0
10997
ignore_errors: yes
110-
tags: st2, st2_packs, skip_centos_6
98+
tags: st2, st2_packs
11199

112100
- name: Install StackStorm integration Packs
113101
import_tasks: packs.yml
114-
when: st2_packs|length > 0 and not (ansible_facts.os_family == "RedHat" and ansible_distribution_major_version == "6")
115-
ignore_errors: yes
116-
tags: st2, st2_packs, skip_centos_6
117-
118-
- name: Report warning when 'st2_packs' is used in EL6
119-
fail:
120-
msg: CentOS/RHEL 6 support not provided for 'st2_packs', skipped st2 pack install
121-
failed_when: st2_packs|length > 0 and ansible_facts.os_family == "RedHat" and ansible_distribution_major_version == "6"
102+
when: st2_packs|length > 0
122103
ignore_errors: yes
123-
tags: st2, st2_packs, skip_centos_6
104+
tags: st2, st2_packs

roles/StackStorm.st2chatops/meta/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ galaxy_info:
1111
- xenial
1212
- name: EL
1313
versions:
14-
- 6
1514
- 7
1615
- 8
1716
galaxy_tags:

roles/StackStorm.st2mistral/meta/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ galaxy_info:
1212
- xenial
1313
- name: EL
1414
versions:
15-
- 6
1615
- 7
1716
galaxy_tags:
1817
- system

roles/StackStorm.st2repo/meta/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ galaxy_info:
1111
- xenial
1212
- name: EL
1313
versions:
14-
- 6
1514
- 7
1615
- 8
1716
galaxy_tags:

roles/StackStorm.st2web/meta/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ galaxy_info:
1212
- xenial
1313
- name: EL
1414
versions:
15-
- 6
1615
- 7
1716
- 8
1817
galaxy_tags:

0 commit comments

Comments
 (0)