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…
Reference in a new issue