diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-01-27 13:52:36 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-01-27 13:52:36 +0000 |
| commit | b6c9d2acfaafb2de0be88ef0f82c963c116a4904 (patch) | |
| tree | de8baea9e39c1266e3a6b7bc291be63f2f195478 /ansible | |
| parent | c70cefe19cc3f18b906098a2e2dbc55a7b4dd34d (diff) | |
| parent | 5855a07212d8f1daba20ab297d9b4f3089d53a39 (diff) | |
| download | kolla-b6c9d2acfaafb2de0be88ef0f82c963c116a4904.tar.gz kolla-b6c9d2acfaafb2de0be88ef0f82c963c116a4904.zip | |
Merge "Add bootstrap task for ironic-pxe"
Diffstat (limited to 'ansible')
| -rw-r--r-- | ansible/roles/ironic/tasks/bootstrap.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ansible/roles/ironic/tasks/bootstrap.yml b/ansible/roles/ironic/tasks/bootstrap.yml index d33859fae..7217c4f29 100644 --- a/ansible/roles/ironic/tasks/bootstrap.yml +++ b/ansible/roles/ironic/tasks/bootstrap.yml @@ -52,3 +52,20 @@ run_once: True delegate_to: "{{ groups['ironic-api'][0] }}" when: database_created + +- name: Running Ironic-PXE bootstrap container + kolla_docker: + action: "start_container" + common_options: "{{ docker_common_options }}" + detach: False + environment: + KOLLA_BOOTSTRAP: + KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}" + image: "{{ ironic_pxe_image_full }}" + name: "bootstrap_ironic_pxe" + restart_policy: "never" + volumes: + - "{{ node_config_directory }}/ironic-pxe/:{{ container_config_directory }}/:ro" + - "ironic-pxe:/tftpboot/" + run_once: True + delegate_to: "{{ groups['ironic-pxe'][0] }}" |
