43 lines
1.9 KiB
Plaintext
43 lines
1.9 KiB
Plaintext
|
|
PLAY [Hallo Welt ausgeben] *****************************************************
|
|
|
|
TASK [Gathering Facts] *********************************************************
|
|
ok: [localhost]
|
|
|
|
TASK [Hallo Welt ausgeben] *****************************************************
|
|
ok: [localhost] => {
|
|
"msg": "Hallo man-dan-05! Die Uhrzeit ist 2026-07-17T14:32:14Z"
|
|
}
|
|
|
|
TASK [Uhrzeit ausgeben] ********************************************************
|
|
ok: [localhost] => {
|
|
"msg": "Die Uhrzeit ist 2026-07-17T14:32:14Z"
|
|
}
|
|
|
|
PLAY RECAP *********************************************************************
|
|
localhost : ok=3 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
|
|
|
|
[WARNING]: No inventory was parsed, only implicit localhost is available
|
|
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
|
|
[WARNING]: Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.
|
|
[DEPRECATION WARNING]: INJECT_FACTS_AS_VARS default to `True` is deprecated, top-level facts will not be auto injected after the change. This feature will be removed from ansible-core version 2.24.
|
|
Origin: /home/jonnybravo/test_ansible/playbooks/hello_world.yml:9:12
|
|
|
|
7 - name: Hallo Welt ausgeben
|
|
8 debug:
|
|
9 msg: "Hallo {{ ansible_hostname }}! Die Uhrzeit ist {{ ansible_date_time.iso8601 }}"
|
|
^ column 12
|
|
|
|
Use `ansible_facts["fact_name"]` (no `ansible_` prefix) instead.
|
|
|
|
[DEPRECATION WARNING]: INJECT_FACTS_AS_VARS default to `True` is deprecated, top-level facts will not be auto injected after the change. This feature will be removed from ansible-core version 2.24.
|
|
Origin: /home/jonnybravo/test_ansible/playbooks/hello_world.yml:13:12
|
|
|
|
11 - name: Uhrzeit ausgeben
|
|
12 debug:
|
|
13 msg: "Die Uhrzeit ist {{ ansible_date_time.iso8601 }}"
|
|
^ column 12
|
|
|
|
Use `ansible_facts["fact_name"]` (no `ansible_` prefix) instead.
|
|
|