ansible-apply: apply remote tasks, supports command line inventory
Project description
Ansible-apply takes the tasks file spec as first argument:
ansible-apply role.name ansible-apply role.name/some_tasks ansible-apply https://some/playbook.yml ansible-apply ./playbook.yml
It will automatically download the playbook or role if not found.
Then, the command takes any number of hosts and inventory variables on the command line:
ansible-apply role.name server1 server2 update=true
Finnaly, any argument passed with dashes are forwarded to the ansible-playbook command it generates, but named args must use the = notation, and not a space to not confuse the command line parser:
# works: ansible-apply role.name server2 update=true --become-user=root # does not: ansible-apply role.name server2 update=true --become-user root
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
bigsudo-0.1.2.post12.tar.gz
(1.6 kB
view details)
File details
Details for the file bigsudo-0.1.2.post12.tar.gz
.
File metadata
- Download URL: bigsudo-0.1.2.post12.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 220a73fff85a784bf2c94d4cdc054d9bb070391492047db22c6c6ac6048b361c |
|
MD5 | 09d5259fcde13eb586db3832ad32dd17 |
|
BLAKE2b-256 | 2d7e88278088033ad22463e22b6b73c89b78dfbaebd0c7392b26e1cf6fb70755 |