Skip to content

Commit

Permalink
prepare for release (#117)
Browse files Browse the repository at this point in the history
* Update supported Ansible versions

* fix: jinja2 templating delimiters failure (VIYAARK-301) (#112)

* fix: jinja2 template delimiter usage in ssl_check (VIYAARK-301) (#113)

* fix: jinja2 templating delimiter unsafe usage (#114)

* fix: jinja2 templating delimiter unsafe usage

* fix: additional jinja2 templating delimiters (VIYAARK-301)

* feat: remove pre-install playbook ssl_check tasks (VIYAARK-302) (#115)

* fix: viyaldapvalidtor jinja2 templating delimiters usage (VIYAARK-303) (#116)

* fix: viyaldapvalidtor jinja2 templating delimiters usage (VIYAARK-303)

* fix: remove quotes for proper eval (VIYAARK-303)

* chore: update CHANGELOG. missing some release notes.

* chore: stick with minor version increment.
  • Loading branch information
kevinlinglesas authored Mar 25, 2024
1 parent 4ccf208 commit 7f2a58f
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 175 deletions.
20 changes: 18 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
# Changelog for SAS Viya ARK

<!-- LATEST RELEASE START -->
## Viya35-ark-1.19 - March 25, 2024
- **Summary**
* Changes related to Viya 3.5 support for a new range of Ansible versions.
* Changes related to jinja2 templating delimiter usage in conditionals.
* Removed Pre-Install Playbook ssl_check tasks. The check is no longer needed
in viya-ark as SAS Viya 3.5 deployment process will automatically install Apache httpd.
- Ansible Support: Ansible 2.14 - 2.16

## Viya35-ark-1.18 - November, 8 2023
- **Summary**
Updates supporting SAS Viya 3.5 PostgreSQL 15 & pgpool-II 4.4 updates. Documentation updates related to contributing to the project.
- Ansible Support: Ansible 2.12 - Ansible 2.14

## Viya35-ark-1.17 - August 2, 2023
- **Summary**:
Fix for sas-viya-launcher-default service not stopped by viya-services-stop.yml (#92 )
- Ansible Support: Ansible 2.12 - Ansible 2.14

## Viya35-ark-1.16 - May 24, 2023
- **Sumary**:
Changes related to Viya 3.5 support for new range of Ansible versions and new minimum Python version.
- Ansible Support: Ansible 2.12 - Ansible 2.14
<!-- LATEST RELEASE END -->

## Viya35-ark-1.15 - August 23, 2022
- **Sumary**:
Expand Down
4 changes: 2 additions & 2 deletions playbooks/ldap-validator/viyaldapvalidator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
- name: Assert that the most important variables are defined
assert:
that:
- "{{ item }} is defined"
- "{{ item }} | trim != '' "
- item is defined
- item | trim != ''
msg: |
This item is not defined or empty in your sitedefault file:
{{item}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ storage_list:
- { path: /var/cache, min_storage_mb: 15000, min_io: 2}
- { path: /opt, min_storage_mb: 40000, min_io: 2, permission: 755}

ssl_dir_path:
- { path: /etc/apache2}
- { path: /etc/httpd}

#
# this line can be added to check on another partition
Expand Down Expand Up @@ -195,9 +192,9 @@ sas_yum_urls:


## third-party software requirements
required_ansible_min_version: "2.12"
required_ansible_max_version: "2.14"
ansible_version_compare_max_version: "2.15" # Must be set one minor version above required_ansible_max_version
required_ansible_min_version: "2.14"
required_ansible_max_version: "2.16"
ansible_version_compare_max_version: "2.17" # Must be set one minor version above required_ansible_max_version
required_python_min_version: "3.10"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
- import_tasks: pre.max_os_tasks_config.yml
- import_tasks: pre.user_and_group_config.yml
- import_tasks: pre.sudo_access_check.yml
- import_tasks: pre.ssl_check.yml
- import_tasks: pre.proxy_check.yml
- import_tasks: pre.selinux_config.yml
- import_tasks: pre.ulimit_config.yml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2019-2020, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
# Copyright (c) 2019-2024, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
#
---
Expand Down Expand Up @@ -62,7 +62,7 @@
- name: "Assert that https_proxy is set as environment variable"
assert:
that:
- ("{{ https_proxy }}" != "")
- (https_proxy != "")
msg: |
The environment variable "https_proxy" is not set in environment variables
If your organization uses a forward HTTP proxy server, It should be set as ex.
Expand Down Expand Up @@ -94,7 +94,7 @@
- name: "Assert that http_proxy is set as environment variable"
assert:
that:
- ("{{ http_proxy }}" != "")
- (http_proxy != "")
msg: |
The environment variable "http_proxy" is not set in environment variables
If your organization uses a forward HTTP proxy server, It should be set as ex.
Expand Down Expand Up @@ -127,7 +127,7 @@
- name: "Assert that no_proxy is set as environment variable if https_proxy and http_proxy are set"
assert:
that:
- ((("{{ https_proxy }}" != "" ) and ("{{ http_proxy }}" != "" )) and ("{{ no_proxy }}" != ""))
- ((( https_proxy != "" ) and ( http_proxy != "" )) and ( no_proxy != ""))
msg: |
The environment variable "no_proxy" is not set in environment variables
If your organization uses a forward HTTP proxy server, It should be set as ex.
Expand Down Expand Up @@ -156,7 +156,7 @@
- name: "Assert that proxy is set in yum.conf if https_proxy and http_proxy are set"
assert:
that:
- ("{{ proxy_conf_exists.stdout }}" != "" )
- ( proxy_conf_exists.stdout != "" )
msg:
The variable "proxy" is not set in yum.conf file
when: (https_proxy != "") and (http_proxy != "") and not ansible_check_mode
Expand All @@ -177,7 +177,7 @@
- name: "Assert that proxy_username is set in yum.conf if https_proxy and http_proxy are set"
assert:
that:
- ("{{ proxyuser_conf_exists.stdout }}" != "" )
- ( proxyuser_conf_exists.stdout != "" )
msg:
The variable "proxy_username" is not set in yum.conf file
when: (https_proxy != "") and (http_proxy != "") and not ansible_check_mode
Expand All @@ -198,7 +198,7 @@
- name: "Assert that proxy_password is set in yum.conf if https_proxy and http_proxy are set"
assert:
that:
- ("{{ proxypass_conf_exists.stdout }}" != "" )
- ( proxypass_conf_exists.stdout != "" )
msg:
The variable "proxy_password" is not set in yum.conf file.
when: (https_proxy != "") and (http_proxy != "") and not ansible_check_mode
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2019-2020, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
# Copyright (c) 2019-2024, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
#
---
Expand All @@ -18,7 +18,7 @@
- name: Ensure that the Bash shell is installed
assert:
that:
- ({{ current_shell.rc }} == 0)
- current_shell.rc == 0
msg: |
Bash does not appear to be installed on this system.
Viya requires that the default system shell is bash.
Expand Down

This file was deleted.

0 comments on commit 7f2a58f

Please sign in to comment.