From 5cb080247b7cbc2fdf7053e75c5173e5b9f0a6b7 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Tue, 27 Jul 2021 08:52:27 +0100 Subject: [PATCH] cyborg: add missing become for api-paste.ini Co-Authored-By: Boris Lukashev Change-Id: I52eaf823ae84e01a09a6dcfcbffd7221ff8abfac Closes-Bug: #1937911 --- ansible/roles/cyborg/tasks/config.yml | 1 + releasenotes/notes/cyborg-become-8453d941af536e91.yaml | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 releasenotes/notes/cyborg-become-8453d941af536e91.yaml diff --git a/ansible/roles/cyborg/tasks/config.yml b/ansible/roles/cyborg/tasks/config.yml index 0c4fa0df6d..61dcb68ec2 100644 --- a/ansible/roles/cyborg/tasks/config.yml +++ b/ansible/roles/cyborg/tasks/config.yml @@ -91,6 +91,7 @@ - "{{ node_custom_config }}/cyborg/cyborg-api-paste.ini" dest: "{{ node_config_directory }}/cyborg-api/api-paste.ini" mode: "0660" + become: true when: - inventory_hostname in groups['cyborg-api'] - service.enabled | bool diff --git a/releasenotes/notes/cyborg-become-8453d941af536e91.yaml b/releasenotes/notes/cyborg-become-8453d941af536e91.yaml new file mode 100644 index 0000000000..34fb8c57fb --- /dev/null +++ b/releasenotes/notes/cyborg-become-8453d941af536e91.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixes an issue with Cyborg deployment. `LP#1937911 + `__