al_ansible_package

Repository Ansible packages with mapped runtime files and AL commands.

al_ansible_package

load("@com_alwaldend_src//tools/ansible/rules:al_ansible_package.bzl", "al_ansible_package")

al_ansible_package(name, srcs, configs, plugin_labels, args, packaged_srcs, renames, srcs_name,
                   files_name, binary_visibility, **kwargs)

Package sources and expose one or more Ansible playbook commands.

PARAMETERS

NameDescriptionDefault Value
nameCommand prefix; the packaged executable is <name>_bin.none
srcsFiles to map relative to the caller’s package.none
configsAL configuration dependencies for command wrappers.[]
plugin_labelsAL plugin selectors for command wrappers.{}
argsCommand suffix to Ansible argument list, without the executable. Defaults to the inventory.yaml/playbook_deploy.yaml invocation.None
packaged_srcsMapped source groups; defaults to the files_name target.None
renamesDestination overrides for srcs.{}
srcs_nameCombined runtime source target name."srcs"
files_nameMapped source target name."srcs_files"
binary_visibilityOptional visibility for the packaged executable.None
kwargsCommon target attributes for the package and commands.none