profile_tasks prints how much time takes each task to run
The feature is disabled by default but can be enabled by
uncommenting the corresponding line in ansible.cfg
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
Ceph FileSystem requires a metadata server.
This functionallity is already provided.
This commit updates the example to install a metadata server.
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
- Add an ansible.cfg file to enable pipelining.
Pipelining increases the performance by executing many ansible
modules without actual file transfer.
- Prerun ciao-common
ciao-common role install ciao code and dependencies. By running
this role on all nodes in parallel we can save some time.
- Set strategy: free
By default all hosts will run each task before any host starts the next task
Using the 'free' strategy allows each host to run until the end of the play
as fast as it can.:
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
A demo user and a demo project is included in the example
for testing purposes of a ciao cluster.
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
If ciao_dev is set to false (default) it will try to install
ciao from the operating system packages which is only supported
in Clear Linux.
In order to install ciao in Ubuntu, ciao_dev must be set to
true to build ciao from github master branch.
This commit adds the variable to the examples to have it handy
for users who wants to deploy ciao in Ubuntu.
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
- ciao_dev might not be defined and should be treated as false by default
- mysql_packages is defined for ubuntu and should not cause a failure
in clearlinux when not defined.
Fixes#30
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
* ciao: Install ciao from github sources
- Add a new variable ciao_dev to ciao-common
When set to True, it will build ciao from the master branch
and put the binaries in /usr/local/bin
When set to False (default) it will install ciao from the OS
packages
Fixes#21
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
* ciao: Add ciao_cleanup.yml playbook (#28)
- This playbook cleanups a ciao cluster
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
the [ciao_network] group in `examples/ciao/hosts` is
duplicated. This commits removes duplication of such group.
Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
There were usage of different FQDNs for some variables.
this commit use a single FQDN for better understanding of the setup.
Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
Users might not know what is the function of a variable in the
example playbook.
This change adds a reference for a role documentation where the
user can find more information about the variables below.
Fixes#18
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
Rally needs a compute endpoint in order to run.
- Create ciao admin user in openstack by default
- Create ciao compute service in openstack by default
- Create ciao compute endpoint in openstack by default
- Remove optional variables in example playbook to create
the items above.
Fixes#14
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
- Update ciao example playbook with newer variables
- Remove glance from the example since it is not yet
supported by ciao.
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
- Remove nova_public_interface_name and neutron_public_interface_name
since both are referring to the same thing, the interface where services
will run on that node.
- Add public_interface var with default value of the interface name
with a configured default gateway (ansible_default_ipv4.alias)
- Remove common_interface_detect.yml since it was testing for groups
names that might not be defined when deploying only keystone without
nova and neutron