Skip to content

A charm that runs a playbook from a git repository against localhost

Notifications You must be signed in to change notification settings

ConsortiumGARR/ansiblecharm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This subordinate charm runs an Ansible playbook, in a git repository, against localhost.

The charm clones the git repository and runs the playbook.

The rationale behind this Charm is that:

  • the idempotency provided by Ansible seem to fit the idempotency required by Juju Charm hook implementations
  • there are several ready to go Ansible playbooks available online
  • DevOps which prefer Ansible over scripting are facilitated.

Usage

Usage example:

juju deploy cs:ubuntu
juju deploy cs:ansible simpleansible
juju config simpleansible git_repo="https://git.garr.it/clauz/simpleansible.git"
juju config simpleansible playbook_yaml="main.yaml" 
juju add-relation ubuntu ansible

Contact Information

Consortium GARR

[email protected]

About

A charm that runs a playbook from a git repository against localhost

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages