Manage your infrastructure in one place Edit
Getting Started
- Create a directory for your project:
$ mkdir myinfra && cd myinfra
- Create your
Shelterfile.rb
and define your environment:
Shelter::CLI::App.config do |c|
# All of them are optional
c.ansible_directory = 'ansible'
c.stack_directory = 'stack'
c.plugin_directory = 'plugin'
c.inventory_directory = 'inventory'
c.resource_directory = 'resources'
c.secure_root = ENV.fetch('CHEPPERS_SECURE')
end
- Create the directory structure
$ mkdir -p ansible stack plugin inventory resources/templates
- Create your first Ansible playbook:
ansible/configuration.yaml
---
- name: Ping all hosts
hosts: all
tasks:
- ping:
Documentation
Code Status
License
Shelter is released under the MIT License.