Skip to main content

Wrapper around ansible-playbook allowing configurable tasks and permissions

Project description

ansible-deployer

However ansible is a great tool for IT infrastructure automation in certain cases it's hard to use it for the complete deployment, because of that tools like ansible-tower/AWX try to wrap it's activity making further assumptions on the way ansible code is stored (versioning repository), the way it's executed - certain combinations of inventory/playbook/tag options used to achieve specific goals. Having it in mind ansible-deployer may be treated as yet another ansible-playbook wrapper, but focused on comprehensive command line intrface and easy YAML based configuration.

Some main fatures are

  • The results of whole excution are logged and saved together with the ansible code state for potential review in the future.
  • Only one active ansible-deployer per ansible inventory is allowed, attempt to execute ansible-deployer on already locked infrastructure will be rejected.
  • Working directory is setup per every execution of ansible-deployer separately to store the code state used. This is done by site configurable hook.
  • It's possible to lock/unlock inventory (defined as --infra --stage pairs) for manual manipulation, stopping ansible-deployer from being used.

Configuration files

  • tasks.yaml - Configuration of tasks (sets of playbooks to be executed)
  • infra.yaml - Configuration of infrastructures and stages of those mapping to ansible inventory

Examples

ansible-deployer run --task updateUsers --infra webServers --stage prod

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ansible_deployer-0.0.56.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

ansible_deployer-0.0.56-py3-none-any.whl (32.4 kB view details)

Uploaded Python 3

File details

Details for the file ansible_deployer-0.0.56.tar.gz.

File metadata

  • Download URL: ansible_deployer-0.0.56.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ansible_deployer-0.0.56.tar.gz
Algorithm Hash digest
SHA256 c4a3491d033390055b9a69bf603c18f6ef5c534dcdc84ef81df0157ebb75459e
MD5 9775a067fb75ee69fcdd5f87225c9ffd
BLAKE2b-256 675a10f68e721d618e75be3f2495534589c87631d88694c2b62eac62eb0069c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for ansible_deployer-0.0.56.tar.gz:

Publisher: publish.yml on cinek810/ansible-deployer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ansible_deployer-0.0.56-py3-none-any.whl.

File metadata

File hashes

Hashes for ansible_deployer-0.0.56-py3-none-any.whl
Algorithm Hash digest
SHA256 0319c8d04bda7aad08f9005302a392b87a552ed6b9363fbf2ad9d2d882ceb195
MD5 218b8fc126a26a7ac69756dd5720ccf5
BLAKE2b-256 1bc6ee61f76c32a1b59ae76ca3c9f04dd5b9a1a5e50fc963c08901546703dc80

See more details on using hashes here.

Provenance

The following attestation bundles were made for ansible_deployer-0.0.56-py3-none-any.whl:

Publisher: publish.yml on cinek810/ansible-deployer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page