• Stars
    star
    118
  • Rank 299,923 (Top 6 %)
  • Language
    Shell
  • Created over 12 years ago
  • Updated almost 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Ansible playbooks for use in setting up servers.

Server Playbooks

A collection of Ansible playbooks for use in setting up various servers. Playbooks are a series of configuration steps and specifications for how the server should be configured.

Executing the playbooks

Setup Ansible

Playbooks require Ansible to execute them. It's really easy to setup, and you can choose between running it on the same machine you're configuring, or a remote machine. For a remote machine, all Ansible needs is the ability to establish an SSH connection to it.

Generally, if you're looking for a quick time-saver for a one-time build of a server, then you should set up Ansible and execute the playbook on the target server. If you're a more serious server administrator who wants to maintain clusters of machines, you should setup Ansible on a separate controller machine or your personal machine.

You may refer to the setup guide on the Ansible homepage, however here are the steps for setting it up on Ubuntu and immediately configuring it to use localhost as the target server, the simplest configuration option:

sudo aptitude -y install git python-jinja2 python-yaml python-paramiko python-software-properties
add-apt-repository ppa:rquillo/ansible
aptitude update
aptitude install ansible
echo "localhost" > /etc/ansible/hosts

You can now test by typing:

ansible -c local -m ping all

You should see:

localhost | success >> {
  "module": "ping",
  "ping": "pong
}

Run the play

The plays are organized into directories, so for example, ubuntu-12.04-lamp-dev contains all the settings and configuration for the Ubuntu 12.04 LAMP Dev server build.

You must copy the vars/default-settings.yml file to the base folder of the play, and then edit it with your specific requirements. It's really easy to understand and contains all the configuration that will be customized from the default Ubuntu package setting.

cd ubuntu-12.04-lamp-dev
cp ./vars/settings-default.yml ./settings.yml

You have some options when executing a play. For example, you may want a LAMP server but not drush or an ftp server. The parts of the play that setup these optional packages are tagged as such.

By executing the following, it will setup only the commonly used components:

ansible-playbook -c local --tags="common" ./setup.yml

You can add drush and ftp by doing:

ansible-playbook -c local --tags="common,drush,ftp" ./setup.yml

Conventions used in playbooks

  • The setup.yml file contains the main sequence of actions and tasks.
  • When a configuration file is introduced by the playbook, i.e. isn't a pre-existing one, it's found in the files subdirectory and is transferred using the 'copy' action.
  • Files that already exist on the server, that we are modifying, are found in templates and have Jinja2-style variable substitution. They are transferred using Ansible's 'template' action.
  • Every value in a configuration file that is modified from the default will contain a variable substitution, so you know that looking in the vars/settings-default.yml file will give you a complete overview of all the configuration that is modified from the server package default.

More Repositories

1

emulsify

DEPRECATED (see README for new version)
JavaScript
163
star
2

frontend-perf

The repository for the Frontend Performance training
HTML
147
star
3

czdap-tools

Tools for downloading zone data and authentication credentials from ICANN's CZDS application.
Python
123
star
4

saucier

A Node.JS framework for helping you build headless Drupal websites.
JavaScript
78
star
5

hipchat-emoticons

Emoji for 4K HipChat
29
star
6

jekyll-schedule

Jekyll-powered event schedule β€” rapidly build and manage a schedule for your multi-day, multi-track conference or event.
Ruby
27
star
7

train-headless

Headless Drupal Training
PHP
21
star
8

emulsify-gulp

Gulp setup to be used with https://github.com/fourkitchens/emulsify
JavaScript
19
star
9

dca2013

Website for DrupalCamp Austin 2013. June 21-23 at the Austin Convention Center.
CSS
18
star
10

pantheon-tools

Tools to run actions against a Pantheon site
Shell
16
star
11

advanced-rwd

Training material for Advanced RWD with Sass+Compass.
CSS
14
star
12

kss-with-drupal

Exploration of KSS, Drupal, and Component-driven design
HTML
13
star
13

sous-drupal-project

A starter project for Sous a Drupal distribution with a theme based on Emulsify Design System
Shell
12
star
14

waterwheel-training

Resources + Code examples for the 4K Waterwheel training
JavaScript
10
star
15

example-acquia-8-composer

Continuous Integration with Circle CI for Acquia using Drupal 8
PHP
9
star
16

annotated-vr-tour

πŸ•Άβœ¨ A React VR + JSON API powered annotated tour frontend
HTML
8
star
17

Magnetic-Poetry

A Drupal based magnetic poetry web app.
JavaScript
8
star
18

aframe-boilerplate

Very simple take on how A-Frame applications should be structured. πŸ‘“ 😲
JavaScript
8
star
19

headless-framework

Headless Drupal Framework
JavaScript
7
star
20

aerate

πŸš€ Aerate: Frontend performance made easy.
JavaScript
7
star
21

example-acquia-8-composer-circle2

PHP
6
star
22

resteasy

Example files and features for the resteasy blog series
PHP
6
star
23

el-ocp-style

Style guide for the EL Online Common Core Success
CSS
6
star
24

sous-drupal-distro

A base Drupal distribution profile with a theme based on Emulsify Design System
CSS
6
star
25

consultancy-scrum

Four Kitchen's guide to scrum for consultancies
HTML
6
star
26

scrummy-react-dom

♠️♣️β™₯️♦️
JavaScript
5
star
27

jenkins-theme

theming assets for the new Jenkins interface
5
star
28

js-practice-group

JavaScript practice group. Keep it πŸ’―
5
star
29

train-rwd

Training: Responsive web design
PHP
5
star
30

4K-AR

An exploration of creating and manipulating objects with ARKit – pop it into Xcode 9 and give it a try on your iOS 11 devices!
Swift
4
star
31

Or-Bust

Displays scanned 3D busts in ARKit
Swift
4
star
32

reactvr-example

A simple React VR example. πŸ‘“ 😲
JavaScript
4
star
33

dev2-playbooks

Ansible playbooks for use in setting up dev2.
Shell
4
star
34

drupalcon-2017-webvr-demo

WebVR DrupalCon 2017 Demo πŸ‘“ 😲
JavaScript
4
star
35

emulsify-gatsby-theme-jam

🎨 DEPRECATED: See https://github.com/fourkitchens/gatsby-theme-emulsify
JavaScript
4
star
36

dca2011-cod7

Website for Drupal Camp Austin 2011
PHP
3
star
37

eslint-config-and-other-formatting

Four Kitchens' preferred linting and formatting standards
JavaScript
3
star
38

adv-rwd-with-sass

RWD training
CSS
3
star
39

pressflow.org

Pressflow website
PHP
3
star
40

m1-apple-config

Homebrew config for Apple M1 chip
Shell
3
star
41

careers

CSS
2
star
42

4ktopo

Search topodesigns.com bags for a Four Kitchens branded bag or pack. πŸ’€ Decommissioned πŸ’€
JavaScript
2
star
43

bot

Public repository for bot.fourkitchens.com
PHP
2
star
44

project-gulp

JavaScript
2
star
45

scrummy-server

♠️♣️β™₯️♦️
JavaScript
2
star
46

Video-Recorder

Video Recorder sandbox
JavaScript
2
star
47

computer-science

Repository containing coding exercises around algorithms, data structures, and computer science.
TypeScript
2
star
48

dcon2018-searchapi-solr

A Drupal 8 install and example set-up for Deliver a more robust search with Search API and Solr
PHP
2
star
49

fk-panopoly-demo

A demo that bundles together Panoply and Aurora
PHP
2
star
50

emulsify-example

A basic views example displaying a gallery
PHP
2
star
51

drupal-day-austin

Drupal Day Austin 2012 website
JavaScript
2
star
52

babel-plugin-drupal-behaviors

JavaScript
2
star
53

csumb-style-guide

Style guide for the new CSUMB
CSS
1
star
54

crowd.work

Crowd Work
JavaScript
1
star
55

worldpulse-style-tiles

Style tiles for the new worldpulse.com
CSS
1
star
56

trainingwheels-drupal-files-example

An example of the repo that Training Wheels expects to deploy.
PHP
1
star
57

gltf-converter

JavaScript
1
star
58

saucier-get

Saucier Get
JavaScript
1
star
59

graphql-poc

Proof-of-concept application that consumes data from a variety of sources, and exposes the data in a unified GraphQL API
TypeScript
1
star
60

osf-prototype

Mobile prototype for Open Society Foundations
CSS
1
star
61

drupo-presentation

JavaScript
1
star
62

zygote

1
star
63

content-maturity-quiz

JavaScript
1
star
64

semver

An example semantically released project
1
star
65

kitchen-sink

Development server used for local development, staging sites and hosting trainings.
Shell
1
star
66

train-rwd-badcamp-2011

A snapshot of the Four Kitchens responsive web design training environment for BADCamp 2011
PHP
1
star
67

2009.drupalcampaustin.com

PHP
1
star
68

readmes

default readme pieces
1
star
69

dca2013-splash

DrupalCamp Austin 2013
JavaScript
1
star
70

norfps

Website for the No RFPs movement
JavaScript
1
star
71

upsert_queue

Provides a Drupal 8 queue service that performs an upsert on existing queue items rather a redundant insert.
PHP
1
star
72

search-api-pantheon-3185736

https://www.drupal.org/project/search_api_pantheon/issues/3185736 http://dev-search-api-pantheon-3185736.pantheonsite.io/
PHP
1
star
73

webvr-lp

FourKitchens.com WebVR Landing Page
JavaScript
1
star
74

magpo-d7

Magnetic Poetry Drupal Side
PHP
1
star
75

uxnavigation

Testing ground for exploring the UX of navigation patterns
JavaScript
1
star
76

worldpulse-style-guide

Style guide for the new worldpulse.com
CSS
1
star
77

access-restricted

Landing page for webchefs.org
JavaScript
1
star
78

dca2011-splash

DrupalCamp Austin 2011: Splash page
JavaScript
1
star
79

worldpulse-prototype

World Pulse prototype
CSS
1
star
80

drupal-6

Drupal 6
PHP
1
star
81

local-webapp

Prototyping a localStorage-enabled webapp. For science.
JavaScript
1
star
82

waterwheel-drupal

Drupal Installation for 4K Waterwheel Training
PHP
1
star
83

sous-builder

A builder module for Sous.
1
star
84

pots

Continuous Integration scripts for Drupal sites. Formerly Project CI.
Shell
1
star
85

dropai

Transform Drupal websites into AI-powered platforms
PHP
1
star
86

recipe-cookoff

A starting place to learn and explore Drupal recipes together.
PHP
1
star
87

drupal-chef-bot

A slackbot for the Drupal slack workspace
PHP
1
star