ansible/roles/puma/tasks/main.yml in subspace-1.0.8 vs ansible/roles/puma/tasks/main.yml in subspace-2.0.0
- old
+ new
@@ -19,9 +19,14 @@
dest: /etc/monit/conf-available/puma_{{project_name}}_{{rails_env}}
- name: Clean up old puma monit scripts
shell: rm -f /etc/monit/conf.d/puma_*
+- name: mkdir /etc/monit/conf-enabled
+ file:
+ path: /etc/monit/conf-enabled
+ state: directory
+
- name: Enable puma monit script
file:
src: /etc/monit/conf-available/puma_{{project_name}}_{{rails_env}}
dest: /etc/monit/conf-enabled/puma_{{project_name}}_{{rails_env}}
state: link