Permalink
Browse files

Update nodejs install of Remi repo.

  • Loading branch information...
1 parent 2fc2dce commit a1d33a6027891d0f4823bf5cfdca45b97e4259cc @geerlingguy committed Jul 3, 2016
Showing with 9 additions and 9 deletions.
  1. +1 −0 nodejs/Vagrantfile
  2. +8 −9 nodejs/provisioning/playbook.yml
View
@@ -7,6 +7,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "geerlingguy/centos7"
config.vm.network :private_network, ip: "192.168.55.55"
config.ssh.insert_key = false
+ config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "256"]
@@ -6,16 +6,15 @@
node_apps_location: /usr/local/opt/node
tasks:
- - name: Import Remi GPG key.
- rpm_key: "key={{ item }} state=present"
- with_items:
- - "http://rpms.famillecollet.com/RPM-GPG-KEY-remi"
-
- name: Install Remi repo.
- command: "rpm -Uvh --force {{ item.href }} creates={{ item.creates }}"
- with_items:
- - href: "http://rpms.famillecollet.com/enterprise/remi-release-6.rpm"
- creates: "/etc/yum.repos.d/remi.repo"
+ yum:
+ name: "http://rpms.remirepo.net/enterprise/remi-release-7.rpm"
+ state: present
+
+ - name: Import Remi GPG key.
+ rpm_key:
+ key: "http://rpms.remirepo.net/RPM-GPG-KEY-remi"
+ state: present
- name: Install EPEL repo.
yum: name=epel-release state=present

0 comments on commit a1d33a6

Please sign in to comment.