Restructure playbooks for multiple commands

Much of the logic in the existing 'deploy' playbooks could be reused for
a teardown command, so it didn't make sense to duplicate this. Instead,
rename/restructure playbooks such that they refer to an area of
responsibility, rather than an action.

Also, make some changes to allow a new 'teardown' action.
This commit is contained in:
Will Miller
2018-09-10 13:49:51 +00:00
parent 0b106a4a91
commit 56b0019258
15 changed files with 143 additions and 110 deletions

View File

@@ -1,12 +0,0 @@
---
- name: Perform deployment host configuration
import_playbook: deploy_hosts.yml
- name: Perform deployment node configuration
import_playbook: deploy_nodes.yml
- name: Enrol nodes in Ironic
import_playbook: enrol_nodes.yml
- name: Register flavors in Nova
import_playbook: register_flavors.yml