Answers for "ansible copy"

0

ansible copy

- name: Copy in config file for RHEL
  copy:
    src: './files/rhel/syslog'
    dest: '/etc/logrotate.d/'
    owner: root
    group: root
    mode: '0600'
  when:
    - ansible_facts['distribution'] == 'RedHat'
  become: yes
Posted by: Guest on May-26-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language