Remove references to Ubuntu for requirements

Now I am doing most of the work on Debian boxes.

Signed-off-by: Alan Orth <>
This commit is contained in:
Alan Orth 2015-09-26 23:35:12 +03:00
parent f16b143eac
commit 295a9b4924
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 1 additions and 105 deletions

View File

@ -5,7 +5,7 @@ Ansible playbook for base and initial configuration of web server hosting my per
## Assumptions
Before you can run this, a few things are assumed:
- You have a clean, minimal Ubuntu 14.04 host up and running
- You have a clean, minimal Debian 8 host up and running
- You have a user account with password-less SSH access to the machine
- You have sudo privileges on the remote host
- You have created a `hosts` file with something like:
@ -20,24 +20,6 @@ Once you've satisfied the the above assumptions, you can execute:
$ ansible-playbook web.yml -i hosts -K
## Testing in a VM (KVM)
A simple way to test locally in a virtual machine using libvirt + KVM:
$ sudo virt-install -n web01 -r 1024 --vcpus 2 \
-l \
--os-type=linux --os-variant=ubuntusaucy \
--disk /var/lib/libvirt/images/web01.qcow2,device=disk,bus=virtio,format=qcow2,size=40 \
--vnc --cpuset=1,2 -x "auto=true priority=critical url="
This boots from a network Ubuntu mirror, then uses a preseed to automate the OS installation.
## Testing in Vagrant
Not as simple as on GNU/Linux with KVM, but still easy:
$ vagrant up
A new VirtualBox VM will come up with the IP ``.
## License
Copyright (C) 2014 - 2015 Alan Orth

Vagrantfile vendored
View File

@ -1,86 +0,0 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# Every Vagrant development environment requires a box. You can search for
# boxes at = "ubuntu/vivid64"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# "forwarded_port", guest: 80, host: 8080
# Create a private network, which allows host-only access to the machine
# using a specific IP. "private_network", ip: ""
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network. "public_network"
# If true, then any SSH connections made will enable agent forwarding.
# Default value: false
# config.ssh.forward_agent = true
# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
# config.vm.synced_folder "../data", "/vagrant_data"
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
config.vm.provider "virtualbox" do |vb|
# Don't boot with headless mode
#vb.gui = true
# Use VBoxManage to customize the VM. For example to change memory:
vb.customize ["modifyvm", :id, "--memory", "1024"]
# View the documentation for the provider you're using for more
# information on available options.
# Enable provisioning with CFEngine. CFEngine Community packages are
# automatically installed. For example, configure the host as a
# policy server and optionally a policy file to run:
# # Customize the amount of memory on the VM:
# vb.memory = "1024"
# end
# View the documentation for the provider you are using for more
# information on available options.
# Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
# such as FTP and Heroku are also available. See the documentation at
# for more information.
# config.push.define "atlas" do |push|
# end
# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
# config.vm.provision "shell", inline: <<-SHELL
# sudo apt-get update
# sudo apt-get install -y apache2