Skip to content

Commit 97a71b7

Browse files
authored
Merge pull request #8 from fubarhouse/deprecation-notices
Deprecation notices
2 parents c6d8554 + ee6dc39 commit 97a71b7

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

.travis.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ env:
4444
init: /sbin/init
4545
run_opts: --privileged
4646
playbook: playbook.yml
47-
# - distro: yakkety
48-
# init: /sbin/init
49-
# run_opts: --privileged
50-
# playbook: playbook.yml
47+
- distro: yakkety
48+
init: /sbin/init
49+
run_opts: --privileged
50+
playbook: playbook.yml
5151
- distro: zesty
5252
init: /sbin/init
5353
run_opts: --privileged
@@ -100,6 +100,10 @@ env:
100100
init: /usr/lib/systemd/systemd
101101
run_opts: --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro
102102
playbook: playbook.yml
103+
- distro: fedora-28
104+
init: /usr/lib/systemd/systemd
105+
run_opts: --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro
106+
playbook: playbook.yml
103107

104108
before_install:
105109

@@ -122,7 +126,7 @@ script:
122126
- idempotence=$(mktemp)
123127
- >
124128
docker exec "$(cat ${container_id})"
125-
ansible-playbook /etc/ansible/roles/role_under_test/tests/${playbook} --sudo -vvvv
129+
ansible-playbook /etc/ansible/roles/role_under_test/tests/${playbook} --sudo
126130
| tee -a ${idempotence}
127131
- >
128132
tail ${idempotence}

meta/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ galaxy_info:
55
author: fubarhouse
66
description: Installs Yarn JS package manager.
77
license: "license (BSD, MIT)"
8-
min_ansible_version: 2.1.0.0
8+
min_ansible_version: 2.4
99
platforms:
1010
- name: Debian
1111
versions:
@@ -23,6 +23,7 @@ galaxy_info:
2323
- 25
2424
- 26
2525
- 27
26+
- 28
2627
- name: Ubuntu
2728
versions:
2829
- precise
@@ -34,7 +35,7 @@ galaxy_info:
3435
- wily
3536
- vivid
3637
- xenial
37-
# - yakkety
38+
- yakkety
3839
- zesty
3940
- artful
4041
- bionic

tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
when: fubarhouse_user_dir is not defined
2424

2525
- name: "Include tasks for Yarn"
26-
include: yarn.yml
26+
include_tasks: yarn.yml
2727

2828
- name: "Include tasks for Yarn packages"
29-
include: packages.yml
29+
include_tasks: packages.yml

tasks/yarn.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
- name: "Yarn | Check for installation"
2222
shell: which yarn
2323
register: yarn_result
24-
changed_when: '"yarn" not in yarn_result.stdout'
2524
changed_when: false
2625
failed_when: false
2726

@@ -38,7 +37,7 @@
3837
when: '"Usage" not in yarn_result.stdout and "Yarn requires Node" not in yarn_result.stdout and "is not supported, please use Node.js" not in yarn_result.stdout'
3938

4039
- name: "Yarn | Include OS-specific tasks"
41-
include: "yarn-{{ ansible_os_family }}.yml"
40+
include_tasks: "yarn-{{ ansible_os_family }}.yml"
4241
when: 'yarn_install_state|bool == true'
4342

4443
- name: "Yarn | Install"

0 commit comments

Comments
 (0)