Skip to content

jschulthess/ansible-scaffold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-scaffold

Basic Ansible files for running a playbook

Introduction

Ansible is great for quickly creating a playbook or to run some ad-hoc commands. Most of the time this needs some minimal files to locally define Ansible default, and inventory or similar scaffold.

This repository contains scaffold files with options that might be helpful to get up and running quickly.

Usage

  1. Clone the repository, eg.

    git clone https://github.com/jschulthess/ansible-scaffold
    
  2. run ansible commands from within the clone directory, eg.

    cd ansible-scaffold
    ansible-playbook pb-hello.yml
    

Note: In case you add more hosts to the inventory Ansible can easily be limited to a host or host group using the -l switch.

  ```
  ansible-playbook -l local pb-hello.yml
  ```

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published