ironic-staging-drivers/ironic_staging_drivers/ansible/playbooks
Pavlo Shchelokovskyy b963a18c63 [ansible] Major changes in playbooks "API"
Possibly existing out-of-tree playbooks will be imcompatible
with this version and must be rewritten!

Changes include:

- all info passed into ansible playbooks from ironic is now available in
  the playbooks as elements of 'ironic' dictionary to better differentiate
  those from other vars possibly created/set inside playbooks.

- any field of node's instance_info having a form of "image_<field>"
  is now available in playbooks as "ironic.image.<field>" var.

- 'parted' tag in playbooks is removed and instead differentiation
  between partition and whole-disk imaged is being done based on
  ironic.image.type var value.

- 'shutdown' tag is removed, and soft power-off is moved to a separate
  playbook, defined by new driver_info field 'ansible_shutdown_playbook'
  ('shutdown.yaml' by default)

- default 'deploy' role is split into smaller roles,
  each targeting a separate stage of deployment process
  to faciliate customiation and re-use

    - discover - e.g. set root device and image target
    - prepare - if needed, prepare system, e.g. create partitions
    - deploy - download/convert/write user image and configdrive
    - configure - post-deployment steps, e.g. installing the bootloader

Documentation is updated.

Change-Id: I158a96d26dc9a114b6b607267c13e3ee1939cac9
2017-06-12 13:47:18 +00:00
..
callback_plugins [ansible] fix some places for Ansible 2.2 2016-12-23 16:52:18 +02:00
library Add Ansible-deploy driver 2016-09-16 21:54:24 +03:00
roles [ansible] Major changes in playbooks "API" 2017-06-12 13:47:18 +00:00
add-ironic-nodes.yaml [ansible] Major changes in playbooks "API" 2017-06-12 13:47:18 +00:00
ansible.cfg [ansible] fix some places for Ansible 2.2 2016-12-23 16:52:18 +02:00
clean.yaml Add Ansible-deploy driver 2016-09-16 21:54:24 +03:00
clean_steps.yaml Add Ansible-deploy driver 2016-09-16 21:54:24 +03:00
deploy.yaml [ansible] Major changes in playbooks "API" 2017-06-12 13:47:18 +00:00
inventory Add Ansible-deploy driver 2016-09-16 21:54:24 +03:00
shutdown.yaml [ansible] Major changes in playbooks "API" 2017-06-12 13:47:18 +00:00