Signed-off-by: David Galloway <dgallowa@redhat.com>
- Support installation of new OpenVPN gateway from scratch
- Generate and pull (to secrets?) CA, keys, and certificates
-- Configure log rotation
.. _Sepia: https://ceph.github.io/sepia/
--- /dev/null
+/var/log/openvpn.log {
+ daily
+ size 100M
+ rotate 14
+ compress
+ missingok
+ copytruncate
+ create 644 nobody nobody
+}
name: "openvpn@{{ openvpn_server_name }}"
state: started
enabled: yes
+
+- name: Write logrotate conf file
+ copy:
+ src: files/openvpn.logrotate
+ dest: /etc/logrotate.d/openvpn