Good day Guys

How do I got about copying files on the remote host?

My client up loads the cert in /srv, and I need ansible to copy it.

This is what I got:
  - name: copy SSL key domain.key
    command: creates="{{ ssl_cert_dir }}/domain.key" cp "{{ ssl_cert_dir 
}}/domain.key" /etc/apache2/ssl/key/
    notify:
      - restart apache2

Thanks
Brent

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/21764a2d-8af9-48dd-b18e-6c44ec409f85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to