From 52a3e93cac8ac991e4297e8e447edb844b17b97e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miles=20St=C3=B6tzner?= Date: Sat, 15 Jul 2023 02:24:50 +0200 Subject: [PATCH] fix community plan --- examples/unfurl-artifacts/lib/os_vm.yaml | 2 +- examples/unfurl-artifacts/lib/shop_app.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/unfurl-artifacts/lib/os_vm.yaml b/examples/unfurl-artifacts/lib/os_vm.yaml index 79ac46db25..e12d6de840 100644 --- a/examples/unfurl-artifacts/lib/os_vm.yaml +++ b/examples/unfurl-artifacts/lib/os_vm.yaml @@ -59,7 +59,7 @@ node_types: delete: defaults: outputs: - public_ip: public_address + public_ip: public_ip public_address: public_address inputs: tfvars: | diff --git a/examples/unfurl-artifacts/lib/shop_app.yaml b/examples/unfurl-artifacts/lib/shop_app.yaml index 4cba3f3814..de4d1c10c7 100644 --- a/examples/unfurl-artifacts/lib/shop_app.yaml +++ b/examples/unfurl-artifacts/lib/shop_app.yaml @@ -240,11 +240,13 @@ node_types: file: path: '/etc/systemd/system/{{ SELF.application_name }}.service' state: absent + become: true when: SELF.deployment_mode == "OS" - name: Reload daemon systemd: daemon_reload: true + become: true when: SELF.deployment_mode == "OS" - name: delete application directory