9587ab6597
These files are not only for vmcheck, but may be used as well for setting up for development. Closes: #344 Approved by: cgwalters
27 lines
803 B
YAML
27 lines
803 B
YAML
---
|
|
- 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
|