a1495d5f0f
Prepare bumping ansible-lint by solving few linting errors: - unamed tasks - use of shell instead of module - newlines between tasks (visual) - boolean comparison - when clauses that can be split - missing galaxy_info sections in meta.yml - spaces around jinja {{ variables }} - lack of pipefail on shell blocks with pipe - duplicate dictionary keys Change-Id: I73ed9a031bd579bc6213923edb9c4288d0302454 Needed-By: https://review.opendev.org/#/c/665445/ |
||
---|---|---|
.. | ||
defaults | ||
tasks | ||
README.md | ||
test-playbook.yml |
README.md
tripleo-upgrade-hiera
An Ansible role to set hiera value during upgrade as json value/key.
Role variables
Required:
tripleo_upgrade_key
-- the hiera key to setup. (optional for remove_all)tripleo_upgrade_value
-- the hiera value to setup. (non-needed for remove and remove_all)
Optional:
tripleo_upgrade_hiera_file
-- hiera file to were the variable go. (defaults to "/etc/puppet/hieradata/upgrade.json")
Test playbook
Assuming you have tripleo-inventory.yml generated, you can run the test playbook like:
ANSIBLE_ROLES_PATH=tripleo-common/roles \
ANSIBLE_HOST_KEY_CHECKING=False \
ansible-playbook
-i tripleo-inventory.yml \
tripleo-common/roles/tripleo-upgrade-hiera/test-playbook.yml
License
Free software: Apache License (2.0)
Author Information
OpenStack TripleO team