From 627a4658b35f3be16d2c6f355bbc43cd74d85c17 Mon Sep 17 00:00:00 2001 From: Eesaan Atluri <atlurie@uab.edu> Date: Tue, 6 May 2025 20:14:22 -0400 Subject: [PATCH] feat: Create a missing directory in the path --- ansible/roles/ood_config/tasks/main.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ansible/roles/ood_config/tasks/main.yml b/ansible/roles/ood_config/tasks/main.yml index 7e2949e..75d140e 100644 --- a/ansible/roles/ood_config/tasks/main.yml +++ b/ansible/roles/ood_config/tasks/main.yml @@ -7,7 +7,13 @@ - name: Download patched shell app with shell timeout fix ansible.builtin.get_url: url: https://s3.lts.rc.uab.edu/ood-proxy-file/ood-proxy.conf - dest: /var/www/ood/apps/sys/shell/app.js + dest: /var/www/ood/apps/sys/shell/app.js + +- name: Create a directory if it does not exist + ansible.builtin.file: + path: /etc/ood/config/apps/shell + state: directory + mode: "0755" - name: Shell app configuration env ansible.builtin.template: @@ -25,4 +31,3 @@ ansible.builtin.service: name: httpd24-httpd state: restarted - -- GitLab