Commit 7ce1c502 by Diana Huang Committed by Feanil Patel

Update syntax for first available file.

parent 72802338
...@@ -48,7 +48,8 @@ ...@@ -48,7 +48,8 @@
template: template:
src: "{{ item }}" src: "{{ item }}"
dest: "/etc/security/limits.d/sandbox.conf" dest: "/etc/security/limits.d/sandbox.conf"
first_available_file: with_first_found:
-files:
- "{{ secure_dir }}/sandbox.conf.j2" - "{{ secure_dir }}/sandbox.conf.j2"
- "sandbox.conf.j2" - "sandbox.conf.j2"
...@@ -62,7 +63,8 @@ ...@@ -62,7 +63,8 @@
template: template:
src: "{{ item }}" src: "{{ item }}"
dest: "/etc/apparmor.d/edx_apparmor_sandbox" dest: "/etc/apparmor.d/edx_apparmor_sandbox"
first_available_file: with_first_found:
-files:
- "{{ secure_dir }}/files/edx_apparmor_sandbox.j2" - "{{ secure_dir }}/files/edx_apparmor_sandbox.j2"
- "usr.bin.python-sandbox.j2" - "usr.bin.python-sandbox.j2"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment