From f02b7f5a892ad202c099a37947c292f608e3887c Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Mon, 23 Oct 2017 14:15:07 +0100 Subject: baserock_ostree: Update version of BuildStream that we install The version listed there was too old, modern BuildStream versions would fail to push with this error: Exception: Unsupported protocol version 1 Also make sure we don't put root-owned stuff into `/home/fedora`. --- baserock_ostree/image-config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/baserock_ostree/image-config.yml b/baserock_ostree/image-config.yml index aa0f3493..1152d846 100644 --- a/baserock_ostree/image-config.yml +++ b/baserock_ostree/image-config.yml @@ -4,7 +4,8 @@ --- - hosts: ostree gather_facts: false - sudo: yes + become: yes + become_user: root tasks: # See: https://fedoramagazine.org/getting-ansible-working-fedora-23/ - name: install Python2 and required deps for Ansible modules @@ -39,7 +40,8 @@ dnf: name=python3-pip state=latest - name: buildstream sources - git: dest=/home/fedora/buildstream repo=https://gitlab.com/buildstream/buildstream version=977210795c9ec67309eae3b78e2100c6b2281823 + git: dest=/home/fedora/buildstream repo=https://gitlab.com/buildstream/buildstream version=32667b24b801f9b51da026b08e89f7fc55d8ac65 + become_user: fedora - name: buildstream installed command: /usr/bin/pip3 install . -- cgit v1.2.1