File tree 2 files changed +21
-6
lines changed
2 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
My Linux environment configuration. Also has some Windows stuff using Chocolatey.
4
4
5
- Includes a number of Ansible roles to configure an Ubuntu 16.04 machine (for now).
5
+ Includes a number of Ansible roles to configure an Ubuntu machine.
6
+
7
+
8
+ ## Creating the Ubuntu machine with Vagrant
9
+
10
+ 1 . Install vagrant
11
+ 2 . Install the vbguest plugin with ` vagrant plugin install vagrant-vbguest `
12
+ 3 . ` vagrant up `
13
+ 4 . Wait awhile
14
+ 5 . Run ansible once the machine is up on the guest with
15
+
16
+ ``` sh
17
+ cd ansible
18
+ ansible-galaxy install -r requirements.yml
19
+ ansible-playbook -i localhost playbooks/main.yml
20
+ ```
Original file line number Diff line number Diff line change 2
2
# vi: set ft=ruby :
3
3
4
4
Vagrant . configure ( 2 ) do |config |
5
- config . vm . box = "bento/ubuntu-16.04 "
5
+ config . vm . box = "bento/ubuntu-17.10 "
6
6
config . vm . provider :virtualbox do |vb |
7
7
vb . memory = 4024
8
8
vb . gui = true
9
- vb . name = "Ubuntu 16.04 64-bit"
9
+ vb . name = "Ubuntu 17.10 64-bit"
10
10
11
11
# modifyvm
12
12
vb . customize [
@@ -33,11 +33,11 @@ Vagrant.configure(2) do |config|
33
33
34
34
# Install essentials
35
35
config . vm . provision "shell" , inline : <<-SHELL
36
- sudo apt -y update
36
+ sudo apt-get -y update && sudo apt-get -y upgrade
37
37
38
- sudo apt -y install linux-headers-generic build-essential dkms vim git unzip zsh \
38
+ sudo apt-get -y install linux-headers-generic build-essential dkms vim git unzip zsh \
39
39
virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11 \
40
- python-pip
40
+ python-pip ansible
41
41
42
42
SHELL
43
43
You can’t perform that action at this time.
0 commit comments