Difference between revisions of "Ansible.builtin.set fact:"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
* <code>[[gather_facts:]]</code> | * <code>[[gather_facts:]]</code> | ||
* <code>set_fact:</code> | * <code>set_fact:</code> | ||
+ | * <code>[[with.items]]</code> | ||
== See also == | == See also == |
Revision as of 16:46, 20 December 2022
ansible.builtin.set_fact
- name: set your var set_fact: you_var_name: "{{ your_var }}" when: YOUR_ENV == "yourValue"
Related terms
gather_facts:
set_fact:
with.items
See also
- Ansible modules:
gather_facts, set_fact
,ansible.builtin.file
,lineinfile
,stat
,group
,mount
,git:
,package:
,command:
,shell:
,raw:
,template:
,register:
,user:
, Ansible playbooks examples,tasks:
,lineinfile, blockinfile:
,shell:
,command:
,raw:
,ansible.builtin.file, service:, aws.ecs_taskdefinition, aws.asg, docker_container, kubernetes.core.k8s
,community.
,include_tasks
Advertising: