Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
timurb committed Oct 27, 2013
0 parents commit 7e48a2f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bootstrap.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This playbook sets up new server from scratch
# It should include only tasks that are required on all servers
#
---
- hosts: all
tasks:
- include: tasks/base.yml
20 changes: 20 additions & 0 deletions tasks/base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# This file sets up a base server.
# It should contain only the fixes required on all servers.
#
---
- name: update apt cache
apt: update_cache=yes

- name: remove extra packages
apt: pkg={{ item }} state=absent
with_items:
- nano

- name: install required packages
apt: pkg={{ item }} state=present
with_items:
- vim
- htop
- git
- python-keyczar # required to use accelerated mode

0 comments on commit 7e48a2f

Please sign in to comment.