- name: Create ssl directory ansible.builtin.file: path: /ssl state: directory mode: '0755' owner: root tags: - dir - ssl - name: Copy SSL certificate ansible.builtin.copy: src: files/{{ inventory_hostname }}/ dest: /ssl owner: root mode: '0644' tags: - files - ssl