Skip to content

berttejeda/bert.tasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is a Golang rewrite of the python equivalent ansible-taskrunner.

bert.tasks is an ansible wrapper that uses an ansible playbook file to define its command-line parameters.

The command-line parameters are used to build a subprocess call to ansible-playbook.

The goal is to be able to easily define command-line parameters that translate to ansible variables.

If no playbook file is specified, the app will search for 'Taskfile.yaml' in the current working directory.

Consult the data structure of the included ansible playbook: Taskfile.yaml.

Usage Example

  • Show the help output
go run main.go --help
  • Show the help output for the run subcommand, defined in the default playbook specification Taskfile.yaml
go run main.go run --help
  • Show the help output for the run subcommand, explicitly specifying the playbook to use as input
go run main.go Taskfile.yaml run --help

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages