Difference between revisions of "Template:(Ansible)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
  
 +
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/template_module.html
 +
 +
<pre>
 +
- 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
 +
</pre>
  
 
== Related terms ==
 
== Related terms ==

Revision as of 13:34, 13 October 2020

Advertising: