ansiblede bug

ansiblede bug

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2020 Jan 15 5:38
Editor
Edited
Edited
2023 Oct 15 3:36
Refs
Refs
 

Function -

 
 
  • example 1
- name: Display all variables/facts known for a host debug: var: hostvars[inventory_hostname] verbosity: 4

register

- name: Write some content in a file /tmp/foo.txt copy: dest: /tmp/foo.txt content: | Good Morning! Awesome sunshine today. register: display_file_content - name: Debug display_file_content debug: var: display_file_content verbosity: 2
 
 
 
 
 

Recommendations