diff options
author | wutianwei <wutianwei1@huawei.com> | 2018-01-02 16:49:48 +0800 |
---|---|---|
committer | wutianwei <wutianwei1@huawei.com> | 2018-01-03 10:48:56 +0800 |
commit | b7c67c901075fc44a087f38e6b11fdac0b1d04d8 (patch) | |
tree | e2bd1e1e55241e7a9b009aaae421fa6046d69f82 /xci/nfvi/osa/playbooks/configure-targethosts.yml | |
parent | b6907b858e215f358a16216a5095c9c6ed3520c4 (diff) |
[XCI] move osa files into xci/nfvi/osa/files
we maybe introduce other NFVI in the future in XCI.
it is necessary to put the nfvi files to corresponding directory xci/nfvi/$NFVI/files,
otherwise the files directory will be confused.
Change-Id: Iea98167ff0bc8d338a94fe1c064ac0ab396c53d3
Signed-off-by: wutianwei <wutianwei1@huawei.com>
Diffstat (limited to 'xci/nfvi/osa/playbooks/configure-targethosts.yml')
-rw-r--r-- | xci/nfvi/osa/playbooks/configure-targethosts.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xci/nfvi/osa/playbooks/configure-targethosts.yml b/xci/nfvi/osa/playbooks/configure-targethosts.yml index 14a9149b..fb43a920 100644 --- a/xci/nfvi/osa/playbooks/configure-targethosts.yml +++ b/xci/nfvi/osa/playbooks/configure-targethosts.yml @@ -4,7 +4,7 @@ tasks: - name: add public key to host copy: - src: "{{ XCI_PATH }}/xci/file/authorized_keys" + src: "{{ XCI_PATH }}/xci/files/authorized_keys" dest: /root/.ssh/authorized_keys - hosts: controller @@ -18,7 +18,7 @@ file: "{{ item }}" with_items: - "{{ XCI_PATH }}/xci/var/{{ ansible_os_family }}.yml" - - "{{ XCI_PATH }}/xci/file/{{ XCI_FLAVOR }}/flavor-vars.yml" + - "{{ XCI_FLAVOR_ANSIBLE_FILE_PATH }}/flavor-vars.yml" roles: - role: configure-network # we need to force sync time with ntp or the nodes will be out of sync timewise @@ -35,7 +35,7 @@ file: "{{ item }}" with_items: - "{{ XCI_PATH }}/xci/var/{{ ansible_os_family }}.yml" - - "{{ XCI_PATH }}/xci/file/{{ XCI_FLAVOR }}/flavor-vars.yml" + - "{{ XCI_FLAVOR_ANSIBLE_FILE_PATH }}/flavor-vars.yml" roles: - role: configure-network # we need to force sync time with ntp or the nodes will be out of sync timewise |