This series makes the guests/ directory less crowded by moving
a bunch of files to subdirectories, enhances the lcitool script
so that it works when called from any directory, and introduces
the ability to skip installation of build dependencies for
projects you don't care about. Some of these changes pave the
way for introducing [secret feature redacted] later on.
Andrea Bolognani (8):
lcitool: Make the script location-independent
lcitool: Use JSON to pass extra-vars
lcitool: Pass base and playbook_base to Ansible
guests: Move update playbook and related resources
guests: Drop install_config from inventory
guests: Move install configs
lcitool: Allow installing a subset of build dependencies
guests: Update documentation
guests/README.markdown | 38 ++++++--
guests/{ => configs}/kickstart.cfg | 0
guests/{ => configs}/preseed.cfg | 0
guests/host_vars/libvirt-centos-7/install.yml | 1 -
guests/host_vars/libvirt-debian-8/install.yml | 1 -
guests/host_vars/libvirt-debian-9/install.yml | 1 -
.../host_vars/libvirt-debian-sid/install.yml | 1 -
.../host_vars/libvirt-fedora-27/install.yml | 1 -
.../host_vars/libvirt-fedora-28/install.yml | 1 -
.../libvirt-fedora-rawhide/install.yml | 1 -
.../host_vars/libvirt-ubuntu-16/install.yml | 1 -
.../host_vars/libvirt-ubuntu-18/install.yml | 1 -
guests/lcitool | 96 ++++++++++++++-----
.../{site.yml => playbooks/update/main.yml} | 30 +++---
guests/{ => playbooks/update}/tasks/base.yml | 6 +-
.../update}/tasks/bootloader.yml | 0
.../update}/tasks/bootstrap.yml | 0
.../{ => playbooks/update}/tasks/jenkins.yml | 4 +-
.../{ => playbooks/update}/tasks/kludges.yml | 0
.../{ => playbooks/update}/tasks/packages.yml | 2 +-
guests/{ => playbooks/update}/tasks/paths.yml | 0
.../{ => playbooks/update}/tasks/services.yml | 0
guests/{ => playbooks/update}/tasks/users.yml | 4 +-
.../update}/templates/bash_profile.j2 | 0
.../update}/templates/bashrc.j2 | 0
.../update}/templates/ccache.conf.j2 | 0
.../fedora-rawhide-kernel-nodebug.repo.j2 | 0
.../update}/templates/jenkins.service.j2 | 0
.../templates/jessie-backports.preferences.j2 | 0
.../templates/jessie-backports.sources.j2 | 0
30 files changed, 128 insertions(+), 61 deletions(-)
rename guests/{ => configs}/kickstart.cfg (100%)
rename guests/{ => configs}/preseed.cfg (100%)
rename guests/{site.yml => playbooks/update/main.yml} (52%)
rename guests/{ => playbooks/update}/tasks/base.yml (92%)
rename guests/{ => playbooks/update}/tasks/bootloader.yml (100%)
rename guests/{ => playbooks/update}/tasks/bootstrap.yml (100%)
rename guests/{ => playbooks/update}/tasks/jenkins.yml (92%)
rename guests/{ => playbooks/update}/tasks/kludges.yml (100%)
rename guests/{ => playbooks/update}/tasks/packages.yml (96%)
rename guests/{ => playbooks/update}/tasks/paths.yml (100%)
rename guests/{ => playbooks/update}/tasks/services.yml (100%)
rename guests/{ => playbooks/update}/tasks/users.yml (95%)
rename guests/{ => playbooks/update}/templates/bash_profile.j2 (100%)
rename guests/{ => playbooks/update}/templates/bashrc.j2 (100%)
rename guests/{ => playbooks/update}/templates/ccache.conf.j2 (100%)
rename guests/{ => playbooks/update}/templates/fedora-rawhide-kernel-nodebug.repo.j2
(100%)
rename guests/{ => playbooks/update}/templates/jenkins.service.j2 (100%)
rename guests/{ => playbooks/update}/templates/jessie-backports.preferences.j2 (100%)
rename guests/{ => playbooks/update}/templates/jessie-backports.sources.j2 (100%)
--
2.17.1