Difference between revisions of "Ansible variables"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
* <code>[[vars:]]</code> | * <code>[[vars:]]</code> | ||
* [[Ansible print and debug examples]] | * [[Ansible print and debug examples]] | ||
+ | * [[Msg: The task includes an option with an undefined variable.]] | ||
== See also == | == See also == |
Revision as of 15:25, 11 August 2022
Creating a variable:
your_new_variable: your_new_var_value
- name: Execute a command ansible.builtin.command: "false" debugger: on_failed
Related
See also
- Ansible: modules, plugins, Playbooks (examples)
ansible-playbook
,ansible-vault
,ansible-inventory
,ansible-config
, Ansible Tower, Ansible Galaxy (Roles) (ansible-galaxy
),ansible-cmdb
,gather facts
,ansible.cfg
,Ansible Molecule
, Ansible collections,register
,template
,--ask-pass
,--ask-become-pass
,remote_user:
,/etc/ansible/hosts
,ansible-doc
,ansible-lint
,.ansible/
,--forks
,--start-at-task
,changelog
,inventory
,Notify:
,ansible HOSTNAME -m ping
,gathering
,/usr/bin/ansible
,ansible -m ping
,ansible.builtin
,hosts: (Ansible)
,set fact:
,when:
,blockinfile:
,become method:
,include:
,git:
, AWX,ansible --help
, Tags, Ansible variables, versions
Advertising: