
The change moves the role out from the main repo openstack-ansible repository and into its own standalone repository. Items within this change: * The role has been updated to ensure it runs standalone. * Tests added to the role within tox. * Functional tests added to the role that can either be run via the run_tests.sh script or using tox. * dev requirements have been updated for testing usecases. * Docs added to both the README.rst file as well as the docs folder. Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
11 lines
491 B
Django/Jinja
11 lines
491 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
# The first element of the path is a directory where the debian-sa1 script is located
|
|
PATH=/usr/lib/sysstat:/usr/sbin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
|
|
# Activity reports every 10 minutes everyday
|
|
*/{{ openstack_host_systat_interval }} * * * * root command -v debian-sa1 > /dev/null && debian-sa1 1 1
|
|
|
|
# Additional run at 23:59 to rotate the statistics file
|
|
59 {{ openstack_host_systat_statistics_hour }} * * * root command -v debian-sa1 > /dev/null && debian-sa1 60 2
|