diff options
Diffstat (limited to 'resources/ansible_roles/qtip/tasks/generate-inventory.yml')
-rw-r--r-- | resources/ansible_roles/qtip/tasks/generate-inventory.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/resources/ansible_roles/qtip/tasks/generate-inventory.yml b/resources/ansible_roles/qtip/tasks/generate-inventory.yml new file mode 100644 index 00000000..f19b0447 --- /dev/null +++ b/resources/ansible_roles/qtip/tasks/generate-inventory.yml @@ -0,0 +1,21 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +# Common tasks for installer master setup + +--- + +- include: "gather-facts-{{ installer }}.yml" + +- name: generating inventory file + template: src=templates/hosts dest=./hosts + delegate_to: localhost +- name: generating ssh.cfg file + template: src=templates/ssh.cfg dest=./ssh.cfg + delegate_to: localhost |