You can add a task to an existing role.
To add a task:
Create a .yaml
file.
For example, my_tasks.yaml
.
Add the task description to the my_tasks.yaml
file.
Example:
- id: my_task
type: puppet
groups: [compute]
required_for: [deploy_end]
requires: [netconfig]
parameters:
puppet_manifest: /etc/puppet/modules/my_task.pp
puppet_modules: /etc/puppet/modules
timeout: 3600
Log in to the Fuel CLI.
Run the following command:
fuel rel --sync-deployment-tasks --dir <path-to-dir-with-the-task.pp>
Fuel syncs the with the internal database.
Deploy the OpenStack environment.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.