Skip to content

Commit

Permalink
Update nodejs install of Remi repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Jul 3, 2016
1 parent 2fc2dce commit a1d33a6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
1 change: 1 addition & 0 deletions nodejs/Vagrantfile
Expand Up @@ -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"]
Expand Down
17 changes: 8 additions & 9 deletions nodejs/provisioning/playbook.yml
Expand Up @@ -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
Expand Down

0 comments on commit a1d33a6

Please sign in to comment.