Ansible-Util
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Ansible/Util/Run.pm view on Meta::CPAN
package Ansible::Util::Run;
$Ansible::Util::Run::VERSION = '0.001';
use Modern::Perl;
use Moose;
use namespace::autoclean;
use Kavorka 'method';
use Data::Printer alias => 'pdump';
=head1 NAME
Ansible::Util::Run
=head1 VERSION
version 0.001
=head1 SYNOPSIS
$run = Ansible::Util::Run->new;
( $stdout, $stderr, $exit ) = $run->ansiblePlaybook(playbook => $playbook);
$run = Ansible::Util::Run->new(
vaultPasswordFiles => ['secret1', 'secret2']
);
( $stdout, $stderr, $exit ) = $run->ansiblePlaybook(playbook => $playbook);
=head1 DESCRIPTION
A thin wrapper around the Ansible CLI tools.
=cut
with 'Ansible::Util::Roles::Constants';
##############################################################################
# PUBLIC ATTRIBUTES
##############################################################################
=head1 ATTRIBUTES
=head2 vaultPasswordFiles
A list of vault-password-files to pass to the command line.
=over
=item type: ArrayRef[Str]
=item required: no
=back
=cut
with
'Ansible::Util::Roles::Attr::VaultPasswordFiles',
'Util::Medley::Roles::Attributes::Spawn';
##############################################################################
# PRIVATE_ATTRIBUTES
##############################################################################
##############################################################################
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.647 second using v1.00-cache-2.02-grep-82fe00e-cpan-d29e8ade9f55 )