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.57.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ansible_deployer-0.0.57-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ansible_deployer-0.0.57.tar.gz
Algorithm Hash digest
SHA256 e26e1df1dc48d808dd96d351f33d283849dca686e8d22c1f7ee02fa382b4d859
MD5 86202aa35775ae5e513b793b1d36af24
BLAKE2b-256 bd785dcf1443306bbf70c7df4053715b0b4e8e2dfdfa8281ccf9b942a877de81

See more details on using hashes here.

Provenance

The following attestation bundles were made for ansible_deployer-0.0.57.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.57-py3-none-any.whl.

File metadata

File hashes

Hashes for ansible_deployer-0.0.57-py3-none-any.whl
Algorithm Hash digest
SHA256 58778f1c4f232b9d141d569b184516b4125fa525cec5c23d05a8baacf14ee476
MD5 23b906a15d68f230fd0f68e94a6bf882
BLAKE2b-256 df2d6d15e72229d79d61e364d85eaa40adca4760cae05a5a4321ca16ea9902c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ansible_deployer-0.0.57-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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page