Convert dynamic includes to static imports

Change-Id: I14cf83e3691d5d39766bd71c4c0b051001fb703a
This commit is contained in:
Dmitriy Rabotyagov 2019-09-13 19:09:04 +03:00 committed by Dmitriy Rabotyagov (noonedeadpunk)
parent 38a4bbf6e6
commit 68d2839e18
2 changed files with 7 additions and 7 deletions

View File

@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
- include_tasks: nova_compute_kvm_install.yml - import_tasks: nova_compute_kvm_install.yml
tags: tags:
- nova-install - nova-install
@ -47,7 +47,7 @@
- nova-kvm - nova-kvm
- name: Set kernel permissions to enable libguestfs features (Ubuntu) - name: Set kernel permissions to enable libguestfs features (Ubuntu)
include_tasks: nova_kernel_permissions.yml import_tasks: nova_kernel_permissions.yml
when: when:
- ansible_distribution == 'Ubuntu' - ansible_distribution == 'Ubuntu'
- nova_libvirt_inject_key | bool or nova_libvirt_inject_password | bool - nova_libvirt_inject_key | bool or nova_libvirt_inject_password | bool
@ -140,19 +140,19 @@
- nova-kvm - nova-kvm
- nova-libvirt - nova-libvirt
- include_tasks: nova_disable_smt.yml - import_tasks: nova_disable_smt.yml
when: when:
- ansible_architecture == 'ppc64le' - ansible_architecture == 'ppc64le'
tags: tags:
- nova-config - nova-config
- include_tasks: nova_enable_ksm.yml - import_tasks: nova_enable_ksm.yml
when: when:
- nova_compute_ksm_enabled | bool - nova_compute_ksm_enabled | bool
tags: tags:
- nova-config - nova-config
- include_tasks: nova_compute_kvm_virsh_net_remove.yml - import_tasks: nova_compute_kvm_virsh_net_remove.yml
tags: tags:
- nova-config - nova-config
- nova-kvm - nova-kvm

View File

@ -17,12 +17,12 @@
tags: tags:
- nova-install - nova-install
- include_tasks: nova_compute_key_populate.yml - import_tasks: nova_compute_key_populate.yml
tags: tags:
- nova-config - nova-config
- nova-key - nova-key
- include_tasks: nova_compute_key_distribute.yml - import_tasks: nova_compute_key_distribute.yml
tags: tags:
- nova-config - nova-config
- nova-key - nova-key