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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ansible_deployer-0.0.50.tar.gz
.
File metadata
- Download URL: ansible_deployer-0.0.50.tar.gz
- Upload date:
- Size: 26.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c166bb06808aedbee5dcfc6f37265cac03722a31dd3777f5d262c031796a7772 |
|
MD5 | a5d19cd0b9b960d00ad387e0dd772675 |
|
BLAKE2b-256 | 95f14800d51a3605c4e41b32ce5247fef86a0f9922de895f42886a6839ef53a5 |
Provenance
The following attestation bundles were made for ansible_deployer-0.0.50.tar.gz
:
Publisher:
publish.yml
on cinek810/ansible-deployer
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
ansible_deployer-0.0.50.tar.gz
- Subject digest:
c166bb06808aedbee5dcfc6f37265cac03722a31dd3777f5d262c031796a7772
- Sigstore transparency entry: 150520983
- Sigstore integration time:
- Predicate type:
File details
Details for the file ansible_deployer-0.0.50-py3-none-any.whl
.
File metadata
- Download URL: ansible_deployer-0.0.50-py3-none-any.whl
- Upload date:
- Size: 31.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94855f8260cf1d57481e6f354ed57391bf9e475c67d5aef02ef91a408d5abb39 |
|
MD5 | 314ef07714e912280fbf44842b981ee9 |
|
BLAKE2b-256 | 8abcf950887e956e9d45ba930bf1b1eae5595fee87c2c40a331417a2215d6e82 |
Provenance
The following attestation bundles were made for ansible_deployer-0.0.50-py3-none-any.whl
:
Publisher:
publish.yml
on cinek810/ansible-deployer
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
ansible_deployer-0.0.50-py3-none-any.whl
- Subject digest:
94855f8260cf1d57481e6f354ed57391bf9e475c67d5aef02ef91a408d5abb39
- Sigstore transparency entry: 150520987
- Sigstore integration time:
- Predicate type: