mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 03:00:23 -07:00
Mention variable for context
This commit is contained in:
parent
9951888af3
commit
315a6358b4
1 changed files with 1 additions and 0 deletions
|
@ -262,6 +262,7 @@ and allows usage of variables from anywhere in ansible, either denoted with `$do
|
||||||
pretty simple.::
|
pretty simple.::
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
|
favcolor: blue
|
||||||
is_favcolor_blue: "'$favcolor' == 'blue'"
|
is_favcolor_blue: "'$favcolor' == 'blue'"
|
||||||
is_centos: "'$facter_operatingsystem' == 'CentOS'"
|
is_centos: "'$facter_operatingsystem' == 'CentOS'"
|
||||||
tasks:
|
tasks:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue