diff --git a/roles/ironic-install/tasks/create_bootable_image.yml b/roles/ironic-install/tasks/create_bootable_image.yml index 480e32c36..26870747e 100644 --- a/roles/ironic-install/tasks/create_bootable_image.yml +++ b/roles/ironic-install/tasks/create_bootable_image.yml @@ -1,3 +1,17 @@ +# Copyright (c) 2015 Hewlett-Packard Development Company, L.P. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. --- - name: "Extracting the raw disk image" local_action: command qemu-img convert -O raw "{{http_boot_folder}}/{{deploy_image_filename}}" "{{http_boot_folder}}/{{deploy_image_filename}}.raw" diff --git a/roles/ironic-install/tasks/create_dib_image.yml b/roles/ironic-install/tasks/create_dib_image.yml index 0dd5397d1..b59bf3424 100644 --- a/roles/ironic-install/tasks/create_dib_image.yml +++ b/roles/ironic-install/tasks/create_dib_image.yml @@ -1,3 +1,17 @@ +# Copyright (c) 2015 Hewlett-Packard Development Company, L.P. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. --- - name: "Initiate image build" shell: disk-image-create -a amd64 -o "{{http_boot_folder}}/{{deploy_image_filename}}" -t qcow2 vm ubuntu serial-console cloud-init-datasources "{{ extra_dib_elements}}" diff --git a/roles/ironic-install/tasks/dib_install.yml b/roles/ironic-install/tasks/dib_install.yml index a25a56114..495b2a939 100644 --- a/roles/ironic-install/tasks/dib_install.yml +++ b/roles/ironic-install/tasks/dib_install.yml @@ -1,3 +1,17 @@ +# Copyright (c) 2015 Hewlett-Packard Development Company, L.P. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. --- - name: "Shade - Retrieving diskimage-builder from git.openstack.org" local_action: command git clone https://git.openstack.org/openstack/diskimage-builder chdir=/opt/stack creates=/opt/stack/diskimage-builder diff --git a/roles/ironic-install/tasks/main.yml b/roles/ironic-install/tasks/main.yml index 99299f664..03c2dd183 100644 --- a/roles/ironic-install/tasks/main.yml +++ b/roles/ironic-install/tasks/main.yml @@ -1,5 +1,17 @@ -# Written expecting APT based packaging, however would be trivial to -# extend another packaging system +# Copyright (c) 2015 Hewlett-Packard Development Company, L.P. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. --- - name: "Update Package Cache" local_action: apt update_cache=yes