Skip to content

Commit

Permalink
travis trials
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhanunlu committed Jun 13, 2019
1 parent 1ff90b9 commit 1c8f744
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Packerfile.json
Expand Up @@ -32,7 +32,7 @@
"post-processors": [],
"provisioners": [
{
"playbook_file": "provisioning/without_building_ui_and_go_projects.yml",
"playbook_file": "provisioning/with_building_ui_and_go_projects.yml",
"type": "ansible"
}
],
Expand Down
3 changes: 3 additions & 0 deletions provisioning/roles/nodejs/tasks/setup-Debian.yml
Expand Up @@ -3,12 +3,14 @@
apt: name=apt-transport-https state=present

- name: Add Nodesource apt key.
become: yes
apt_key:
url: https://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0x1655A0AB68576280
id: "68576280"
state: present

- name: Add NodeSource repositories for Node.js.
become: yes
apt_repository:
repo: "{{ item }}"
state: present
Expand All @@ -18,6 +20,7 @@
register: node_repo

- name: Update apt cache if repo was added.
become: yes
apt: update_cache=yes
when: node_repo.changed

Expand Down
14 changes: 10 additions & 4 deletions provisioning/with_building_ui_and_go_projects.yml
@@ -1,8 +1,14 @@
---
# This playbook is used for provisioning of the vagrant machine.
# All tools for compilation of the Control Plane API, Caddy Server
# and UI is setup to the vagrant machine in here.
# Additionally, Snowplow Mini environment is made ready to use locally.
# - name: Install Python
# hosts: all
# gather_facts: no

# tasks:
# - name: install python 2
# become: yes
# raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)


- name: apply all scripts
hosts: all

Expand Down

0 comments on commit 1c8f744

Please sign in to comment.