Skip to content

filler/ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible

This is my Ansible repo. There are many like it, but this one is mine.

Ansible is a great tool to wrap [mostly] idempotent ad-hoc tasks into code with minimal effort. This repository is contains the meat I have used in a personal capacity to get things done.

These playbooks are very opinionated. I tend to prefer CentOS 6.x, and these playbooks reflect that.

Also I eschew pain where it is unnecessary, hence the gtfo of selinux and iptables. Sorry.

Use

This originally started as the following:

I have a freshly kickstarted host sitting on the wire with root passwd login ... how can I lay a Plex config on this thing as quickly, data-driven, and idempotently as possible?

Hence this repo.

You can let these roles loose ad-hoc via an: ansible-playbook -u root -k -i 192.168.1.10, main.yml

I have tried to make things as both modular and data-driven as possible so as to promote reuse.

Roles

Role Description
selinux Mic drops selinux and reboots your host given the change.
firewall Also drops iptables to the floor.
epel Does the needful to setup EPEL as a yum repo.
base-bootstrap Wraps up errata which isnt encompassed by other playbooks, mostly just yum packages.
git-client Sets up a local git client, including caching github.com keys for root.
runit Sets up a runit instance using Ian Meyer's awesome packagecloud.io runit repo.
hostname Sets up a very opinionated hostname. :trollface:
mount Bootstraps mounting my Drobo over CIFS
plex Pulls down a versioned PlexPass RPM.
sabnzbd Clones a versioned tag from GitHub of SABnzbd code. Depends upon runit role.
sickbeard Also clones a versioned tag from GitHub of Sick-Beard code. Leveraged runit role.
couchpotato You guessed it. This role clones a versioned tag from GitHub of CouchPotato code. Supported via runit.

License and Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages