mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-21 11:34:15 -07:00
Factoids and push variables via setup are now available to be templated in command args
as well as template files. PLUS, variables are now expressed in playbooks without having to know about the setup task, which means playbooks are simpler to read now.
This commit is contained in:
parent
e0b1ad790c
commit
8d57ceecf1
7 changed files with 81 additions and 19 deletions
|
@ -41,6 +41,7 @@ Requirements are extremely minimal.
|
|||
If you are running python 2.6 on the 'overlord' machine, you will need:
|
||||
|
||||
* paramiko
|
||||
* python-jinja2
|
||||
* PyYAML (if using playbooks)
|
||||
|
||||
If you are running less than Python 2.6, you will also need
|
||||
|
@ -161,6 +162,9 @@ An example showing a small playbook:
|
|||
|
||||
---
|
||||
- hosts: all
|
||||
vars:
|
||||
http_port: 80
|
||||
max_clients: 200
|
||||
user: root
|
||||
tasks:
|
||||
- include: base.yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue