Skip to content

Commit 003b3dc

Browse files
committed
Merge pull request #3 from reactivepixel/master
Unify Trusty64 (resolves issue #2)
2 parents 9b8880d + 82140fe commit 003b3dc

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ I'm currently retrieving Ansible from git, as well as the `dopy` module for Digi
4040
```
4141
git clone https://github.com/jbinto/ansible-ubuntu-rails-server.git
4242
cd ansible-ubuntu-rails-server
43+
brew install python
44+
sudo easy_install pip
4345
sudo pip install -r requirements.txt
4446
```
4547

@@ -81,7 +83,7 @@ gem install tugboat
8183
tugboat authorize
8284
```
8385

84-
Edit `./vars/digitalocean.yml`.
86+
Edit `./vars/digitalocean.yml`.
8587

8688
* Note that `hostname` must be a real FQDN you own, and the DNS must be pointing to DigitalOcean.
8789
* You can use `tugboat` to acquire the magic numbers needed for region/image/size IDs.
@@ -142,7 +144,7 @@ Note that after the first run, `root` will no longer be able to log in. To run t
142144
# clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
143145
```
144146

145-
Run:
147+
Run:
146148

147149
```
148150
echo "ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future" >> ~/.zshrc

Vagrantfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
VAGRANTFILE_API_VERSION = "2"
55

66
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
7-
7+
88
config.vm.define :web do |web|
9-
web.vm.box = "precise64"
10-
web.vm.box_url = "http://files.vagrantup.com/precise64.box"
9+
web.vm.box = "trusty64"
10+
web.vm.box_url = "http://files.vagrantup.com/trusty64.box"
1111
web.vm.network :private_network, ip: "10.33.33.33"
1212
web.vm.network :forwarded_port, guest: 80, host: 8080
1313

roles/postgresql/tasks/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
- python-psycopg2
3939

4040
- name: Copy valid pg_hba.conf
41-
template: src=pg_hba.conf.j2 dest=/etc/postgresql/9.3/main/pg_hba.conf
41+
template: src=pg_hba.conf.j2 dest=/etc/postgresql/9.4/main/pg_hba.conf
4242
sudo: yes
4343

4444
- name: Restart PostgreSQL
4545
# NOTE: If conf files were updated here, need to FORCE a RESTART!
4646
service: name=postgresql state=started
47-
sudo: yes
47+
sudo: yes

0 commit comments

Comments
 (0)