From 194c39e68d989b56ff1fb829a73b50263db5b984 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Wed, 27 Oct 2021 16:03:06 +1000 Subject: [PATCH] [apps-fp-o] uncomment out installing new yaml file enable for staging Signed-off-by: Ryan Lerch --- roles/apps-fp-o/tasks/main.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/roles/apps-fp-o/tasks/main.yml b/roles/apps-fp-o/tasks/main.yml index c1ba57a72f..d3c28dedda 100644 --- a/roles/apps-fp-o/tasks/main.yml +++ b/roles/apps-fp-o/tasks/main.yml @@ -46,13 +46,15 @@ tags: - apps-fp-o -#- name: Copy in our app data yaml -# copy: > -# src=apps.yaml dest=/usr/share/apps-fp-o/apps.yaml -# owner=root group=root mode=0644 -# notify: -# - rebuild apps-fp-o html -# - rebuild apps-fp-o json -# tags: -# - apps-fp-o - +# this was commented out, and might not be working. just turned back on +# for staging to test it out. +- name: Copy in our app data yaml + copy: > + src=apps.yaml dest=/usr/share/apps-fp-o/apps.yaml + owner=root group=root mode=0644 + when: env == 'staging + notify: + - rebuild apps-fp-o html + - rebuild apps-fp-o json + tags: + - apps-fp-o