From 94905484ef540b8a68be573b94b23d036d6095f6 Mon Sep 17 00:00:00 2001 From: Wong Hoi Sing Edison Date: Sat, 17 Jul 2021 15:50:34 +0800 Subject: [PATCH 1/2] yum install -y python3-dnf-plugin-versionlock --- molecule/default/prepare.yml | 6 +++--- scripts/bootstrap-ansible.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/molecule/default/prepare.yml b/molecule/default/prepare.yml index a6c9d33..f4c7574 100644 --- a/molecule/default/prepare.yml +++ b/molecule/default/prepare.yml @@ -102,7 +102,7 @@ - name: fedora | yum install *.rpm raw: | set -eu - yum install -y bzip2 ca-certificates curl gcc gnupg2 gzip iproute procps-ng python3 python3-cryptography python3-devel python3-jmespath python3-libselinux python3-lxml python3-netaddr python3-pip python3-setuptools python3-virtualenv python3-wheel rsync shadow-utils sudo tar unzip util-linux xz yum-utils zip + yum install -y bzip2 ca-certificates curl gcc gnupg2 gzip iproute procps-ng python3 python3-cryptography python3-devel python3-dnf-plugin-versionlock python3-jmespath python3-libselinux python3-lxml python3-netaddr python3-pip python3-setuptools python3-virtualenv python3-wheel rsync shadow-utils sudo tar unzip util-linux xz yum-utils zip when: ansible_distribution | lower == "fedora" changed_when: false failed_when: false @@ -111,7 +111,7 @@ raw: | set -eu yum install -y http://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm - yum install -y bzip2 ca-certificates curl gcc gnupg2 gzip iproute procps-ng python3 python3-cryptography python3-devel python3-jmespath python3-libselinux python3-lxml python3-netaddr python3-pip python3-setuptools python3-virtualenv python3-wheel rsync shadow-utils sudo tar unzip util-linux xz yum-utils zip + yum install -y bzip2 ca-certificates curl gcc gnupg2 gzip iproute procps-ng python3 python3-cryptography python3-devel python3-dnf-plugin-versionlock python3-jmespath python3-libselinux python3-lxml python3-netaddr python3-pip python3-setuptools python3-virtualenv python3-wheel rsync shadow-utils sudo tar unzip util-linux xz yum-utils zip when: ansible_os_family | lower == "redhat" and ansible_distribution_major_version | lower == "8" changed_when: false failed_when: false @@ -121,7 +121,7 @@ set -eu subscription-manager repos --enable=rhel-7-server-optional-rpms || echo $? yum install -y http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm - yum install -y bzip2 ca-certificates curl gcc gnupg2 gzip iproute procps-ng python3 python3-devel python3-jmespath python3-libselinux python3-lxml python3-pip python3-setuptools python3-virtualenv python3-wheel python36-cryptography python36-netaddr rsync shadow-utils sudo tar unzip util-linux xz yum-utils zip + yum install -y bzip2 ca-certificates curl gcc gnupg2 gzip iproute procps-ng python3 python3-devel python3-jmespath python3-libselinux python3-lxml python3-pip python3-setuptools python3-virtualenv python3-wheel python36-cryptography python36-netaddr rsync shadow-utils sudo tar unzip util-linux xz yum-plugin-versionlock yum-utils zip when: ansible_os_family | lower == "redhat" and ansible_distribution_major_version | lower == "7" changed_when: false failed_when: false diff --git a/scripts/bootstrap-ansible.sh b/scripts/bootstrap-ansible.sh index 4b100e6..80af816 100755 --- a/scripts/bootstrap-ansible.sh +++ b/scripts/bootstrap-ansible.sh @@ -30,7 +30,7 @@ fi if [ -x "$(command -v yum)" ]; then yum makecache yum update -y - yum install -y bzip2 ca-certificates curl gcc gnupg2 gzip iproute procps-ng python3 python3-cryptography python3-devel python3-jmespath python3-libselinux python3-lxml python3-netaddr python3-pip python3-setuptools python3-virtualenv python3-wheel sudo tar unzip xz yum-utils zip + yum install -y bzip2 ca-certificates curl gcc gnupg2 gzip iproute procps-ng python3 python3-cryptography python3-devel python3-dnf-plugin-versionlock python3-jmespath python3-libselinux python3-lxml python3-netaddr python3-pip python3-setuptools python3-virtualenv python3-wheel sudo tar unzip xz yum-utils zip fi # Prepare Zypper dependencies From 6eca9e23d9075b0925ee99643130d1bc3a72eeda Mon Sep 17 00:00:00 2001 From: Wong Hoi Sing Edison Date: Sun, 18 Jul 2021 04:26:14 +0000 Subject: [PATCH 2/2] 5.1.0 --- CHANGELOG.md | 17 ++++++++++++----- README.md | 15 ++++++++++----- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72c6c49..4dcbe9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,14 @@ # Ansible Role for Node.js -## 5.1.0 - TBC +## 5.2.0 - TBC ### Major Changes - - Upgrade minimal Ansible community package support to 4.1.0 +## 5.1.0 - 2021-07-18 + +### Major Changes + + - Upgrade minimal Ansible community package support to 4.2.0 - Support Debian 11 - Support openSUSE Leap 15.3 - Support Yarn 2 @@ -26,9 +30,12 @@ ### Major Changes - - Bugfix [ansible-lint `namespace`](https://github.com/ansible-community/ansible-lint/pull/1451) - - Bugfix [ansible-lint `no-handler`](https://github.com/ansible-community/ansible-lint/pull/1402) - - Bugfix [ansible-lint `unnamed-task`](https://github.com/ansible-community/ansible-lint/pull/1413) + - Bugfix [ansible-lint + `namespace`](https://github.com/ansible-community/ansible-lint/pull/1451) + - Bugfix [ansible-lint + `no-handler`](https://github.com/ansible-community/ansible-lint/pull/1402) + - Bugfix [ansible-lint + `unnamed-task`](https://github.com/ansible-community/ansible-lint/pull/1413) - Simplify Python dependency with system packages - Support RHEL 8 with Molecule - Support RHEL 7 with Molecule diff --git a/README.md b/README.md index c361d20..c0764e4 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,13 @@ # Ansible Role for Node.js -[![Gitlab pipeline status](https://img.shields.io/gitlab/pipeline/alvistack/ansible-role-node/master)](https://gitlab.com/alvistack/ansible-role-node/-/pipelines) -[![GitHub release](https://img.shields.io/github/release/alvistack/ansible-role-node.svg)](https://github.com/alvistack/ansible-role-node/releases) -[![GitHub license](https://img.shields.io/github/license/alvistack/ansible-role-node.svg)](https://github.com/alvistack/ansible-role-node/blob/master/LICENSE) -[![Ansible Role](https://img.shields.io/badge/galaxy-alvistack.node-blue.svg)](https://galaxy.ansible.com/alvistack/node) +[![Gitlab pipeline +status](https://img.shields.io/gitlab/pipeline/alvistack/ansible-role-node/master)](https://gitlab.com/alvistack/ansible-role-node/-/pipelines) +[![GitHub +release](https://img.shields.io/github/release/alvistack/ansible-role-node.svg)](https://github.com/alvistack/ansible-role-node/releases) +[![GitHub +license](https://img.shields.io/github/license/alvistack/ansible-role-node.svg)](https://github.com/alvistack/ansible-role-node/blob/master/LICENSE) +[![Ansible +Role](https://img.shields.io/badge/galaxy-alvistack.node-blue.svg)](https://galaxy.ansible.com/alvistack/node) Ansible Role for Node.js Installation. @@ -39,7 +43,8 @@ This role could simply deploy to `localhost` as below: ## License - Code released under [Apache License 2.0](LICENSE) - - Docs released under [CC BY 4.0](http://creativecommons.org/licenses/by/4.0/) + - Docs released under [CC + BY 4.0](http://creativecommons.org/licenses/by/4.0/) ## Author Information