ansibleplaybook-cobra-cmd

command
v2.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 10 Imported by: 0

README

Example ansibleplaybook-cobra-cmd

$ go run ansibleplaybook-cobra-cmd.go --connection-local  --playbook site.yml --inventory 127.0.0.1, --extra-var example="Hi! There"
cobra-cmd-ansibleplaybook example ──
cobra-cmd-ansibleplaybook example ── PLAY [all] *********************************************************************
cobra-cmd-ansibleplaybook example ──
cobra-cmd-ansibleplaybook example ── TASK [Gathering Facts] *********************************************************
cobra-cmd-ansibleplaybook example ── ok: [127.0.0.1]
cobra-cmd-ansibleplaybook example ──
cobra-cmd-ansibleplaybook example ── TASK [ansibleplaybook-cobra-cmd] ***********************************************
cobra-cmd-ansibleplaybook example ── ok: [127.0.0.1] => {
cobra-cmd-ansibleplaybook example ──     "msg": "Your are running 'ansibleplaybook-cobra-cmd' example"
cobra-cmd-ansibleplaybook example ── }
cobra-cmd-ansibleplaybook example ──
cobra-cmd-ansibleplaybook example ── TASK [Print extra variable 'example'] ******************************************
cobra-cmd-ansibleplaybook example ── ok: [127.0.0.1] => {
cobra-cmd-ansibleplaybook example ──     "msg": "Example value is Hi! There"
cobra-cmd-ansibleplaybook example ── }
cobra-cmd-ansibleplaybook example ──
cobra-cmd-ansibleplaybook example ── PLAY RECAP *********************************************************************
cobra-cmd-ansibleplaybook example ── 127.0.0.1                  : ok=3    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0
cobra-cmd-ansibleplaybook example ──

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL