rpm-ostree/vagrant/setup.yml

27 lines
803 B
YAML
Raw Normal View History

---
- hosts: all
become: yes
tasks:
- name: add CAHC ostree remote
command: >
ostree remote add --set=gpg-verify=false centos-atomic-continuous
https://ci.centos.org/artifacts/sig-atomic/rdgo/centos-continuous/ostree/repo/
args:
creates: /etc/ostree/remotes.d/centos-atomic-continuous.conf
# Experimenting with this as a potential new name.
- name: link nxs -> rpm-ostree
file: src=/usr/bin/rpm-ostree dest=/usr/local/bin/nxs owner=0 group=0 state=link
- name: check for builder image
command: docker inspect rpm-ostree-builder
failed_when: False
changed_when: False
register: inspect
- name: build builder image
command: make buildimg
args:
chdir: sync/vagrant
when: inspect.rc != 0