Convert TripleO Tasks to Ansible Roles
Ansible tasks are currently embedded in heat templates. This adds complexity to development of new ansible tasks, and makes this work non-reusable by other projects. These tasks should be moved to service-specific ansible roles and imported by the heat templates for use by config-download. Shared resources, such as playbooks and modules, should be created in a new TripleO Ansible project repo "tripleo-ansible".
Roles/playbooks should be able to be used standalone or via Director/
Development of new roles, tasks, or playbooks would be done as in this example using backup tasks:
openstack/
tasks/backup_
vars/main.yml
- variable definitions for backup_databases task
defaults/main.yml
- default vars for backup_databases task
openstack/
backup.yml (playbook that uses include_role: ansible-
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Jill Rouleau
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
WIP: Add stack output ansible_group_vars
Addressed by: https:/
WIP: Add ansible_group_vars to config download