Skip to content

Commit 82d95d4

Browse files
piccoloaiutantegibfahn
authored andcommitted
Create NODE_TEST_DIR Ubuntu 16.04 and 16.10 (#785)
This PR tries to adapt the previous #658 to the new ansible structure that we adopted recently. Basically it adds an extra step for Ubuntu 16.04 and 16.10 to create the tmp directory used in NODE_TEST_DIR variable.
1 parent 6fbad37 commit 82d95d4

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

  • ansible/roles/jenkins-worker/tasks

ansible/roles/jenkins-worker/tasks/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@
1919
state: present
2020
line: ::1 localhost.localdomain localhost
2121

22+
- name: create NODE_TEST_DIR directory
23+
file: path=/home/{{ server_user }}/tmp state=directory
24+
25+
- name: set NODE_TEST_DIR permission and owner
26+
file:
27+
path: /home/{{ server_user }}/tmp
28+
owner: "{{ server_user }}"
29+
group: "{{ server_user }}"
30+
mode: 0755
31+
2232
- name: prepare installing tap2junit
2333
when: type != "release"
2434
include: "{{ pip_include }}"

0 commit comments

Comments
 (0)