summaryrefslogtreecommitdiffstats
path: root/xci/installer/osa/playbooks/configure-targethosts.yml
diff options
context:
space:
mode:
authorFatih Degirmenci <fdegir@gmail.com>2018-03-20 20:16:56 +0100
committerFatih Degirmenci <fdegir@gmail.com>2018-03-21 10:54:58 +0100
commit8cb2bc0cdf0565ce59546b1ec2aac513fb7fecaa (patch)
tree977ce4af76bd6c74ebb4933491305578acfb0524 /xci/installer/osa/playbooks/configure-targethosts.yml
parent0d332a80cf731e5927c81c9f6929a8b83d43cddd (diff)
Clean up opnfv ansible vars and switch to lowercase
This change removes the variables that are not used in any of the playbooks/roles from opnfv ansible vars. Apart from that, all caps ansible vars replaced with lowercase ones and impacted playbooks/roles are updated. installer-type:osa deploy-scenario:os-nosdn-nofeature Change-Id: I99ebdc155b3903176ac5940b64cef0c0f3aa0f0d Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Diffstat (limited to 'xci/installer/osa/playbooks/configure-targethosts.yml')
-rw-r--r--xci/installer/osa/playbooks/configure-targethosts.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/xci/installer/osa/playbooks/configure-targethosts.yml b/xci/installer/osa/playbooks/configure-targethosts.yml
index 42822c96..09258e7c 100644
--- a/xci/installer/osa/playbooks/configure-targethosts.yml
+++ b/xci/installer/osa/playbooks/configure-targethosts.yml
@@ -9,15 +9,15 @@
NO_PROXY: "{{ lookup('env','no_proxy') }}"
remote_user: root
vars_files:
- - "{{ XCI_PATH }}/xci/var/opnfv.yml"
+ - "{{ xci_path }}/xci/var/opnfv.yml"
pre_tasks:
- name: Load distribution variables
include_vars:
file: "{{ item }}"
with_items:
- - "{{ XCI_PATH }}/xci/var/{{ ansible_os_family }}.yml"
- - "{{ XCI_FLAVOR_ANSIBLE_FILE_PATH }}/flavor-vars.yml"
+ - "{{ xci_path }}/xci/var/{{ ansible_os_family }}.yml"
+ - "{{ xci_flavor_ansible_file_path }}/flavor-vars.yml"
roles:
- role: peru.proxy_settings
proxy_settings_http_proxy: "{{ lookup('env','http_proxy') }}"
@@ -30,10 +30,10 @@
- "'compute' in group_names"
- role: configure-ceph
when:
- - XCI_CEPH_ENABLED == "true"
+ - xci_ceph_enabled == "true"
- "'compute' in group_names"
tasks:
- name: add public key to host
copy:
- src: "{{ XCI_PATH }}/xci/files/authorized_keys"
+ src: "{{ xci_path }}/xci/files/authorized_keys"
dest: /root/.ssh/authorized_keys