Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create the NODE_TEST_DIR env variable on Ubuntu 16.04 and 16.10 #785

Merged
merged 9 commits into from
Sep 11, 2017
10 changes: 10 additions & 0 deletions ansible/roles/jenkins-worker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@
state: present
line: ::1 localhost.localdomain localhost

- name: create NODE_TEST_DIR directory
file: path=/home/{{ server_user }}/tmp state=directory

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.


- name: set NODE_TEST_DIR permission and owner
file:
path: /home/{{ server_user }}/tmp
owner: "{{ server_user }}"
group: "{{ server_user }}"
mode: 0755

- name: prepare installing tap2junit
when: type != "release"
include: "{{ pip_include }}"
Expand Down