Skip to content

Commit

Permalink
just pull the key from ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
otakup0pe committed Feb 20, 2018
1 parent 684c33a commit 56123ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
language: python
python: "2.7"
dist: ubuntu1604 # apt-key no longer works on 1404
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python-apt python-pycurl
Expand Down
3 changes: 2 additions & 1 deletion tasks/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

- name: node.js | add signing key
apt_key:
url: https://deb.nodesource.com/gpgkey/nodesource.gpg.key
url: "{{nodejs_apt_key_url}}"
id: "{{nodejs_apt_key}}"
state: present

- name: node.js | add sources.list entry
Expand Down
3 changes: 3 additions & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
nodejs_apt_key_url: "https://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0x1655A0AB68576280"
nodejs_apt_key: "68576280"

0 comments on commit 56123ef

Please sign in to comment.