diff --git a/Vagrantfile b/Vagrantfile index 9a08cf2..f25da5f 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -59,7 +59,6 @@ Vagrant.configure(2) do |config| ansible.playbook = "ansible/site.yml" ansible.limit = "all" ansible.verbose = "v" - ansible.validate_certs=false end config.vm.post_up_message = "Browse to http://isso-dev.local/demo/index.html to start." diff --git a/ansible/site.yml b/ansible/site.yml index 7304364..dc97f7b 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -5,6 +5,11 @@ sudo: true tasks: + - name: Import the NodeSource GPG key into apt + apt_key: + id: 68576280 + url: "https://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0x1655A0AB68576280" + - name: Apt | Add nodesource keys apt_key: url=https://deb.nodesource.com/gpgkey/nodesource.gpg.key state=present