Updates to opencloud playbook to work more like CORD
changes to work with new service-profile
reworked xos-start to have per-config settings
add to cord_single_defaults.yml too
generate TOSCA config in platform-install
moved user/deployment creation to earlier in process
add stubs for Site/Deployment
fix empty compute group case
use tosca generator for cord-pod, and supply paths to images
reorg of config variables
remove whitespace
enable copy of service-profile for testing
generate more Tosca in platform-install
more templating, whitespace
list of copied Tosca files is now a parameter
template the vtn config when onboarding new compute notes
fix ipaddr template, which was incorrectly documented
recreate nodes and vtn config when adding compute nodes
fixes for xos on head node change
more fixes for XOS on head node
more fixes for xos delayering
fixes to image loading and 'make vtn' task
use hostname rather than full fqdn in tosca
fix secondary location of nodes/vtn template
readd management_hosts_template to management-net.yaml
update opencloud bits to current, remove obsolete roles
fix UI paths, which were escaped
make diag role work with xos container not in vm, collect more docker
logs
integrate make module changes
move pauses to service-profile
dedicated openstack config
fix openstack.yaml.j2
apply changes to vtn.yaml in both places
add more head diag
fix ssl issue
Change-Id: I7526b954b3b93f121b1d329dc1e412502d194fc1
diff --git a/roles/head-prep/tasks/main.yml b/roles/head-prep/tasks/main.yml
index b22888d..ee265be 100644
--- a/roles/head-prep/tasks/main.yml
+++ b/roles/head-prep/tasks/main.yml
@@ -24,7 +24,6 @@
update_cache=yes
cache_valid_time=3600
with_items:
- - ansible
- uvtool
- git
- bzr
@@ -37,6 +36,15 @@
- python-lxml
- virt-top
+- name: Make sure Ansible is newest version
+ apt:
+ name: "ansible"
+ state: latest
+ update_cache: yes
+ cache_valid_time: 3600
+ tags:
+ - skip_ansible_lint # ansible-lint complains about latest, need this or old built in 1.5.x version may be used if already installed.
+
- name: Install Python packages
pip:
name={{ item}}