Difference between revisions of "Template:(Ansible)"

From wikieduonline
Jump to navigation Jump to search
(Redirected page to Ansible template module)
Tag: New redirect
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Draft}}
+
#redirect [[Ansible template module]]
 
 
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/template_module.html
 
 
 
 
 
- name: Template a file, using symbolic modes (equivalent to 0644)
 
  template:
 
    src: /mytemplates/foo.[[j2]]
 
    dest: /etc/file.conf
 
    owner: bin
 
    group: wheel
 
    mode: u=rw,g=r,o=r
 
 
 
== Related terms ==
 
* <code>[[include]]:</code> (Ansible)
 
* [[template (Zabbix)]]
 
* <code>[[register]]</code> module
 
* <code>[[lineinfile]]</code> module
 
 
 
== See also ==
 
* {{Ansible modules}}
 
* {{Ansible}}
 
 
 
 
 
[[Category:Ansible]]
 

Latest revision as of 14:45, 11 October 2022

Advertising: