Skip to content

Commit

Permalink
Merge branch 'release/4.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
hswong3i committed Jan 16, 2020
2 parents 92842c5 + 3970da3 commit ceaa380
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 27 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# Ansible Role for Node.js

## 4.1.0 - TBC
## 4.2.0 - TBC

### Major Changes

## 4.1.0 - 2020-01-16

### Major Changes

- Default `interpreter_python` with `python3`
- Bugfix `python3-xml` not exists for openSUSE Leap 15.1
- Rename role as `node`
- Add Node.js 13 support
- Remove Node.js 8 support
Expand Down
2 changes: 1 addition & 1 deletion ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ scp_if_ssh = true
ansible_managed = Ansible managed: Do NOT edit this file manually!
forks = 10
host_key_checking = false
interpreter_python = auto
interpreter_python = python3
nocows = 1
retry_files_enabled = false
8 changes: 4 additions & 4 deletions molecule/centos-7/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@
--autosubscribe
ignore_errors: true

- name: redhat | yum install ca-certificates curl python3 sudo
- name: redhat | yum install -y ca-certificates curl python3 sudo
raw: |
yum install -y ca-certificates curl python3 sudo
ignore_errors: true

- name: suse | zypper install ca-certificates* curl python3 sudo
- name: suse | zypper -n install -y ca-certificates curl python3 sudo
raw: |
zypper -n --gpg-auto-import-keys refresh
zypper -n install -y ca-certificates* curl python3 sudo
zypper -n install -y ca-certificates curl python3 sudo
ignore_errors: true

- name: debian | apt-get install ca-certificates curl python3 sudo
- name: debian | apt-get install -y ca-certificates curl python3 sudo
raw: |
apt-get update
apt-get install -y ca-certificates curl python3 sudo
Expand Down
8 changes: 4 additions & 4 deletions molecule/redhat-7-vagrant/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@
--autosubscribe
ignore_errors: true

- name: redhat | yum install ca-certificates curl python3 sudo
- name: redhat | yum install -y ca-certificates curl python3 sudo
raw: |
yum install -y ca-certificates curl python3 sudo
ignore_errors: true

- name: suse | zypper install ca-certificates* curl python3 sudo
- name: suse | zypper -n install -y ca-certificates curl python3 sudo
raw: |
zypper -n --gpg-auto-import-keys refresh
zypper -n install -y ca-certificates* curl python3 sudo
zypper -n install -y ca-certificates curl python3 sudo
ignore_errors: true

- name: debian | apt-get install ca-certificates curl python3 sudo
- name: debian | apt-get install -y ca-certificates curl python3 sudo
raw: |
apt-get update
apt-get install -y ca-certificates curl python3 sudo
Expand Down
8 changes: 4 additions & 4 deletions molecule/suse-15/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@
--autosubscribe
ignore_errors: true

- name: redhat | yum install ca-certificates curl python3 sudo
- name: redhat | yum install -y ca-certificates curl python3 sudo
raw: |
yum install -y ca-certificates curl python3 sudo
ignore_errors: true

- name: suse | zypper install ca-certificates* curl python3 sudo
- name: suse | zypper -n install -y ca-certificates curl python3 sudo
raw: |
zypper -n --gpg-auto-import-keys refresh
zypper -n install -y ca-certificates* curl python3 sudo
zypper -n install -y ca-certificates curl python3 sudo
ignore_errors: true

- name: debian | apt-get install ca-certificates curl python3 sudo
- name: debian | apt-get install -y ca-certificates curl python3 sudo
raw: |
apt-get update
apt-get install -y ca-certificates curl python3 sudo
Expand Down
8 changes: 4 additions & 4 deletions molecule/ubuntu-16.04/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@
--autosubscribe
ignore_errors: true

- name: redhat | yum install ca-certificates curl python3 sudo
- name: redhat | yum install -y ca-certificates curl python3 sudo
raw: |
yum install -y ca-certificates curl python3 sudo
ignore_errors: true

- name: suse | zypper install ca-certificates* curl python3 sudo
- name: suse | zypper -n install -y ca-certificates curl python3 sudo
raw: |
zypper -n --gpg-auto-import-keys refresh
zypper -n install -y ca-certificates* curl python3 sudo
zypper -n install -y ca-certificates curl python3 sudo
ignore_errors: true

- name: debian | apt-get install ca-certificates curl python3 sudo
- name: debian | apt-get install -y ca-certificates curl python3 sudo
raw: |
apt-get update
apt-get install -y ca-certificates curl python3 sudo
Expand Down
8 changes: 4 additions & 4 deletions molecule/ubuntu-18.04-vagrant/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@
--autosubscribe
ignore_errors: true

- name: redhat | yum install ca-certificates curl python3 sudo
- name: redhat | yum install -y ca-certificates curl python3 sudo
raw: |
yum install -y ca-certificates curl python3 sudo
ignore_errors: true

- name: suse | zypper install ca-certificates* curl python3 sudo
- name: suse | zypper -n install -y ca-certificates curl python3 sudo
raw: |
zypper -n --gpg-auto-import-keys refresh
zypper -n install -y ca-certificates* curl python3 sudo
zypper -n install -y ca-certificates curl python3 sudo
ignore_errors: true

- name: debian | apt-get install ca-certificates curl python3 sudo
- name: debian | apt-get install -y ca-certificates curl python3 sudo
raw: |
apt-get update
apt-get install -y ca-certificates curl python3 sudo
Expand Down
8 changes: 4 additions & 4 deletions molecule/ubuntu-18.04/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@
--autosubscribe
ignore_errors: true

- name: redhat | yum install ca-certificates curl python3 sudo
- name: redhat | yum install -y ca-certificates curl python3 sudo
raw: |
yum install -y ca-certificates curl python3 sudo
ignore_errors: true

- name: suse | zypper install ca-certificates* curl python3 sudo
- name: suse | zypper -n install -y ca-certificates curl python3 sudo
raw: |
zypper -n --gpg-auto-import-keys refresh
zypper -n install -y ca-certificates* curl python3 sudo
zypper -n install -y ca-certificates curl python3 sudo
ignore_errors: true

- name: debian | apt-get install ca-certificates curl python3 sudo
- name: debian | apt-get install -y ca-certificates curl python3 sudo
raw: |
apt-get update
apt-get install -y ca-certificates curl python3 sudo
Expand Down
3 changes: 2 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@
- name: unarchive package
shell: |
set -o pipefail
rm -rf /opt/yarn && mkdir -p /opt/yarn
rm -rf /opt/yarn \
&& mkdir -p /opt/yarn
cd /opt/yarn
TMP_DIR="`mktemp -d`" \
&& tar -zx -C $TMP_DIR -f {{ yarn_download.dest }} \
Expand Down

0 comments on commit ceaa380

Please sign in to comment.