Difference between revisions of "Ansible.builtin.set fact:"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
  [[ansible.builtin]].set_fact
 
  [[ansible.builtin]].set_fact
  
 
+
<pre>
 +
<nowiki>
 +
- name: set your var
 +
  set_fact:
 +
    you_var_name: "{{ your_var }}"
 +
  when: YOUR_ENV == "yourValue"
 +
</nowiki>
 +
</pre>
  
 
== Related terms ==
 
== Related terms ==

Revision as of 10:57, 2 December 2022

Advertising: