diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-08-03 11:51:26 +0200 |
---|---|---|
committer | Erik Skultety <eskultet@redhat.com> | 2022-09-22 10:38:27 +0000 |
commit | 46fca5f7aaf32c94a2728e3ac2f79ceb7bb4fad0 (patch) | |
tree | 5880ca39adbf2f12b4773a18aa9ec25837ba7c8c /docs | |
parent | ed2c1d4a54e301f6daa1efdd30d128d1c0e3f928 (diff) | |
download | libvirt-ci-46fca5f7aaf32c94a2728e3ac2f79ceb7bb4fad0.zip libvirt-ci-46fca5f7aaf32c94a2728e3ac2f79ceb7bb4fad0.tar.gz libvirt-ci-46fca5f7aaf32c94a2728e3ac2f79ceb7bb4fad0.tar.bz2 |
lcitool: move ansible/vars/ to facts/
The ansible/vars/ directory is not passed directly to Ansible, it
is passed in the group variables after processing in Python.
Furthermore, it is also used to generate Dockerfiles which does not
involve Ansible. Move it to another name which matches the name
of the variables.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/platforms_and_mappings.rst | 6 | ||||
-rw-r--r-- | docs/projects.rst | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/platforms_and_mappings.rst b/docs/platforms_and_mappings.rst index eb8389c..4351da3 100644 --- a/docs/platforms_and_mappings.rst +++ b/docs/platforms_and_mappings.rst @@ -30,7 +30,7 @@ In case you'd like to add a new OS distribution then: you're adding uses a package format we currently don't know about. Maintainers will advise on what to do in that case. -#. Edit the ``lcitool/ansible/vars/mappings.yml`` file to update all the +#. Edit the ``lcitool/facts/mappings.yml`` file to update all the existing package entries, providing details of the new OS distro. #. Run the unit tests with:: @@ -67,11 +67,11 @@ In order to simply add a new package mapping: #. Fork the project. -#. Edit the ``lcitool/ansible/vars/mappings.yml`` file to add your desired +#. Edit the ``lcitool/facts/mappings.yml`` file to add your desired mapping. #. Add the package mapping to the respective project's config file under - ``lcitool/ansible/vars/projects/``. + ``lcitool/facts/projects/``. #. Run the unit tests with:: diff --git a/docs/projects.rst b/docs/projects.rst index 6a08909..4af0fb5 100644 --- a/docs/projects.rst +++ b/docs/projects.rst @@ -3,7 +3,7 @@ Externally defined project package lists Historically all projects have been defined in data files at the location:: - lcitool/ansible/vars/projects/$NAME.yml + lcitool/facts/projects/$NAME.yml This creates a chicken and egg problem when a project changes its build pre-requisites, as libvirt-ci needs to be updated if-and-only-if the |