diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-10-23 14:15:07 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-10-23 14:15:07 +0100 |
commit | f02b7f5a892ad202c099a37947c292f608e3887c (patch) | |
tree | de18332aa997ee8841fe6b78e03d09b95effb39d | |
parent | 9e9fe7c0d71febcb68ce6e4bf528b534d56003da (diff) | |
download | infrastructure-f02b7f5a892ad202c099a37947c292f608e3887c.tar.gz |
baserock_ostree: Update version of BuildStream that we installsam/ostree-update
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`.
-rw-r--r-- | baserock_ostree/image-config.yml | 6 |
1 files 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 . |