<===

ProNotes

2026-04-06 14:23:45
- name: Copy local files directory to remote /tmp/pki
  hosts: all
  become: true
  tasks:
    - name: Ensure destination directory exists
      ansible.builtin.file:
        path: /tmp/pki
        state: directory
        mode: '0755'

    - name: Copy contents of local files/ to remote /tmp/pki/
      ansible.builtin.copy:
        src: files/
        dest: /tmp/pki/
        mode: preserve  
← Previous Next →
Back to list