"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/ansible/modules/set_fact.py" between
ansible-2.14.0.tar.gz and ansible-2.14.1rc1.tar.gz

About: Ansible is an IT Configuration Management, Deployment & Orchestration tool.
Release candidate.

set_fact.py  (ansible-2.14.0):set_fact.py  (ansible-2.14.1rc1)
skipping to change at line 17 skipping to change at line 17
__metaclass__ = type __metaclass__ = type
DOCUMENTATION = r''' DOCUMENTATION = r'''
--- ---
module: set_fact module: set_fact
short_description: Set host variable(s) and fact(s). short_description: Set host variable(s) and fact(s).
version_added: "1.2" version_added: "1.2"
description: description:
- This action allows setting variables associated to the current host. - This action allows setting variables associated to the current host.
- These variables will be available to subsequent plays during an ansible-pl aybook run via the host they were set on. - These variables will be available to subsequent plays during an ansible-pl aybook run via the host they were set on.
- Set C(cacheable) to C(yes) to save variables across executions using a fac t cache. - Set C(cacheable) to C(true) to save variables across executions using a fa ct cache.
Variables will keep the set_fact precedence for the current run, but will used 'cached fact' precedence for subsequent ones. Variables will keep the set_fact precedence for the current run, but will used 'cached fact' precedence for subsequent ones.
- Per the standard Ansible variable precedence rules, other types of variabl es have a higher priority, so this value may be overridden. - Per the standard Ansible variable precedence rules, other types of variabl es have a higher priority, so this value may be overridden.
options: options:
key_value: key_value:
description: description:
- "The C(set_fact) module takes C(key=value) pairs or C(key: value) (YAML notation) as variables to set in the playbook scope. - "The C(set_fact) module takes C(key=value) pairs or C(key: value) (YAML notation) as variables to set in the playbook scope.
The 'key' is the resulting variable name and the value is, of course, th e value of said variable." The 'key' is the resulting variable name and the value is, of course, th e value of said variable."
- You can create multiple variables at once, by supplying multiple pairs, but do NOT mix notations. - You can create multiple variables at once, by supplying multiple pairs, but do NOT mix notations.
required: true required: true
cacheable: cacheable:
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)