Ansible template module

From wikieduonline
Jump to navigation Jump to search
This article is a Draft. Help us to complete it.


- 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[edit]

See also[edit]

Advertising: