├── README.md ├── hp_ceilometer_ansible ├── _ceilometer-configure.yml ├── _ceilometer-install.yml ├── _ceilometer-populate.yml ├── ceilometer-deploy.yml ├── ceilometer-reconfigure.yml ├── ceilometer-start.yml ├── ceilometer-status.yml ├── ceilometer-stop.yml ├── ceilometer-upgrade.yml ├── config │ └── ceilometer-symlinks.yml └── roles │ ├── CEI-API │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── db_configure.yml │ │ ├── db_create.yml │ │ ├── install.yml │ │ ├── keystone_conf.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── api-logging.conf.j2 │ │ ├── api_paste.ini.j2 │ │ ├── ceilometer_modwsgi.conf.j2 │ │ ├── pipeline-api.yaml.j2 │ │ └── policy.json.j2 │ ├── CEI-CAG │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── agent-central-logging.conf.j2 │ │ ├── agent-central.conf.j2 │ │ └── pipeline-agent-central.yaml.j2 │ ├── CEI-COL │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── collector-logging.conf.j2 │ │ └── collector.conf.j2 │ ├── CEI-EXP │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── ceilometer-expirer-cron.j2 │ │ ├── expirer-logging.conf.j2 │ │ └── expirer.conf.j2 │ ├── CEI-NAG │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── agent-notification-logging.conf.j2 │ │ ├── agent-notification.conf.j2 │ │ └── pipeline-agent-notification.yaml.j2 │ └── _CEI-CMN │ ├── defaults │ └── main.yml │ ├── files │ └── hlmceilometer_mon_plugin.py │ ├── handlers │ └── main.yml │ ├── meta │ └── main.yml │ ├── tasks │ ├── _activate.yml │ ├── _service_status.yml │ ├── _write_conf.yml │ ├── configure.yml │ ├── install.yml │ ├── monasca_configure.yml │ └── rabbit_configure.yml │ └── templates │ └── ceilometer.conf.j2 ├── hp_ceph_ansible ├── _ceph_bootstrap_first_monitor.yml ├── _ceph_deploy.yml ├── ceph-client-prepare.yml ├── ceph-deploy.yml ├── ceph-post-upgrade.yml ├── ceph-pre-upgrade.yml ├── ceph-reconfigure.yml ├── ceph-setup-deployer-as-client.yml ├── ceph-start.yml ├── ceph-status.yml ├── ceph-stop.yml ├── ceph-upgrade.yml ├── config │ └── ceph-symlinks.yml ├── filter_plugins │ ├── fetch_stdout.py │ ├── osd_disk_validate.py │ └── stat_list.py ├── library │ └── osd_configure.py └── roles │ ├── CEP-MON │ ├── defaults │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── _get_public_hostname.yml │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── post-upgrade.yml │ │ ├── pre-upgrade.yml │ │ ├── start.yml │ │ ├── status.yml │ │ ├── stop.yml │ │ └── upgrade.yml │ └── templates │ │ └── ceph-mon@.service.j2 │ ├── CEP-OSD │ ├── defaults │ │ └── main.yml │ ├── files │ │ ├── ceph-disk │ │ └── ceph-osd.target │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── _fetch_osd_numbers.yml │ │ ├── _validate_disks.yml │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── post-upgrade.yml │ │ ├── pre-upgrade.yml │ │ ├── start.yml │ │ ├── status.yml │ │ ├── stop.yml │ │ └── upgrade.yml │ └── templates │ │ ├── ceph-osd@.service.j2 │ │ └── ceph_disk_model.j2 │ ├── _CEP-CMN │ ├── defaults │ │ └── main.yml │ ├── files │ │ ├── ceph.target │ │ └── logrotate.conf │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ ├── _check_upgraded_packages.yml │ │ ├── configure.yml │ │ ├── evaluate_admin_node.yml │ │ ├── install-client.yml │ │ └── install.yml │ ├── templates │ │ └── ceph.conf.j2 │ └── vars │ │ └── main.yml │ ├── ceph-client-prepare │ ├── defaults │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── create-compute-secret-key.yml │ │ ├── install.yml │ │ └── prepare-cluster-user.yml │ ├── templates │ │ └── secret.xml.j2 │ └── vars │ │ └── ceph_user_model.yml │ ├── ceph-deployer │ ├── defaults │ │ └── main.yml │ ├── meta │ │ └── main.yml │ └── tasks │ │ ├── bootstrap_monitor.yml │ │ ├── configure.yml │ │ ├── initialize.yml │ │ └── install.yml │ └── ceph-monitoring │ ├── defaults │ └── main.yml │ ├── files │ └── detection │ │ └── ceph.py │ ├── meta │ └── main.yml │ └── tasks │ └── monasca_monitoring.yml ├── hp_cinder_ansible ├── README.md ├── _cinder-configure.yml ├── _cinder-install.yml ├── _cinder-populate.yml ├── _cinder_post_check.yml ├── _cinder_vars.yml ├── cinder-deploy.yml ├── cinder-migrate-volume.yml ├── cinder-reconfigure.yml ├── cinder-start.yml ├── cinder-status.yml ├── cinder-stop.yml ├── cinder-upgrade.yml ├── config │ └── cinder-symlinks.yml ├── filter_plugins │ ├── device_group.py │ └── hos_user_password_decrypt.py └── roles │ ├── CND-API │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── db_configure.yml │ │ ├── db_create.yml │ │ ├── install.yml │ │ ├── keystone_conf.yml │ │ ├── populate.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── api-logging.conf.j2 │ │ ├── api-paste.ini.j2 │ │ ├── api.conf.j2 │ │ └── api_audit_map.conf.j2 │ ├── CND-BCK │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── _activate.yml │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── populate.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── backup-logging.conf.j2 │ │ └── backup.conf.j2 │ ├── CND-SCH │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── populate.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── scheduler-logging.conf.j2 │ │ └── scheduler.conf.j2 │ ├── CND-SVC │ ├── defaults │ │ └── main.yml │ └── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── populate.yml │ │ └── start.yml │ ├── CND-VOL │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── _activate.yml │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── populate.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── cindervolume.fact.j2 │ │ ├── etc │ │ └── tgt │ │ │ └── conf.d │ │ │ └── cinder.conf.j2 │ │ ├── volume-logging.conf.j2 │ │ └── volume.conf.j2 │ ├── _CND-CMN │ ├── defaults │ │ └── main.yml │ ├── files │ │ └── etc │ │ │ └── sudoers.d │ │ │ └── cinder-rootwrap │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ ├── _activate.yml │ │ ├── _service_status.yml │ │ ├── api_status.yml │ │ ├── check_migrate_hostname.yml │ │ ├── configure.yml │ │ ├── install.yml │ │ └── populate.yml │ └── templates │ │ ├── cinder-logging.conf.j2 │ │ └── cinder.conf.j2 │ └── cinder-monitor │ ├── defaults │ └── main.yml │ ├── meta │ └── main.yml │ ├── tasks │ ├── monasca_agents.yml │ ├── monasca_alarms.yml │ └── monasca_custom_plugins.yml │ └── vars │ └── main.yml ├── hp_cinderlm ├── README.md ├── cinderlm │ ├── __init__.py │ ├── cinder_check.py │ ├── cinder_diag.py │ └── monasca │ │ ├── __init__.py │ │ ├── check_plugins │ │ ├── __init__.py │ │ └── cinderlm_check.py │ │ └── detect_plugins │ │ ├── __init__.py │ │ └── cinderlm_detect.py ├── requirements.txt ├── setup.py ├── test-requirements.txt └── tox.ini ├── hp_cluster_ansible ├── FND-AP2-deploy.yml ├── FND-AP2-post-upgrade.yml ├── FND-AP2-pre-upgrade.yml ├── FND-AP2-reconfigure.yml ├── FND-AP2-start.yml ├── FND-AP2-status.yml ├── FND-AP2-stop.yml ├── FND-AP2-upgrade.yml ├── FND-CLU-deploy.yml ├── FND-CLU-post-upgrade.yml ├── FND-CLU-pre-upgrade.yml ├── FND-CLU-reconfigure.yml ├── FND-CLU-start.yml ├── FND-CLU-status.yml ├── FND-CLU-stop.yml ├── FND-CLU-upgrade.yml ├── README.md ├── config │ ├── apache-symlinks.yml │ ├── haproxy-symlinks.yml │ └── keepalived-symlinks.yml └── roles │ ├── FND-AP2 │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── check_upgraded_pkgs.yml │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── post-upgrade.yml │ │ ├── pre-upgrade.yml │ │ ├── start.yml │ │ ├── start_reload.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ └── sites-enabled.conf.j2 │ ├── FND-CLU │ ├── README │ └── meta │ │ └── main.yml │ ├── haproxy │ ├── README │ ├── defaults │ │ └── main.yml │ ├── files │ │ └── enable_nonlocal_binding │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── check_upgraded_pkgs.yml │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── post-upgrade.yml │ │ ├── pre-upgrade.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── 50-helion-haproxy.conf.j2 │ │ └── haproxy.cfg │ └── keepalived │ ├── defaults │ └── main.yml │ ├── handlers │ └── main.yml │ ├── meta │ └── main.yml │ ├── tasks │ ├── check_upgraded_pkgs.yml │ ├── configure.yml │ ├── install.yml │ ├── post-upgrade.yml │ ├── pre-upgrade.yml │ ├── start.yml │ ├── status.yml │ └── stop.yml │ └── templates │ ├── 50-helion-keepalived.conf.j2 │ ├── keepalived.conf.j2 │ ├── keepalived.default.j2 │ ├── keepalived.logrotate.j2 │ ├── keepalived_vip_change.sh.j2 │ └── virtual_ips.j2 ├── hp_cobbler_ansible ├── README.md ├── bm-assert-power-is-off.yml ├── bm-diskboot.yml ├── bm-power-cycle.yml ├── bm-power-down.yml ├── bm-power-status.yml ├── bm-power-up.yml ├── bm-provision.yml ├── bm-reimage.yml ├── bm-target-all-nodes.yml ├── bm-target-netboot-nodes.yml ├── bm-target-no-default.yml ├── bm-verify.yml ├── bm-wait-for-shutdown.yml ├── bm-wait-for-ssh.yml ├── cobbler-deploy.yml ├── hosencrypt.py ├── library │ ├── bmconfig │ ├── ipmi │ └── match-cidr └── roles │ └── cobbler │ ├── defaults │ └── main.yml │ ├── files │ ├── atftpd │ ├── configure_kdump │ ├── configure_network.sh │ ├── configure_partitioning │ ├── fence_ipmilan.template │ ├── partition-pxe │ ├── partition-uefi │ └── validate_yaml │ ├── tasks │ ├── assert-nodes-are-not-pingable.yml │ ├── assert-power-is-off.yml │ ├── configure.yml │ ├── get-nodelist.yml │ ├── get-power-status.yml │ ├── install.yml │ ├── netboot-off.yml │ ├── netboot-on.yml │ ├── populate.yml │ ├── power-cycle.yml │ ├── power-down.yml │ ├── power-up.yml │ ├── set-diskboot.yml │ ├── set-pxeboot.yml │ ├── set-vars.yml │ ├── start.yml │ ├── target-all-nodes.yml │ ├── target-netboot-nodes.yml │ ├── verify-bm-install.yml │ ├── wait-for-shutdown.yml │ └── wait-for-ssh.yml │ ├── templates │ ├── cobbler.conf │ ├── cobbler.dhcp.template.j2 │ ├── dhcpd.conf.j2 │ ├── grub.cfg.j2 │ ├── hlinux-server-vm.preseed.j2 │ ├── isc-dhcp-server.j2 │ └── settings.j2 │ └── vars │ └── main.yml ├── hp_db_ansible ├── README.md ├── config │ └── percona-symlinks.yml ├── filter_plugins │ └── hash_filter.py ├── percona-bootstrap.yml ├── percona-deploy.yml ├── percona-post-upgrade.yml ├── percona-pre-upgrade.yml ├── percona-reconfigure.yml ├── percona-start.yml ├── percona-status.yml ├── percona-stop.yml ├── percona-upgrade.yml └── roles │ ├── FND-MDB-lifecycle │ └── vars │ │ └── main.yml │ └── FND-MDB │ ├── defaults │ └── main.yml │ ├── handlers │ └── main.yml │ ├── meta │ └── main.yml │ ├── tasks │ ├── bootstrap.yml │ ├── check.yml │ ├── check_upgraded_pkgs.yml │ ├── configure.yml │ ├── initialise.yml │ ├── install.yml │ ├── post-upgrade.yml │ ├── pre-upgrade.yml │ ├── start.yml │ ├── status.yml │ └── stop.yml │ └── templates │ ├── etc │ ├── logrotate.d │ │ └── mysql.j2 │ └── mysql │ │ └── my.cnf.j2 │ └── home │ └── .my.cnf ├── hp_freezer_ansible ├── README.md ├── _deployer_restore_helper.yml ├── _freezer_manage_jobs.yml ├── config │ └── freezer-symlinks.yml ├── freezer-deploy.yml ├── freezer-reconfigure.yml ├── freezer-start.yml ├── freezer-status.yml ├── freezer-stop.yml ├── freezer-upgrade.yml └── roles │ ├── freezer-agent │ ├── defaults │ │ ├── keystone_credentials.yml │ │ └── main.yml │ ├── files │ │ └── FreezerSchedulerDetect.py │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── monitor.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── backup.osrc.j2 │ │ └── systemd_env_vars.cfg.j2 │ ├── freezer-api │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── monitor.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── freezer-api.conf.j2 │ │ └── freezer-modwsgi.conf.j2 │ ├── freezer-jobs │ ├── defaults │ │ ├── main.yml │ │ ├── mysql_credentials.yml │ │ └── ssh_credentials.yml │ ├── files │ │ └── deployer_restore_script.sh │ ├── tasks │ │ ├── _deploy_ssh_key.yml │ │ ├── _deployer_restore_helper.yml │ │ ├── _manage_job.yml │ │ ├── _mysql_credentials.yml │ │ └── _pre_manage_jobs.yml │ └── templates │ │ ├── deployer_restore │ │ ├── restore_cobbler.ini.j2 │ │ ├── restore_etc_ssh.ini.j2 │ │ ├── restore_home.ini.j2 │ │ ├── restore_passwd.ini.j2 │ │ └── restore_shadow.ini.j2 │ │ ├── hlm_mysql.conf.j2 │ │ ├── jobs │ │ ├── deployer_backup_ssh.json.j2 │ │ ├── deployer_backup_swift.json.j2 │ │ ├── deployer_restore_ssh.json.j2 │ │ ├── deployer_restore_swift.json.j2 │ │ ├── mysql_backup_ssh.json.j2 │ │ ├── mysql_backup_swift.json.j2 │ │ ├── mysql_restore_ssh.json.j2 │ │ ├── mysql_restore_swift.json.j2 │ │ ├── swift_ring_backup_ssh.json.j2 │ │ ├── swift_ring_backup_swift.json.j2 │ │ ├── swift_ring_restore_ssh.json.j2 │ │ └── swift_ring_restore_swift.json.j2 │ │ └── ssh_key.j2 │ └── freezer-post-configure │ ├── defaults │ └── main.yml │ ├── meta │ └── main.yml │ └── tasks │ ├── elasticsearch_mappings.yml │ ├── hlm_backup_env.yml │ └── keystone_conf.yml ├── hp_glance_ansible ├── config │ └── glance-symlinks.yml ├── glance-cloud-configure.yml ├── glance-deploy.yml ├── glance-reconfigure.yml ├── glance-start.yml ├── glance-status.yml ├── glance-stop.yml ├── glance-upgrade.yml └── roles │ ├── GLA-API │ ├── defaults │ │ └── main.yml │ ├── files │ │ └── etc │ │ │ ├── dbconfig-common │ │ │ └── glance-common.conf │ │ │ └── schema-image.json │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── set_httpcheck.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ ├── templates │ │ ├── glance-api-logging.conf.j2 │ │ ├── glance-api-paste.ini.j2 │ │ ├── glance-api.conf.j2 │ │ ├── glance-swift-store.conf.j2 │ │ └── policy.json.j2 │ └── vars │ │ └── main.yml │ ├── GLA-REG │ ├── defaults │ │ └── main.yml │ ├── files │ │ └── etc │ │ │ ├── dbconfig-common │ │ │ └── glance-common.conf │ │ │ └── metadefs │ │ │ ├── README │ │ │ ├── compute-aggr-disk-filter.json │ │ │ ├── compute-aggr-iops-filter.json │ │ │ ├── compute-aggr-num-instances.json │ │ │ ├── compute-guest-shutdown.json │ │ │ ├── compute-host-capabilities.json │ │ │ ├── compute-hypervisor.json │ │ │ ├── compute-instance-data.json │ │ │ ├── compute-libvirt-image.json │ │ │ ├── compute-libvirt.json │ │ │ ├── compute-quota.json │ │ │ ├── compute-randomgen.json │ │ │ ├── compute-trust.json │ │ │ ├── compute-vcputopology.json │ │ │ ├── compute-vmware-flavor.json │ │ │ ├── compute-vmware-quota-flavor.json │ │ │ ├── compute-vmware.json │ │ │ ├── compute-watchdog.json │ │ │ ├── compute-xenapi.json │ │ │ ├── glance-common-image-props.json │ │ │ ├── operating-system.json │ │ │ ├── software-databases.json │ │ │ ├── software-runtimes.json │ │ │ └── software-webservers.json │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── db_configure.yml │ │ ├── db_create.yml │ │ ├── install.yml │ │ ├── load_metadef.yml │ │ ├── reload_metadef.yml │ │ ├── set_httpcheck.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ ├── templates │ │ ├── glance-registry-logging.conf.j2 │ │ ├── glance-registry-paste.ini.j2 │ │ └── glance-registry.conf.j2 │ └── vars │ │ └── main.yml │ ├── _GLA-CMN │ ├── defaults │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ └── status.yml │ └── vars │ │ └── main.yml │ ├── glance-cloud-configure │ ├── defaults │ │ └── main.yml │ ├── tasks │ │ └── glance-image-setup.yml │ └── vars │ │ └── main.yml │ └── glance-post-configure │ ├── defaults │ └── main.yml │ ├── meta │ └── main.yml │ ├── tasks │ ├── keystone_conf.yml │ └── keystone_upgrade_conf.yml │ └── vars │ └── main.yml ├── hp_heat_ansible ├── _heat-configure.yml ├── _heat-install.yml ├── config │ └── heat-symlinks.yml ├── heat-deploy.yml ├── heat-reconfigure.yml ├── heat-start.yml ├── heat-status.yml ├── heat-stop.yml ├── heat-upgrade.yml └── roles │ ├── heat-api-cfn │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── api-cfn-logging.conf.j2 │ │ └── api-cfn.conf.j2 │ ├── heat-api-cloudwatch │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── api-cloudwatch-logging.conf.j2 │ │ └── api-cloudwatch.conf.j2 │ ├── heat-api │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── api-logging.conf.j2 │ │ └── api.conf.j2 │ ├── heat-common │ ├── defaults │ │ └── main.yml │ ├── files │ │ ├── api-paste.ini │ │ ├── policy.json │ │ └── templates │ │ │ ├── AWS_CloudWatch_Alarm.yaml │ │ │ └── AWS_RDS_DBInstance.yaml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── _service_status.yml │ │ ├── _set_directories.yml │ │ ├── _write_conf.yml │ │ ├── configure.yml │ │ └── install.yml │ └── templates │ │ ├── heat-logging.conf.j2 │ │ └── heat.conf.j2 │ ├── heat-engine │ ├── defaults │ │ └── main.yml │ ├── files │ │ └── templates │ │ │ ├── AWS_CloudWatch_Alarm.yaml │ │ │ └── AWS_RDS_DBInstance.yaml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── engine-logging.conf.j2 │ │ ├── engine.conf.j2 │ │ └── environment.d │ │ └── default.yaml │ ├── heat-monitoring │ ├── defaults │ │ └── main.yml │ ├── meta │ │ └── main.yml │ └── tasks │ │ └── monasca_monitoring.yml │ ├── heat-post-configure │ ├── defaults │ │ └── main.yml │ ├── meta │ │ └── main.yml │ └── tasks │ │ ├── db_configure.yml │ │ └── db_create.yml │ └── heat-pre-configure │ ├── defaults │ └── main.yml │ ├── meta │ └── main.yml │ └── tasks │ ├── keystone_conf.yml │ └── keystone_domain_setup.yml ├── hp_hlm_ansible ├── _hlm-service-post-upgrade.yml ├── _hlm-service-pre-upgrade.yml ├── _hlm-service-upgrade.yml ├── _hlm-upgrade-base.yml ├── ansible-init.yml ├── client-deploy.yml ├── clients-deploy.yml ├── clients-upgrade.yml ├── cloud-client-setup.yml ├── config-processor-clean.yml ├── config-processor-run.yml ├── dayzero-deploy.yml ├── dayzero-stop.yml ├── deployer-init.yml ├── filter_plugins │ ├── hos_user_password_encrypt.py │ ├── item.py │ ├── ospath.py │ ├── packager_filters.py │ ├── pkg_upgrade_filter.py │ ├── time_format.py │ ├── topology_filters.py │ └── zip.py ├── git-00-initialise.yml ├── git-01-receive-new.yml ├── guard-deployment.yml ├── hlm-cloud-configure.yml ├── hlm-deploy.yml ├── hlm-start.yml ├── hlm-status.yml ├── hlm-stop.yml ├── hlm-upgrade-pkg-query.yml ├── hlm-upgrade-pkg-verify.yml ├── hlm-upgrade.yml ├── hosts │ └── localhost ├── library │ ├── apt-upgrade-list.py │ ├── dpkg_list.py │ ├── install_package │ ├── service_restart │ └── setup_systemd ├── merge-baremetal.py ├── platform-pass-through.yml ├── ready-deployment.yml ├── roles │ ├── ansible-setup │ │ ├── defaults │ │ │ └── main.yml │ │ ├── tasks │ │ │ └── configure-ansible.yml │ │ └── templates │ │ │ ├── ansible.cfg.j2 │ │ │ └── ansible_site_packages.py.j2 │ ├── config-processor │ │ ├── defaults │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── add-localhost.yml │ │ │ ├── clean.yml │ │ │ ├── configure.yml │ │ │ ├── install.yml │ │ │ ├── run-config-processor.yml │ │ │ └── upgrade-state.yml │ │ └── vars │ │ │ └── main.yml │ ├── dayzero │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ ├── install.yml │ │ │ ├── start.yml │ │ │ └── stop.yml │ │ └── templates │ │ │ ├── dayzero-apache.conf.j2 │ │ │ └── local.conf.j2 │ ├── deployer-setup │ │ ├── defaults │ │ │ └── main.yml │ │ ├── files │ │ │ ├── 06apt-hlinux.conf │ │ │ └── cloudConfig.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── configure-bash.yml │ │ │ ├── init-deployer-from-iso.yml │ │ │ ├── install-input-model-contents.yml │ │ │ ├── install-my-cloud-directory.yml │ │ │ ├── install-venv-contents.yml │ │ │ └── install.yml │ │ └── vars │ │ │ └── main.yml │ ├── git-operations │ │ ├── defaults │ │ │ └── main.yml │ │ └── tasks │ │ │ ├── _assemble-working-directory.yml │ │ │ ├── _initialise.yml │ │ │ ├── _merge-site.yml │ │ │ ├── _persist-to-git.yml │ │ │ ├── _promote-from-staging.yml │ │ │ ├── _save-info-directory.yml │ │ │ ├── _tag-branches-for-deployment.yml │ │ │ ├── check-repo-status.yml │ │ │ ├── initialise.yml │ │ │ ├── prepare-cp-run.yml │ │ │ ├── ready-deployment-tree-help.yml │ │ │ ├── ready-deployment-tree.yml │ │ │ ├── receive-drop.yml │ │ │ └── save-cp-output.yml │ ├── guard-runtime-location │ │ ├── defaults │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ └── tasks │ │ │ └── main.yml │ ├── package-bootstrap │ │ ├── defaults │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ └── tasks │ │ │ └── install.yml │ ├── package-constants │ │ └── tasks │ │ │ └── main.yml │ ├── package-consumer │ │ ├── defaults │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ └── install.yml │ │ └── templates │ │ │ └── packager.conf.j2 │ ├── package-repo │ │ ├── meta │ │ │ └── main.yml │ │ └── tasks │ │ │ ├── configure.yml │ │ │ └── install.yml │ ├── platform-pass-through │ │ ├── defaults │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── generate.yml │ │ │ └── main.yml │ │ └── templates │ │ │ ├── KEY-API.yml.j2 │ │ │ ├── LOG-SVR.yml.j2 │ │ │ ├── MON-AGN.yml.j2 │ │ │ ├── MON-API.yml.j2 │ │ │ └── pass-through.yml.j2 │ ├── service-client │ │ ├── defaults │ │ │ └── main.yml │ │ └── tasks │ │ │ └── install.yml │ ├── sosreport │ │ ├── README.txt │ │ ├── defaults │ │ │ └── main.yml │ │ ├── files │ │ │ └── patches │ │ │ │ ├── archive.py.patch │ │ │ │ └── reporting.py.patch │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ ├── install.yml │ │ │ ├── install_git_repo.yml │ │ │ ├── install_rabbitmq_hos.yml │ │ │ └── run.yml │ │ └── templates │ │ │ ├── git_repo.py.j2 │ │ │ ├── rabbitmq_hos.py.j2 │ │ │ └── run-sosreport.j2 │ ├── systemd-sysv-fixup │ │ ├── defaults │ │ │ └── main.yml │ │ └── tasks │ │ │ └── fix-unit.yml │ ├── upgrade-bootstrap │ │ ├── README.txt │ │ ├── defaults │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ └── install.yml │ │ └── templates │ │ │ ├── policy-rc.d │ │ │ └── policy-rc.d.default │ └── venv-editor │ │ ├── defaults │ │ └── main.yml │ │ ├── meta │ │ └── main.yml │ │ └── tasks │ │ ├── add-to-venv.yml │ │ ├── relocate-venv.yml │ │ ├── repackage-venv.yml │ │ ├── tidy-up.yml │ │ ├── unpack-venv.yml │ │ └── update-index.yml ├── site.yml ├── sos.d │ ├── ceph.py │ ├── ephemeral_pki.py │ ├── helion.py │ ├── monasca.py │ ├── networking.py │ ├── openstack_ironic.py │ ├── openstack_neutron.py │ ├── openstack_swift.py │ ├── serverstatus.py │ └── vsa_installer.py ├── sosreport-deploy.yml ├── sosreport-run.yml ├── sosreport-upgrade.yml ├── upgrade-bootstrap.yml └── venv-edit.yml ├── hp_ironic_ansible ├── _ironic-configure.yml ├── _ironic-install.yml ├── _ironic-monitoring.yml ├── ironic-cloud-configure.yml ├── ironic-deploy.yml ├── ironic-reconfigure.yml ├── ironic-start.yml ├── ironic-status.yml ├── ironic-stop.yml ├── ironic-upgrade.yml └── roles │ ├── ironic-api │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ └── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ ├── ironic-cloud-configure │ ├── defaults │ │ └── main.yml │ └── tasks │ │ ├── glance-deploy-image-upload.yml │ │ ├── ironic-flavor-setup.yml │ │ └── neutron-flat-net-setup.yml │ ├── ironic-common │ ├── defaults │ │ └── main.yml │ ├── files │ │ ├── policy.json │ │ ├── rootwrap.conf │ │ └── rootwrap.d │ │ │ ├── ironic-images.filters │ │ │ └── ironic-utils.filters │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── _service_status.yml │ │ ├── _set_directories.yml │ │ ├── _write_conf.yml │ │ ├── configure.yml │ │ └── install.yml │ └── templates │ │ ├── ironic-api.conf.j2 │ │ ├── ironic-conductor.conf.j2 │ │ └── logging.conf.j2 │ ├── ironic-conductor │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ ├── stop.yml │ │ └── swift_configure.yml │ └── templates │ │ ├── ironic-rootwrap.j2 │ │ ├── ironic.conf.j2 │ │ ├── map-file.j2 │ │ └── tftp.j2 │ ├── ironic-monitoring │ ├── defaults │ │ └── main.yml │ ├── meta │ │ └── main.yml │ └── tasks │ │ └── monasca_monitoring.yml │ ├── ironic-post-configure │ ├── defaults │ │ └── main.yml │ ├── meta │ │ └── main.yml │ └── tasks │ │ ├── db_configure.yml │ │ └── db_create.yml │ └── ironic-pre-configure │ ├── defaults │ └── main.yml │ ├── meta │ └── main.yml │ └── tasks │ └── keystone_conf.yml ├── hp_keystone_ansible ├── README.md ├── config │ └── keystone-symlinks.yml ├── filter_plugins │ └── osini_filter.py ├── keystone-deploy.yml ├── keystone-reconfigure.yml ├── keystone-start.yml ├── keystone-status.yml ├── keystone-stop.yml ├── keystone-upgrade.yml ├── library │ └── keystone_v3.py └── roles │ ├── KEY-API │ ├── README.md │ ├── defaults │ │ └── main.yml │ ├── files │ │ └── samples │ │ │ └── keystone_configure_ldap_sample.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── _configure_auditing.yml │ │ ├── _configure_deployment_options.yml │ │ ├── _configure_fernet.yml │ │ ├── _configure_ldap.yml │ │ ├── _distribute_fernet_keys.yml │ │ ├── _venv_install.yml │ │ ├── configure.yml │ │ ├── configure_features.yml │ │ ├── db_configure.yml │ │ ├── db_create.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ ├── templates │ │ ├── keystone-modwsgi.conf.j2 │ │ ├── keystone.conf.j2 │ │ ├── keystone.osrc │ │ ├── logging.conf.j2 │ │ ├── policy.v3cloudsample.json │ │ └── service.osrc │ └── vars │ │ └── main.yml │ ├── keystone-common │ ├── defaults │ │ ├── keystone_admin.yml │ │ └── main.yml │ ├── tasks │ │ └── main.yml │ └── vars │ │ └── keystone_deploy_config.yml │ ├── keystone-monitor │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── local_monitor.yml │ │ └── remote_monitor.yml │ └── vars │ │ └── main.yml │ └── keystone-post-configure │ ├── defaults │ └── main.yml │ ├── meta │ └── main.yml │ └── tasks │ └── keystone_conf.yml ├── hp_logging_ansible ├── README.md ├── config │ └── logging-symlinks.yml ├── generate-logs.sh ├── logging-configure.yml ├── logging-deploy.yml ├── logging-install.yml ├── logging-producer-configure.yml ├── logging-producer-deploy.yml ├── logging-producer-install.yml ├── logging-producer-reconfigure.yml ├── logging-producer-start.yml ├── logging-producer-status.yml ├── logging-producer-stop.yml ├── logging-producer-target-configure.yml ├── logging-producer-upgrade.yml ├── logging-reconfigure.yml ├── logging-server-configure.yml ├── logging-server-deploy.yml ├── logging-server-install.yml ├── logging-server-reconfigure.yml ├── logging-server-start.yml ├── logging-server-status.yml ├── logging-server-stop.yml ├── logging-server-upgrade.yml ├── logging-start.yml ├── logging-status.yml ├── logging-stop.yml ├── logging-test.yml ├── logging-upgrade.yml └── roles │ ├── logging-common │ ├── defaults │ │ ├── main.yml │ │ └── test_vars.yml │ ├── handlers │ │ └── main.yml │ └── vars │ │ ├── apache2-clr.yml │ │ ├── apt-clr.yml │ │ ├── beaver-clr.yml │ │ ├── ceilometer-clr.yml │ │ ├── ceph-clr.yml │ │ ├── cinder-clr.yml │ │ ├── elasticsearch-clr.yml │ │ ├── eon-api-clr.yml │ │ ├── eon-conductor-clr.yml │ │ ├── freezer-agent-clr.yml │ │ ├── freezer-api-clr.yml │ │ ├── glance-clr.yml │ │ ├── heat-clr.yml │ │ ├── horizon-clr.yml │ │ ├── ironic-api-clr.yml │ │ ├── ironic-conductor-clr.yml │ │ ├── kafka-clr.yml │ │ ├── keepalived-clr.yml │ │ ├── keystone-clr.yml │ │ ├── logstash-clr.yml │ │ ├── monasca-agent-clr.yml │ │ ├── monasca-api-clr.yml │ │ ├── mysql-clr.yml │ │ ├── neutron-dhcp-clr.yml │ │ ├── neutron-fwaas-clr.yml │ │ ├── neutron-lbaas-clr.yml │ │ ├── neutron-mda-clr.yml │ │ ├── neutron-ovs-clr.yml │ │ ├── neutron-ovsvapp-clr.yml │ │ ├── neutron-server-clr.yml │ │ ├── neutron-vpnaas-clr.yml │ │ ├── nova-api-clr.yml │ │ ├── nova-compute-clr.yml │ │ ├── ops-console-clr.yml │ │ ├── rabbitmq-server-clr.yml │ │ ├── rsyslog-clr.yml │ │ ├── sherpa-clr.yml │ │ ├── shibboleth-clr.yml │ │ ├── swift-clr.yml │ │ ├── vsa-clr.yml │ │ └── zookeeper-clr.yml │ ├── logging-monitor │ ├── files │ │ ├── ApacheDetect.py │ │ ├── BeaverDetect.py │ │ ├── KibanaDetect.py │ │ └── LogstashDetect.py │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── alarm-definitions.yml │ │ ├── configure-PRO.yml │ │ ├── configure-SVR.yml │ │ ├── keystone_conf.yml │ │ ├── start-PRO.yml │ │ └── start-SVR.yml │ └── templates │ │ ├── DirectoryDetect.py.j2 │ │ └── ElasticDetect.py.j2 │ ├── logging-producer │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ ├── stop.yml │ │ └── test.yml │ └── templates │ │ ├── beaver.conf.j2 │ │ ├── beaver.service.j2 │ │ ├── logrotate.conf.j2 │ │ ├── producer.conf.j2 │ │ ├── service-default.conf.j2 │ │ └── service.conf.j2 │ └── logging-server │ ├── handlers │ └── main.yml │ ├── tasks │ ├── configure.yml │ ├── install.yml │ ├── start.yml │ ├── status.yml │ └── stop.yml │ └── templates │ ├── elasticsearch-default.j2 │ ├── elasticsearch.service.j2 │ ├── elasticsearch.yml.j2 │ ├── kibana-apache2.conf.j2 │ ├── kibana.service.j2 │ ├── kibana.yml.j2 │ ├── logging.yml.j2 │ ├── logstash-default.j2 │ ├── logstash.conf.j2 │ ├── logstash.service.j2 │ ├── prime_kibana.py.j2 │ └── prune_es_indices.sh.j2 ├── hp_memcached_ansible ├── README.md ├── _memcached-install.yml ├── memcached-deploy.yml ├── memcached-reconfigure.yml ├── memcached-start.yml ├── memcached-status.yml ├── memcached-stop.yml ├── memcached-upgrade.yml └── roles │ └── memcached │ ├── defaults │ └── main.yml │ ├── handlers │ └── main.yml │ ├── tasks │ ├── configure.yml │ ├── install.yml │ ├── start.yml │ ├── status.yml │ └── stop.yml │ └── templates │ └── memcached.conf.j2 ├── hp_monasca_ansible ├── README.md ├── config │ └── monasca-symlinks.yml ├── monasca-agent-deploy.yml ├── monasca-agent-reconfigure.yml ├── monasca-agent-start.yml ├── monasca-agent-status.yml ├── monasca-agent-stop.yml ├── monasca-agent-upgrade.yml ├── monasca-cli-dev.yml ├── monasca-deploy.yml ├── monasca-rebuild-pretasks.yml ├── monasca-reconfigure.yml ├── monasca-start.yml ├── monasca-status.yml ├── monasca-stop.yml ├── monasca-upgrade.yml ├── monasca-vertica-dbclean.yml ├── monasca-vertica-recovery.yml ├── monasca_tune_libvirt_metrics.yml ├── roles │ ├── hlm-monasca-keystone │ │ ├── LICENSE │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ └── tasks │ │ │ └── main.yml │ ├── influxdb │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ ├── install.yml │ │ │ ├── main.yml │ │ │ ├── start.yml │ │ │ └── stop.yml │ │ └── templates │ │ │ └── influxdb.conf.j2 │ ├── kafka │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── _check_upgraded_pkgs.yml │ │ │ ├── configure.yml │ │ │ ├── install.yml │ │ │ ├── main.yml │ │ │ ├── start.yml │ │ │ └── stop.yml │ │ ├── templates │ │ │ ├── kafka.conf.j2 │ │ │ ├── kafka.service.j2 │ │ │ ├── log4j.properties.j2 │ │ │ └── server.properties.j2 │ │ └── vars │ │ │ └── main.yml │ ├── monasca-agent │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── library │ │ │ └── monasca_agent_plugin.py │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── _check_upgraded_pkgs.yml │ │ │ ├── configure.yml │ │ │ ├── install.yml │ │ │ ├── main.yml │ │ │ ├── start.yml │ │ │ └── stop.yml │ │ ├── templates │ │ │ ├── monasca-reconfigure.j2 │ │ │ └── plugin.yaml.j2 │ │ └── vars │ │ │ └── main.yml │ ├── monasca-ansible-library │ │ └── noop │ │ │ ├── README.md │ │ │ ├── monasca_agent_plugin │ │ │ ├── monasca_alarm_definition │ │ │ └── monasca_notification_method │ ├── monasca-api │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── _check_upgraded_pkgs.yml │ │ │ ├── configure.yml │ │ │ ├── install.yml │ │ │ ├── main.yml │ │ │ ├── start.yml │ │ │ └── stop.yml │ │ ├── templates │ │ │ ├── api-config.yml.j2 │ │ │ ├── monasca-api.conf.j2 │ │ │ └── monasca-api.service.j2 │ │ └── vars │ │ │ └── main.yml │ ├── monasca-default-alarms │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── library │ │ │ ├── README.md │ │ │ ├── monasca_alarm_definition.py │ │ │ └── monasca_notification_method.py │ │ ├── meta │ │ │ └── main.yml │ │ └── tasks │ │ │ ├── main.yml │ │ │ ├── misc_services.yml │ │ │ ├── monasca.yml │ │ │ ├── openstack.yml │ │ │ └── system.yml │ ├── monasca-notification │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── _check_upgraded_pkgs.yml │ │ │ ├── configure.yml │ │ │ ├── install.yml │ │ │ ├── main.yml │ │ │ ├── start.yml │ │ │ └── stop.yml │ │ ├── templates │ │ │ ├── monasca-notification.conf.j2 │ │ │ ├── monasca-notification.service.j2 │ │ │ └── notification.yaml.j2 │ │ └── vars │ │ │ └── main.yml │ ├── monasca-persister │ │ ├── LICENSE │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── _check_upgraded_pkgs.yml │ │ │ ├── configure.yml │ │ │ ├── install.yml │ │ │ ├── java_configure.yml │ │ │ ├── java_install.yml │ │ │ ├── main.yml │ │ │ ├── start.yml │ │ │ └── stop.yml │ │ ├── templates │ │ │ ├── monasca-persister-java.conf.j2 │ │ │ ├── monasca-persister-java.service.j2 │ │ │ ├── persister-config.yml.j2 │ │ │ └── persister.conf.j2 │ │ └── vars │ │ │ └── main.yml │ ├── monasca-schema │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── files │ │ │ ├── mon_alarms_schema.sql │ │ │ └── mon_metrics_schema.sql │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── influxdb.yml │ │ │ ├── kafka_topics.yml │ │ │ ├── main.yml │ │ │ ├── mysql.yml │ │ │ ├── vertica.yml │ │ │ └── winchester.yml │ │ └── templates │ │ │ ├── influxdb_setup.py.j2 │ │ │ ├── mon.sql.j2 │ │ │ ├── mon_users_and_limits.sql.j2 │ │ │ ├── vertica-cleanup.j2 │ │ │ └── winchester.sql.j2 │ ├── monasca-thresh │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ ├── install.yml │ │ │ ├── main.yml │ │ │ ├── start.yml │ │ │ └── stop.yml │ │ ├── templates │ │ │ ├── monasca-thresh.j2 │ │ │ └── thresh-config.yml.j2 │ │ └── vars │ │ │ └── main.yml │ ├── monasca-variables │ │ ├── defaults │ │ │ └── main.yml │ │ ├── files │ │ │ └── SSH.py │ │ └── tasks │ │ │ ├── fix_vertica.yml │ │ │ └── service_status.yml │ ├── storm │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── files │ │ │ ├── storm-logviewer.conf │ │ │ ├── storm-logviewer.service │ │ │ ├── storm-nimbus.conf │ │ │ ├── storm-nimbus.service │ │ │ ├── storm-supervisor.conf │ │ │ ├── storm-supervisor.service │ │ │ ├── storm-ui.conf │ │ │ └── storm-ui.service │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── _check_upgraded_pkgs.yml │ │ │ ├── configure.yml │ │ │ ├── configure_nimbus.yml │ │ │ ├── configure_supervisor.yml │ │ │ ├── install.yml │ │ │ ├── main.yml │ │ │ ├── start.yml │ │ │ ├── start_nimbus.yml │ │ │ ├── start_supervisor.yml │ │ │ ├── stop.yml │ │ │ ├── stop_nimbus.yml │ │ │ └── stop_supervisor.yml │ │ ├── templates │ │ │ ├── cluster.xml.j2 │ │ │ └── storm.yaml.j2 │ │ └── vars │ │ │ ├── main.yml │ │ │ └── nodes.yml │ └── zookeeper │ │ ├── README.md │ │ ├── defaults │ │ └── main.yml │ │ ├── handlers │ │ └── main.yml │ │ ├── meta │ │ └── main.yml │ │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── main.yml │ │ ├── start.yml │ │ └── stop.yml │ │ ├── templates │ │ ├── environment.j2 │ │ ├── log4j.properties.j2 │ │ ├── myid.j2 │ │ └── zoo.cfg.j2 │ │ └── vars │ │ └── main.yml ├── zookeeper-deploy.yml ├── zookeeper-reconfigure.yml ├── zookeeper-start.yml ├── zookeeper-status.yml └── zookeeper-stop.yml ├── hp_mq_ansible ├── README.md ├── config │ └── rabbit-symlinks.yml ├── rabbitmq-deploy.yml ├── rabbitmq-post-upgrade.yml ├── rabbitmq-pre-upgrade.yml ├── rabbitmq-reconfigure.yml ├── rabbitmq-start.yml ├── rabbitmq-status.yml ├── rabbitmq-stop.yml ├── rabbitmq-upgrade.yml └── roles │ └── rabbitmq │ ├── defaults │ └── main.yml │ ├── handlers │ └── main.yml │ ├── meta │ └── main.yml │ ├── tasks │ ├── _disable-plugins.yml │ ├── _enable-plugins.yml │ ├── _join-cluster.yml │ ├── _reset-host.yml │ ├── _wait-for-cluster-sync.yml │ ├── check-plugins.yml │ ├── check-upgraded-pkgs.yml │ ├── configure.yml │ ├── install.yml │ ├── post-configure.yml │ ├── post-upgrade.yml │ ├── pre-configure.yml │ ├── pre-upgrade.yml │ ├── start.yml │ ├── status.yml │ └── stop.yml │ └── templates │ ├── erlang.cookie.j2 │ ├── rabbitmq-env.conf.j2 │ ├── rabbitmq-server.conf.j2 │ ├── rabbitmq-server.logrotate.j2 │ ├── rabbitmq-server.service.j2 │ └── rabbitmq.config.j2 ├── hp_neutron_ansible ├── _neutron-configure.yml ├── _neutron-install.yml ├── config │ └── neutron-symlinks.yml ├── neutron-cloud-configure.yml ├── neutron-deploy.yml ├── neutron-reconfigure.yml ├── neutron-start.yml ├── neutron-status.yml ├── neutron-stop.yml ├── neutron-svc-net-configure.yml ├── neutron-upgrade.yml └── roles │ ├── neutron-cloud-configure │ ├── defaults │ │ └── main.yml │ └── tasks │ │ ├── neutron-ext-net-setup.yml │ │ └── neutron-svc-net-setup.yml │ ├── neutron-common │ ├── defaults │ │ └── main.yml │ ├── files │ │ └── sudoers │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ ├── _configure_dhcp_agent.yml │ │ ├── _configure_l3_agent.yml │ │ ├── _configure_lbaas_agent.yml │ │ ├── _configure_metadata_agent.yml │ │ ├── _configure_neutron_server.yml │ │ ├── _configure_openvswitch_agent.yml │ │ ├── _configure_ovsvapp_agent.yml │ │ ├── _configure_rootwrap.yml │ │ ├── _configure_vpn_agent.yml │ │ ├── _get_real_bin_dir.yml │ │ ├── _service_status.yml │ │ ├── _set_service_directories.yml │ │ ├── _write_conf.yml │ │ ├── add_adminVIP_monasca_checks.yml │ │ ├── common_install.yml │ │ ├── configure.yml │ │ ├── create_systemd_service.yml │ │ ├── install.yml │ │ ├── main.yml │ │ ├── populate.yml │ │ ├── setup_monasca_service_plugin.yml │ │ ├── setup_ovsvapp_monasca_service_plugin.yml │ │ └── start.yml │ ├── templates │ │ ├── api-paste.ini.j2 │ │ ├── debug.filters.j2 │ │ ├── dhcp-agent-logging.conf.j2 │ │ ├── dhcp.filters.j2 │ │ ├── dhcp_agent.ini.j2 │ │ ├── dnsmasq-neutron.conf.j2 │ │ ├── fwaas_driver.ini.j2 │ │ ├── ipset-firewall.filters.j2 │ │ ├── iptables-firewall.filters.j2 │ │ ├── l3-agent-logging.conf.j2 │ │ ├── l3.filters.j2 │ │ ├── l3_agent.ini.j2 │ │ ├── lbaas-agent-logging.conf.j2 │ │ ├── lbaas-haproxy.filters.j2 │ │ ├── lbaas_agent.ini.j2 │ │ ├── linuxbridge-plugin.filters.j2 │ │ ├── logging.conf.j2 │ │ ├── metadata-agent-logging.conf.j2 │ │ ├── metadata_agent.ini.j2 │ │ ├── ml2_conf.ini.j2 │ │ ├── nec-plugin.filters.j2 │ │ ├── neutron-common-rundir.service.j2 │ │ ├── neutron-component.service.j2 │ │ ├── neutron-ovsvapp-agent-monitor.service.j2 │ │ ├── neutron-ovsvapp-agent.service.j2 │ │ ├── neutron.conf.j2 │ │ ├── neutron_modules_load.conf.j2 │ │ ├── nginx-default.j2 │ │ ├── openvswitch-agent-logging.conf.j2 │ │ ├── openvswitch-plugin.filters.j2 │ │ ├── openvswitch_agent.ini.j2 │ │ ├── ovsvapp-agent-logging.conf.j2 │ │ ├── ovsvapp_agent.ini.j2 │ │ ├── policy.json.j2 │ │ ├── rootwrap.conf.j2 │ │ ├── server.ini.j2 │ │ ├── vpn-agent-logging.conf.j2 │ │ ├── vpn_agent.ini.j2 │ │ └── vpnaas.filters.j2 │ └── vars │ │ ├── dvr_snat_l3_agent.yml │ │ └── main.yml │ ├── neutron-dhcp-agent │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── vars │ │ └── main.yml │ ├── neutron-l3-agent │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── vars │ │ └── main.yml │ ├── neutron-lbaas-agent │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── vars │ │ └── main.yml │ ├── neutron-lbaasv2-agent │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── vars │ │ └── main.yml │ ├── neutron-metadata-agent │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── vars │ │ └── main.yml │ ├── neutron-ml2-plugin │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ └── install.yml │ └── vars │ │ └── main.yml │ ├── neutron-openvswitch-agent │ ├── defaults │ │ └── main.yml │ ├── files │ │ └── neutron-ovs-cleanup.service │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── vars │ │ └── main.yml │ ├── neutron-ovsvapp-agent │ ├── defaults │ │ └── main.yml │ ├── files │ │ └── etc │ │ │ └── logrotate.d │ │ │ └── neutron-ovsvapp-agent │ ├── handlers │ │ └── main.yml │ └── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── notify_result.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ ├── neutron-post-configure │ ├── defaults │ │ └── main.yml │ ├── meta │ │ └── main.yml │ └── tasks │ │ ├── db_configure.yml │ │ ├── db_create.yml │ │ └── keystone_conf.yml │ ├── neutron-server │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── vars │ │ └── main.yml │ └── neutron-vpn-agent │ ├── defaults │ └── main.yml │ ├── handlers │ └── main.yml │ ├── tasks │ ├── configure.yml │ ├── install.yml │ ├── start.yml │ ├── status.yml │ └── stop.yml │ └── vars │ └── main.yml ├── hp_nova_ansible ├── HACKING.rst ├── README.md ├── _nova-configure.yml ├── _nova-install.yml ├── _nova-post-configure.yml ├── config │ └── nova-symlinks.yml ├── nova-cloud-configure.yml ├── nova-deploy.yml ├── nova-reconfigure.yml ├── nova-start.yml ├── nova-status.yml ├── nova-stop.yml ├── nova-upgrade.yml └── roles │ ├── NOV-API │ ├── README.md │ ├── defaults │ │ └── main.yml │ ├── files │ │ └── api-paste.ini │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── api-logging.conf.j2 │ │ └── api.conf.j2 │ ├── NOV-CAU │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ ├── templates │ │ ├── consoleauth-logging.conf.j2 │ │ └── consoleauth.conf.j2 │ └── vars │ │ └── run_location.yml │ ├── NOV-CLI │ ├── defaults │ │ └── main.yml │ └── tasks │ │ └── availability_zones.yml │ ├── NOV-CMP │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── compute-logging.conf.j2 │ │ └── compute.conf.j2 │ ├── NOV-CND │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── conductor-logging.conf.j2 │ │ └── conductor.conf.j2 │ ├── NOV-ESX │ ├── defaults │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ └── configure.yml │ └── templates │ │ └── hypervisor.conf.j2 │ ├── NOV-IRN │ ├── defaults │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ └── install.yml │ └── templates │ │ └── hypervisor.conf.j2 │ ├── NOV-KVM │ ├── defaults │ │ └── main.yml │ ├── files │ │ └── etc │ │ │ ├── apparmor.d │ │ │ ├── abstractions │ │ │ │ ├── base │ │ │ │ ├── consoles │ │ │ │ ├── libvirt-qemu │ │ │ │ └── nameservice │ │ │ ├── usr.lib.libvirt.virt-aa-helper │ │ │ └── usr.sbin.libvirtd │ │ │ ├── default │ │ │ └── libvirtd │ │ │ ├── libvirt │ │ │ └── libvirtd.conf │ │ │ └── logrotate.d │ │ │ └── libvirt │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ └── install.yml │ └── templates │ │ └── hypervisor.conf.j2 │ ├── NOV-MON │ ├── defaults │ │ └── main.yml │ ├── meta │ │ └── main.yml │ └── tasks │ │ ├── _monitor_libvirt.yml │ │ ├── process_bounds_alarm.yml │ │ └── start.yml │ ├── NOV-SCH-IRN │ ├── defaults │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ └── install.yml │ └── templates │ │ └── hypervisor.conf.j2 │ ├── NOV-SCH │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── scheduler-logging.conf.j2 │ │ └── scheduler.conf.j2 │ ├── NOV-VNC │ ├── defaults │ │ └── main.yml │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ └── templates │ │ ├── novncproxy-logging.conf.j2 │ │ └── novncproxy.conf.j2 │ ├── nova-common │ ├── defaults │ │ └── main.yml │ ├── files │ │ ├── nova-rootwrap │ │ ├── policy.json │ │ └── rootwrap.d │ │ │ ├── api-metadata.filters │ │ │ ├── baremetal-compute-ipmi.filters │ │ │ ├── baremetal-deploy-helper.filters │ │ │ ├── compute.filters │ │ │ ├── consoleauth.filters │ │ │ ├── network.filters │ │ │ └── novnc.filters │ ├── handlers │ │ └── main.yml │ ├── meta │ │ └── main.yml │ ├── tasks │ │ ├── _configure_policy.yml │ │ ├── _configure_rootwrap.yml │ │ ├── _service_status.yml │ │ ├── _set_directories.yml │ │ ├── _singleton_service_status.yml │ │ ├── _write_conf.yml │ │ ├── configure.yml │ │ ├── install.yml │ │ └── show-vars.yml │ └── templates │ │ ├── modules_load.conf.j2 │ │ ├── nova.conf.j2 │ │ └── rootwrap.conf.j2 │ └── nova-post-configure │ ├── defaults │ └── main.yml │ ├── meta │ └── main.yml │ └── tasks │ ├── db_configure.yml │ ├── db_contract.yml │ ├── db_create.yml │ ├── db_expand.yml │ ├── keystone_conf.yml │ └── rabbit_configure.yml ├── hp_osconfig_ansible ├── README.md ├── _osconfig-base.yml ├── _osconfig-post-upgrade.yml ├── _osconfig-pre-upgrade.yml ├── _osconfig-upgrade.yml ├── _osconfig_probe.yml ├── config │ ├── multipath-symlinks.yml │ └── sysctl-symlinks.yml ├── filter_plugins │ ├── chain.py │ ├── device_group.py │ └── split.py ├── hosts │ └── localhost ├── library │ ├── debian_restart_networking │ ├── iptables_command │ ├── iptables_update │ └── wipe_disk ├── osconfig-iptables-deploy.yml ├── osconfig-iptables-reconfigure.yml ├── osconfig-iptables-upgrade.yml ├── osconfig-run.yml ├── roles │ ├── diskconfig │ │ ├── defaults │ │ │ └── main.yml │ │ └── tasks │ │ │ ├── configure.yml │ │ │ ├── get_disk_info.yml │ │ │ ├── install.yml │ │ │ ├── wipe_confirmation.yml │ │ │ └── wipe_disks.yml │ ├── multipath │ │ ├── README.md │ │ ├── library │ │ │ └── get_wwid.py │ │ ├── tasks │ │ │ └── install.yml │ │ ├── templates │ │ │ └── multipath.conf.j2 │ │ └── vars │ │ │ ├── Debian.yml │ │ │ ├── RedHat.yml │ │ │ ├── main.yml │ │ │ └── multipath_vars.yml │ ├── network_interface │ │ ├── README.md │ │ ├── defaults │ │ │ └── main.yml │ │ ├── meta │ │ │ ├── .galaxy_install_info │ │ │ └── main.yml │ │ ├── tasks │ │ │ └── main.yml │ │ ├── templates │ │ │ ├── bond_Debian.j2 │ │ │ ├── bond_RedHat.j2 │ │ │ ├── bond_slave_Debian.j2 │ │ │ ├── bond_slave_RedHat.j2 │ │ │ ├── bonding.conf.j2 │ │ │ ├── bridge_Debian.j2 │ │ │ ├── bridge_RedHat.j2 │ │ │ ├── ethernet_Debian.j2 │ │ │ ├── ethernet_RedHat.j2 │ │ │ ├── nic_mapping.j2 │ │ │ ├── ovs_bridge_Debian.j2 │ │ │ ├── route_RedHat.j2 │ │ │ └── vlan_Debian.j2 │ │ └── vars │ │ │ ├── Debian.yml │ │ │ ├── RedHat.yml │ │ │ └── main.yml │ ├── osconfig-common │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── tasks │ │ │ └── main.yml │ │ ├── templates │ │ │ └── default-irqbalance.j2 │ │ └── vars │ │ │ └── main.yml │ ├── osconfig-iptables │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ └── install.yml │ │ └── vars │ │ │ ├── Debian.yml │ │ │ └── main.yml │ ├── osconfig-ntp-client │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ ├── install.yml │ │ │ └── start.yml │ │ └── templates │ │ │ └── ntp.conf.j2 │ ├── osconfig-ntp-server │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ ├── install.yml │ │ │ └── start.yml │ │ └── templates │ │ │ └── ntp.conf.j2 │ ├── osconfig-probe │ │ ├── library │ │ │ └── probe.py │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ └── install.yml │ │ ├── templates │ │ │ ├── dmi_data.j2 │ │ │ ├── drive_configuration.j2 │ │ │ ├── interface_configuration.j2 │ │ │ ├── meminfo.j2 │ │ │ └── packages.j2 │ │ └── vars │ │ │ └── main.yml │ ├── osconfig │ │ ├── defaults │ │ │ └── main.yml │ │ ├── files │ │ │ ├── kdump_config │ │ │ └── openvswitch-switch │ │ ├── tasks │ │ │ ├── check-for-apt-repo.yml │ │ │ ├── copy-hlm-version-file.yml │ │ │ ├── install-ansible-prereqs.yml │ │ │ ├── marker.yml │ │ │ ├── patch-openvswitch.yml │ │ │ ├── set-hostname.yml │ │ │ ├── set-no-proxy.yml │ │ │ ├── set-timezone.yml │ │ │ ├── setup-apt.yml │ │ │ ├── setup-crash-dump.yml │ │ │ ├── setup-debug-tools.yml │ │ │ ├── setup-hosts-file.yml │ │ │ ├── setup-resolv-conf.yml │ │ │ ├── setup-sudo-conf.yml │ │ │ └── wait-for-ssh.yml │ │ ├── templates │ │ │ ├── priority.d.j2 │ │ │ ├── resolv.conf.j2 │ │ │ └── timezone.j2 │ │ └── vars │ │ │ └── main.yml │ ├── sysctl │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── tasks │ │ │ └── main.yml │ │ ├── templates │ │ │ ├── helion_sysctl.conf.j2 │ │ │ └── sysctl_modules_load.conf.j2 │ │ └── vars │ │ │ ├── helion_kernel_modules.yml │ │ │ └── main.yml │ └── udev │ │ ├── defaults │ │ └── main.yml │ │ ├── tasks │ │ └── configure.yml │ │ └── templates │ │ └── udev-unit.j2 ├── sysctl.yml ├── udev.yml └── wipe_disks.yml ├── hp_swift_ansible ├── README.md ├── _swift-configure.yml ├── _swift-functional-test-setup.yml ├── _swift-install.yml ├── _swift-make-delta-rebalance.yml ├── _swift-post-configure.yml ├── _swift-validate-input-model.yml ├── _swiftlm-provision.yml ├── config │ └── swift-symlinks.yml ├── roles │ ├── SWF-ACC │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ ├── install.yml │ │ │ ├── start.yml │ │ │ ├── status.yml │ │ │ └── stop.yml │ │ └── templates │ │ │ └── account-server.conf.j2 │ ├── SWF-CON │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ ├── install.yml │ │ │ ├── populate.yml │ │ │ ├── start.yml │ │ │ ├── status.yml │ │ │ └── stop.yml │ │ └── templates │ │ │ ├── container-reconciler.conf.j2 │ │ │ ├── container-server.conf.j2 │ │ │ └── container-sync-realms.conf.j2 │ ├── SWF-EXP │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ ├── install.yml │ │ │ ├── start.yml │ │ │ ├── status.yml │ │ │ └── stop.yml │ │ └── templates │ │ │ └── object-expirer.conf.j2 │ ├── SWF-OBJ │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ ├── install.yml │ │ │ ├── populate.yml │ │ │ ├── start.yml │ │ │ ├── status.yml │ │ │ └── stop.yml │ │ └── templates │ │ │ ├── object-server.conf.j2 │ │ │ └── swift-recon.j2 │ ├── SWF-PRX │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ ├── install.yml │ │ │ ├── populate.yml │ │ │ ├── start.yml │ │ │ ├── status.yml │ │ │ └── stop.yml │ │ └── templates │ │ │ └── proxy-server.conf.j2 │ ├── _SWF-CMN │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── library │ │ │ └── storage_policies.py │ │ ├── tasks │ │ │ ├── _service_status.yml │ │ │ ├── configure.yml │ │ │ ├── get_storage_policies_fact.yml │ │ │ ├── install.yml │ │ │ └── provision_storage.yml │ │ └── templates │ │ │ ├── 40-swift.conf.j2 │ │ │ ├── disk_models.j2 │ │ │ ├── drive-audit.conf.j2 │ │ │ └── swift.conf.j2 │ ├── _SWF-RSY │ │ ├── defaults │ │ │ └── main.yml │ │ ├── handlers │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ ├── start.yml │ │ │ └── stop.yml │ │ └── templates │ │ │ └── rsyncd.conf.j2 │ ├── swift-functional │ │ ├── defaults │ │ │ └── main.yml │ │ ├── library │ │ │ └── urlparser.py │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── configure.yml │ │ │ └── make-testers.yml │ │ └── templates │ │ │ ├── swift_functional.osrc.j2 │ │ │ └── test.conf.j2 │ ├── swift-monitor │ │ ├── defaults │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── monasca_agents.yml │ │ │ ├── monasca_alarms.yml │ │ │ └── monasca_custom_plugins.yml │ │ ├── templates │ │ │ └── swiftlm-scan-users │ │ └── vars │ │ │ └── main.yml │ ├── swift-post-configure │ │ ├── defaults │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── keystone_conf.yml │ │ │ └── swiftlm.yml │ │ └── templates │ │ │ └── swiftlm-scan.conf.j2 │ ├── swiftlm-provision │ │ └── tasks │ │ │ ├── install.yml │ │ │ └── main.yml │ ├── swiftlm-ring-supervisor │ │ ├── defaults │ │ │ └── main.yml │ │ ├── meta │ │ │ └── main.yml │ │ ├── tasks │ │ │ ├── build-rings.yml │ │ │ ├── configure.yml │ │ │ ├── deploy-rings.yml │ │ │ ├── fetch-ring-tarball.yml │ │ │ └── validate-input-model.yml │ │ ├── templates │ │ │ ├── drive_configuration.j2 │ │ │ ├── input-model.j2 │ │ │ └── swift_ring_builder_consumes.j2 │ │ └── vars │ │ │ └── main.yml │ └── swiftlm-uptime-monitor │ │ ├── defaults │ │ └── main.yml │ │ ├── handlers │ │ └── main.yml │ │ ├── meta │ │ └── main.yml │ │ ├── tasks │ │ ├── configure.yml │ │ ├── install.yml │ │ ├── start.yml │ │ ├── status.yml │ │ └── stop.yml │ │ └── templates │ │ └── swiftlm-uptime-monitor.conf.j2 ├── swift-deploy.yml ├── swift-reconfigure.yml ├── swift-start.yml ├── swift-status.yml ├── swift-stop.yml ├── swift-upgrade.yml └── swiftlm-uptime-monitor.yml ├── hp_swiftlm ├── LICENSE ├── README.md ├── TODO.md ├── docs │ ├── Makefile │ ├── index.rst │ ├── monasca_plugin.rst │ ├── standalone_scripts.rst │ ├── swiftlm_scan_metrics.rst │ ├── swiftlm_uptime_mon_metrics.rst │ └── test_runner.rst ├── etc │ └── hlm_storage.conf.sample ├── requirements.txt ├── setup.py ├── swiftlm │ ├── __init__.py │ ├── cli │ │ ├── __init__.py │ │ ├── drive_provision.py │ │ ├── runner.py │ │ ├── supervisor.py │ │ └── uptime_mon.py │ ├── generic_hardware │ │ ├── __init__.py │ │ └── network_interface.py │ ├── hp_hardware │ │ ├── __init__.py │ │ └── hpssacli.py │ ├── monasca │ │ ├── __init__.py │ │ ├── check_plugins │ │ │ ├── __init__.py │ │ │ └── swiftlm_check.py │ │ └── detect_plugins │ │ │ ├── __init__.py │ │ │ └── swiftlm_detect.py │ ├── rings │ │ ├── __init__.py │ │ ├── hlm_model.py │ │ ├── ring_builder.py │ │ └── ring_model.py │ ├── swift │ │ ├── __init__.py │ │ ├── drive_audit.py │ │ ├── file_ownership.py │ │ ├── replication.py │ │ └── swift_services.py │ ├── systems │ │ ├── __init__.py │ │ ├── check_mounts.py │ │ ├── connectivity.py │ │ └── ntp.py │ └── utils │ │ ├── __init__.py │ │ ├── drivedata.py │ │ ├── metricdata.py │ │ ├── ringdata.py │ │ ├── status.py │ │ ├── utility.py │ │ └── values.py ├── test-requirements.txt ├── test_swiftlm_check.py ├── tests │ ├── __init__.py │ ├── cli │ │ └── test_uptime_mon.py │ ├── data │ │ ├── __init__.py │ │ ├── drive_audit_data.py │ │ ├── drive_data.py │ │ ├── hpssacli_data.py │ │ ├── ring_padawan.py │ │ ├── rings_data.py │ │ └── rings_ringspecs.py │ ├── generic_hardware │ │ ├── __init__.py │ │ └── test_network_interface.py │ ├── hp_hardware │ │ ├── __init__.py │ │ └── test_hpssacli.py │ ├── monasca │ │ ├── __init__.py │ │ ├── check_plugins │ │ │ └── __init__.py │ │ └── detect_plugins │ │ │ ├── __init__.py │ │ │ └── test_swiftlm_detect.py │ ├── rings │ │ ├── __init__.py │ │ ├── test_hlm_model.py │ │ ├── test_padawan.py │ │ └── test_ring_model.py │ ├── swift │ │ ├── __init__.py │ │ ├── test_drive_audit.py │ │ ├── test_file_ownership.py │ │ ├── test_replication.py │ │ └── test_swift_services.py │ ├── systems │ │ ├── __init__.py │ │ ├── test_check_mounts.py │ │ ├── test_connectivity.py │ │ └── test_ntp.py │ └── utils │ │ ├── __init__.py │ │ ├── test_drivedata.py │ │ ├── test_metricdata.py │ │ └── test_utility.py └── tox.ini ├── hp_tempest_ansible ├── README.md ├── roles │ └── TPS-TST │ │ ├── files │ │ ├── .testr.conf │ │ ├── README.md │ │ ├── run_filters │ │ │ ├── ci.txt │ │ │ ├── periodic-virtual.txt │ │ │ ├── periodic.txt │ │ │ ├── smoke.txt │ │ │ ├── tests-ci.txt │ │ │ └── tests2skip.txt │ │ └── tests2skip.py │ │ ├── tasks │ │ ├── cleanup.yml │ │ ├── configure.yml │ │ ├── fail-safely.yml │ │ ├── install.yml │ │ ├── run.yml │ │ └── test-resources.yml │ │ ├── templates │ │ ├── generate-subunit.sh.j2 │ │ ├── helion-tempest.sh.j2 │ │ └── tempest.conf.j2 │ │ └── vars │ │ └── main.yml ├── tempest-deploy.yml ├── tempest-run.yml └── tempest-upgrade.yml └── hp_tls_ansible ├── config └── tls-frontend-symlinks.yml ├── filter_plugins └── tls_filters.py ├── roles ├── tls-frontend │ ├── defaults │ │ └── main.yml │ └── tasks │ │ └── install.yml ├── tls-trust │ ├── defaults │ │ └── main.yml │ └── tasks │ │ └── install.yml └── tls-vars │ └── defaults │ └── main.yml ├── tls-deploy.yml ├── tls-trust-deploy.yml └── tls-upgrade.yml /hp_ceilometer_ansible/ceilometer-reconfigure.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: _ceilometer-configure.yml 19 | - include: ceilometer-start.yml 20 | -------------------------------------------------------------------------------- /hp_ceilometer_ansible/roles/CEI-API/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _CEI-CMN 19 | 20 | -------------------------------------------------------------------------------- /hp_ceilometer_ansible/roles/CEI-CAG/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _CEI-CMN 19 | -------------------------------------------------------------------------------- /hp_ceilometer_ansible/roles/CEI-CAG/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_CEI-CMN/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_ceilometer_ansible/roles/CEI-COL/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _CEI-CMN 19 | -------------------------------------------------------------------------------- /hp_ceilometer_ansible/roles/CEI-COL/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_CEI-CMN/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_ceilometer_ansible/roles/CEI-EXP/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _CEI-CMN 19 | 20 | -------------------------------------------------------------------------------- /hp_ceilometer_ansible/roles/CEI-NAG/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _CEI-CMN 19 | -------------------------------------------------------------------------------- /hp_ceilometer_ansible/roles/CEI-NAG/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_CEI-CMN/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_ceph_ansible/ceph-deploy.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: _ceph_bootstrap_first_monitor.yml 19 | - include: _ceph_deploy.yml -------------------------------------------------------------------------------- /hp_ceph_ansible/roles/CEP-MON/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | dependencies: 19 | - role: _CEP-CMN 20 | -------------------------------------------------------------------------------- /hp_ceph_ansible/roles/CEP-MON/tasks/install.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_CEP-CMN/tasks/install.yml 19 | -------------------------------------------------------------------------------- /hp_ceph_ansible/roles/CEP-OSD/files/ceph-osd.target: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=ceph osd target allowing to start/stop all ceph osd service instances at once 3 | PartOf=ceph.target 4 | 5 | [Install] 6 | WantedBy=ceph.target -------------------------------------------------------------------------------- /hp_ceph_ansible/roles/CEP-OSD/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | dependencies: 19 | - role: _CEP-CMN 20 | -------------------------------------------------------------------------------- /hp_ceph_ansible/roles/CEP-OSD/tasks/install.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_CEP-CMN/tasks/install.yml -------------------------------------------------------------------------------- /hp_ceph_ansible/roles/_CEP-CMN/files/ceph.target: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=ceph target allows starting and stopping all ceph*@.service instances at once 3 | [Install] 4 | WantedBy=multi-user.target 5 | -------------------------------------------------------------------------------- /hp_ceph_ansible/roles/ceph-client-prepare/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | pg_active_delay_time: 10 19 | pg_active_retries: 5 20 | -------------------------------------------------------------------------------- /hp_ceph_ansible/roles/ceph-client-prepare/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | dependencies: 19 | - role: _CEP-CMN 20 | 21 | -------------------------------------------------------------------------------- /hp_ceph_ansible/roles/ceph-client-prepare/tasks/install.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_CEP-CMN/tasks/install-client.yml -------------------------------------------------------------------------------- /hp_ceph_ansible/roles/ceph-deployer/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- -------------------------------------------------------------------------------- /hp_ceph_ansible/roles/ceph-deployer/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | dependencies: 19 | - role: _CEP-CMN 20 | -------------------------------------------------------------------------------- /hp_ceph_ansible/roles/ceph-deployer/tasks/install.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_CEP-CMN/tasks/install-client.yml -------------------------------------------------------------------------------- /hp_ceph_ansible/roles/ceph-monitoring/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_ceph_ansible/roles/ceph-monitoring/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - { role: monasca-agent, run_mode: Use } 19 | -------------------------------------------------------------------------------- /hp_cinder_ansible/cinder-reconfigure.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | - include: _cinder-configure.yml 18 | - include: cinder-start.yml 19 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-API/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _CND-CMN 19 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-API/tasks/populate.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-API/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_CND-CMN/tasks/_service_status.yml 19 | 20 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-API/templates/api.conf.j2: -------------------------------------------------------------------------------- 1 | {# 2 | # 3 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 | # not use this file except in compliance with the License. You may obtain 7 | # a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 | # License for the specific language governing permissions and limitations 15 | # under the License. 16 | # 17 | #} 18 | [DEFAULT] 19 | log_config_append={{ cinder_api_conf_dir }}/api-logging.conf 20 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-BCK/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _CND-CMN 19 | - role: CND-VOL 20 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-BCK/tasks/populate.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-BCK/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_CND-CMN/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-SCH/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _CND-CMN 19 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-SCH/tasks/populate.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-SCH/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_CND-CMN/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-SVC/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-SVC/tasks/configure.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-SVC/tasks/populate.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-VOL/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _CND-CMN 19 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-VOL/tasks/populate.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-VOL/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_CND-CMN/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-VOL/templates/cindervolume.fact.j2: -------------------------------------------------------------------------------- 1 | {# 2 | # 3 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 | # not use this file except in compliance with the License. You may obtain 7 | # a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 | # License for the specific language governing permissions and limitations 15 | # under the License. 16 | # 17 | #} 18 | [status] 19 | running = False 20 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/CND-VOL/templates/etc/tgt/conf.d/cinder.conf.j2: -------------------------------------------------------------------------------- 1 | {# 2 | # 3 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 | # not use this file except in compliance with the License. You may obtain 7 | # a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 | # License for the specific language governing permissions and limitations 15 | # under the License. 16 | # 17 | #} 18 | include {{ cinder_state_path }}/volumes/* 19 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/_CND-CMN/files/etc/sudoers.d/cinder-rootwrap: -------------------------------------------------------------------------------- 1 | Defaults:cinder !requiretty 2 | 3 | cinder ALL = (root) NOPASSWD: /usr/local/bin/cinder-rootwrap /etc/cinder/rootwrap.conf * 4 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/_CND-CMN/tasks/populate.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_cinder_ansible/roles/cinder-monitor/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _CND-CMN 19 | - role: CND-API 20 | -------------------------------------------------------------------------------- /hp_cinderlm/README.md: -------------------------------------------------------------------------------- 1 | 2 | (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | not use this file except in compliance with the License. You may obtain 6 | a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | License for the specific language governing permissions and limitations 14 | under the License. 15 | 16 | 17 | # cinderlm - Cinder Lifecycle Managment 18 | 19 | Cinder diagnostic scripts. 20 | -------------------------------------------------------------------------------- /hp_cinderlm/cinderlm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_cinderlm/cinderlm/__init__.py -------------------------------------------------------------------------------- /hp_cinderlm/cinderlm/monasca/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_cinderlm/cinderlm/monasca/__init__.py -------------------------------------------------------------------------------- /hp_cinderlm/cinderlm/monasca/check_plugins/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_cinderlm/cinderlm/monasca/check_plugins/__init__.py -------------------------------------------------------------------------------- /hp_cinderlm/cinderlm/monasca/detect_plugins/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_cinderlm/cinderlm/monasca/detect_plugins/__init__.py -------------------------------------------------------------------------------- /hp_cinderlm/requirements.txt: -------------------------------------------------------------------------------- 1 | python-cinderclient 2 | python-swiftclient 3 | python-glanceclient 4 | python-novaclient 5 | pyyaml 6 | -------------------------------------------------------------------------------- /hp_cinderlm/test-requirements.txt: -------------------------------------------------------------------------------- 1 | hacking 2 | pygments 3 | nose 4 | nose-exclude 5 | coverage 6 | nosehtmloutput 7 | testtools 8 | -------------------------------------------------------------------------------- /hp_cluster_ansible/roles/FND-AP2/handlers/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - name: apache2_change 19 | set_fact: 20 | apache2_restart_required: true 21 | -------------------------------------------------------------------------------- /hp_cluster_ansible/roles/FND-AP2/meta/main.yml: -------------------------------------------------------------------------------- 1 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 4 | # not use this file except in compliance with the License. You may obtain 5 | # a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12 | # License for the specific language governing permissions and limitations 13 | # under the License. 14 | --- 15 | 16 | dependencies: 17 | - systemd-sysv-fixup 18 | -------------------------------------------------------------------------------- /hp_cluster_ansible/roles/FND-CLU/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | dependencies: 19 | - { role: haproxy } 20 | - { role: keepalived } 21 | -------------------------------------------------------------------------------- /hp_cluster_ansible/roles/haproxy/files/enable_nonlocal_binding: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o nounset 4 | set -o errexit 5 | set -o pipefail 6 | 7 | if /sbin/sysctl -ne net.ipv4.ip_nonlocal_bind > /dev/null; then 8 | echo 1 > /proc/sys/net/ipv4/ip_nonlocal_bind 9 | fi 10 | 11 | if $( ! grep -s -E "^\s*net.ipv4.ip_nonlocal_bind\s*=\s*1" /etc/sysctl.conf > /dev/null ) ; then 12 | sed -i '/net.ipv4.ip_nonlocal_bind/d' /etc/sysctl.conf 13 | echo "net.ipv4.ip_nonlocal_bind = 1" >> /etc/sysctl.conf 14 | fi 15 | -------------------------------------------------------------------------------- /hp_cluster_ansible/roles/keepalived/meta/main.yml: -------------------------------------------------------------------------------- 1 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 4 | # not use this file except in compliance with the License. You may obtain 5 | # a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12 | # License for the specific language governing permissions and limitations 13 | # under the License. 14 | --- 15 | 16 | dependencies: 17 | - systemd-sysv-fixup 18 | -------------------------------------------------------------------------------- /hp_cobbler_ansible/roles/cobbler/files/atftpd: -------------------------------------------------------------------------------- 1 | USE_INETD=false 2 | OPTIONS="--tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 1 --maxthread 100 --verbose=5 /srv/tftp" 3 | -------------------------------------------------------------------------------- /hp_cobbler_ansible/roles/cobbler/files/configure_kdump: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | sed -i 's/GRUB_CMDLINE_LINUX=""/GRUB_CMDLINE_LINUX="crashkernel=384M-2G:64M,2G-:256M"/g' /etc/default/grub 3 | update-grub 4 | 5 | -------------------------------------------------------------------------------- /hp_cobbler_ansible/roles/cobbler/files/configure_network.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | intf=`ip addr | grep -A2 UP | tail -1 | awk '{print $NF}'` 3 | cidr=`ip addr | grep -A2 UP | tail -1 | awk '{print $2}'` 4 | gateway=`ip route | grep default | awk '{print $3}'` 5 | echo source "/etc/network/interfaces.d/*" > /etc/network/interfaces 6 | echo auto lo >> /etc/network/interfaces 7 | echo iface lo inet loopback >> /etc/network/interfaces 8 | echo auto ${intf} > /etc/network/interfaces.d/${intf} 9 | echo iface ${intf} inet static >> /etc/network/interfaces.d/${intf} 10 | echo address ${cidr} >> /etc/network/interfaces.d/${intf} 11 | -------------------------------------------------------------------------------- /hp_cobbler_ansible/roles/cobbler/files/configure_partitioning: -------------------------------------------------------------------------------- 1 | if [ -e /sys/firmware/efi ] 2 | then 3 | wget -O ./partition_scheme http://$1/preseed/partition-uefi 4 | else 5 | wget -O ./partition_scheme http://$1/preseed/partition-pxe 6 | fi 7 | -------------------------------------------------------------------------------- /hp_cobbler_ansible/roles/cobbler/files/fence_ipmilan.template: -------------------------------------------------------------------------------- 1 | action=$power_mode 2 | ipaddr=$power_address 3 | login=$power_user 4 | passwd=$power_pass 5 | lanplus 6 | power_wait=4 7 | -------------------------------------------------------------------------------- /hp_cobbler_ansible/roles/cobbler/files/validate_yaml: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | import json 4 | import jsonschema 5 | import sys 6 | import yaml 7 | 8 | with open(sys.argv[1], 'r') as schema: 9 | schema_yml = yaml.load(schema) 10 | schema_json = json.dumps(schema_yml) 11 | schema_contents = json.loads(schema_json) 12 | 13 | with open(sys.argv[2], 'r') as data_file: 14 | data_yml = yaml.load(data_file) 15 | data_json = json.dumps(data_yml) 16 | data_contents = json.loads(data_json) 17 | 18 | try: 19 | jsonschema.validate(data_contents, schema_contents) 20 | except Exception as e: 21 | print "ERROR: " + str(e) 22 | sys.exit(1) 23 | -------------------------------------------------------------------------------- /hp_cobbler_ansible/roles/cobbler/templates/grub.cfg.j2: -------------------------------------------------------------------------------- 1 | {# 2 | # 3 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 4 | # 5 | #} 6 | set default=0 7 | loadfont /boot/grub/fonts/unicode.pf2 8 | set gfxmode=auto 9 | insmod efi_gop 10 | insmod efi_uga 11 | insmod gfxterm 12 | insmod legacycfg 13 | set locale_dir=/boot/grub/locale 14 | set lang=en_US 15 | set timeout=10 16 | insmod gettext 17 | terminal_output gfxterm 18 | eval "set hostname=\$net_${net_default_interface}_hostname" 19 | 20 | echo $hostname 21 | 22 | tr -s boot_name : - $net_default_mac 23 | tr -U -s config $boot_name 24 | 25 | legacy_source (tftp)/grub/01-$config 26 | -------------------------------------------------------------------------------- /hp_db_ansible/roles/FND-MDB-lifecycle/vars/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_db_ansible/roles/FND-MDB/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | dependencies: 19 | - {role: monasca-agent, run_mode: Use} 20 | -------------------------------------------------------------------------------- /hp_db_ansible/roles/FND-MDB/templates/home/.my.cnf: -------------------------------------------------------------------------------- 1 | {# (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP #} 2 | [client] 3 | user={{ mysql_root_user }} 4 | password={{ mysql_root_pwd }} 5 | -------------------------------------------------------------------------------- /hp_freezer_ansible/roles/freezer-agent/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | dependencies: 19 | - { role: monasca-agent, run_mode: Use } 20 | -------------------------------------------------------------------------------- /hp_freezer_ansible/roles/freezer-api/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | dependencies: 19 | - { role: monasca-agent, run_mode: Use } 20 | -------------------------------------------------------------------------------- /hp_freezer_ansible/roles/freezer-jobs/templates/ssh_key.j2: -------------------------------------------------------------------------------- 1 | {# 2 | # 3 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 | # not use this file except in compliance with the License. You may obtain 7 | # a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 | # License for the specific language governing permissions and limitations 15 | # under the License. 16 | # 17 | #} 18 | {{ freezer_ssh_private_key }} 19 | -------------------------------------------------------------------------------- /hp_freezer_ansible/roles/freezer-post-configure/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_glance_ansible/roles/GLA-API/files/etc/dbconfig-common/glance-common.conf: -------------------------------------------------------------------------------- 1 | dbc_dbtype='sqlite3' 2 | -------------------------------------------------------------------------------- /hp_glance_ansible/roles/GLA-API/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _GLA-CMN 19 | -------------------------------------------------------------------------------- /hp_glance_ansible/roles/GLA-API/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_GLA-CMN/tasks/status.yml 19 | 20 | -------------------------------------------------------------------------------- /hp_glance_ansible/roles/GLA-API/tasks/stop.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | - name: Stop Glance-API 18 | service: 19 | name: glance-api 20 | state: stopped 21 | -------------------------------------------------------------------------------- /hp_glance_ansible/roles/GLA-API/vars/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_glance_ansible/roles/GLA-REG/files/etc/dbconfig-common/glance-common.conf: -------------------------------------------------------------------------------- 1 | dbc_dbtype='sqlite3' 2 | -------------------------------------------------------------------------------- /hp_glance_ansible/roles/GLA-REG/files/etc/metadefs/README: -------------------------------------------------------------------------------- 1 | This directory contains predefined namespaces for Glance Metadata Definitions 2 | Catalog. Files from this directory can be loaded into the database using 3 | db_load_metadefs command for glance-manage. Similarly you can unload the 4 | definitions using db_unload_metadefs command. 5 | -------------------------------------------------------------------------------- /hp_glance_ansible/roles/GLA-REG/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _GLA-CMN 19 | -------------------------------------------------------------------------------- /hp_glance_ansible/roles/GLA-REG/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_GLA-CMN/tasks/status.yml 19 | 20 | -------------------------------------------------------------------------------- /hp_glance_ansible/roles/GLA-REG/vars/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_glance_ansible/roles/_GLA-CMN/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_glance_ansible/roles/_GLA-CMN/vars/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_glance_ansible/roles/glance-cloud-configure/vars/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_glance_ansible/roles/glance-post-configure/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - { role: _GLA-CMN } 19 | -------------------------------------------------------------------------------- /hp_glance_ansible/roles/glance-post-configure/vars/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_heat_ansible/roles/heat-api-cfn/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | heat_component: heat-api-cfn 19 | heat_api_cfn_restart_required: false -------------------------------------------------------------------------------- /hp_heat_ansible/roles/heat-api-cfn/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: heat-common 19 | -------------------------------------------------------------------------------- /hp_heat_ansible/roles/heat-api-cfn/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../heat-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_heat_ansible/roles/heat-api-cloudwatch/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: heat-common 19 | -------------------------------------------------------------------------------- /hp_heat_ansible/roles/heat-api-cloudwatch/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../heat-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_heat_ansible/roles/heat-api/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | heat_component: heat-api 19 | heat_api_restart_required: false -------------------------------------------------------------------------------- /hp_heat_ansible/roles/heat-api/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: heat-common 19 | -------------------------------------------------------------------------------- /hp_heat_ansible/roles/heat-api/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../heat-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_heat_ansible/roles/heat-common/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - { role: tls-vars } 19 | -------------------------------------------------------------------------------- /hp_heat_ansible/roles/heat-engine/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | heat_component: "heat-engine" 19 | heat_engine_restart_required: "false" 20 | -------------------------------------------------------------------------------- /hp_heat_ansible/roles/heat-engine/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: heat-common 19 | -------------------------------------------------------------------------------- /hp_heat_ansible/roles/heat-engine/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../heat-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_heat_ansible/roles/heat-engine/templates/environment.d/default.yaml: -------------------------------------------------------------------------------- 1 | {# (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP #} 2 | resource_registry: 3 | # allow older templates with Quantum in them. 4 | "OS::Quantum*": "OS::Neutron*" 5 | # Choose your implementation of AWS::CloudWatch::Alarm 6 | "AWS::CloudWatch::Alarm": "file://{{ heat_service_conf_dir }}/templates/AWS_CloudWatch_Alarm.yaml" 7 | #"AWS::CloudWatch::Alarm": "OS::Heat::CWLiteAlarm" 8 | "OS::Metering::Alarm": "OS::Ceilometer::Alarm" 9 | "AWS::RDS::DBInstance": "file://{{ heat_service_conf_dir }}/templates/AWS_RDS_DBInstance.yaml" 10 | -------------------------------------------------------------------------------- /hp_heat_ansible/roles/heat-post-configure/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: heat-engine 19 | -------------------------------------------------------------------------------- /hp_heat_ansible/roles/heat-pre-configure/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: heat-common 19 | -------------------------------------------------------------------------------- /hp_hlm_ansible/hlm-cloud-configure.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: glance-cloud-configure.yml 19 | - include: neutron-cloud-configure.yml 20 | -------------------------------------------------------------------------------- /hp_hlm_ansible/hosts/localhost: -------------------------------------------------------------------------------- 1 | localhost ansible_connection=local 2 | -------------------------------------------------------------------------------- /hp_hlm_ansible/roles/deployer-setup/files/06apt-hlinux.conf: -------------------------------------------------------------------------------- 1 | Acquire::http::proxy::localhost "DIRECT"; -------------------------------------------------------------------------------- /hp_hlm_ansible/roles/deployer-setup/files/cloudConfig.yml: -------------------------------------------------------------------------------- 1 | # Place your cloud configuration files here. 2 | # (This file is a placeholder; its contents may be overwritten.) 3 | --- 4 | 5 | -------------------------------------------------------------------------------- /hp_hlm_ansible/roles/package-constants/tasks/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | - include_vars: "{{ playbook_dir }}/hlm_version.yml" 18 | -------------------------------------------------------------------------------- /hp_hlm_ansible/roles/package-consumer/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - package-bootstrap 19 | -------------------------------------------------------------------------------- /hp_hlm_ansible/roles/package-repo/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - package-bootstrap 19 | -------------------------------------------------------------------------------- /hp_hlm_ansible/roles/sosreport/files/patches/archive.py.patch: -------------------------------------------------------------------------------- 1 | --- archive.py 2015-10-08 11:56:01.541015064 +0000 2 | +++ archive.py 2015-10-08 11:56:09.948974383 +0000 3 | @@ -188,7 +188,7 @@ 4 | def add_link(self, source, link_name): 5 | dest = self.dest_path(link_name) 6 | self._check_path(dest) 7 | - if not os.path.exists(dest): 8 | + if not os.path.lexists(dest): 9 | os.symlink(source, dest) 10 | self.log_debug("added symlink at '%s' to '%s' in FileCacheArchive '%s'" 11 | % (dest, source, self._archive_root)) 12 | -------------------------------------------------------------------------------- /hp_hlm_ansible/roles/sosreport/files/patches/reporting.py.patch: -------------------------------------------------------------------------------- 1 | --- reporting.py 2015-10-08 14:00:38.067574875 +0000 2 | +++ reporting.py 2015-10-08 14:01:36.354896961 +0000 3 | @@ -147,7 +147,7 @@ 4 | self.process_subsection(section_contents, type_.ADDS_TO, 5 | header, format_) 6 | 7 | - return "\n".join(buf) 8 | + return "\n".join(l.decode('UTF-8') for l in buf).encode('UTF-8') 9 | 10 | def process_subsection(self, section, key, header, format_): 11 | if key in section: 12 | -------------------------------------------------------------------------------- /hp_hlm_ansible/roles/upgrade-bootstrap/README.txt: -------------------------------------------------------------------------------- 1 | 2 | (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | not use this file except in compliance with the License. You may obtain 6 | a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | License for the specific language governing permissions and limitations 14 | under the License. 15 | 16 | 17 | upgrade-bootstrap 18 | ================= 19 | 20 | Provides initial scripts needed for upgrading 21 | -------------------------------------------------------------------------------- /hp_hlm_ansible/roles/upgrade-bootstrap/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | -------------------------------------------------------------------------------- /hp_hlm_ansible/roles/upgrade-bootstrap/tasks/install.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_hlm_ansible/roles/upgrade-bootstrap/templates/policy-rc.d.default: -------------------------------------------------------------------------------- 1 | {# (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP #} 2 | # Default actions to block for all services listed 3 | # 4 | DEFAULT_BLOCK_ACTIONS="stop start restart reload" 5 | 6 | # Services to apply policy actions on when called via invoke.rc-d 7 | # 8 | # SERVICES is a space separated list of services that should have a 9 | # policy applied. 10 | SERVICES="" 11 | 12 | # It is possible to modify the actions to prevent on a per service basis 13 | # by setting variables in the form _block 14 | # 15 | # This would prevent the additional out of runlevel restart action from 16 | # being executed in addtion to the start, restart and stop actions. 17 | #testservice_block="start restart stop (restart)" 18 | -------------------------------------------------------------------------------- /hp_ironic_ansible/ironic-reconfigure.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: _ironic-configure.yml 19 | - include: ironic-start.yml 20 | 21 | -------------------------------------------------------------------------------- /hp_ironic_ansible/roles/ironic-api/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | ironic_component: "ironic-api" 19 | ironic_api_restart_required: false -------------------------------------------------------------------------------- /hp_ironic_ansible/roles/ironic-api/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: ironic-common -------------------------------------------------------------------------------- /hp_ironic_ansible/roles/ironic-api/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../ironic-common/tasks/_service_status.yml -------------------------------------------------------------------------------- /hp_ironic_ansible/roles/ironic-common/files/policy.json: -------------------------------------------------------------------------------- 1 | { 2 | "admin": "role:admin or role:administrator", 3 | "admin_api": "is_admin:True", 4 | "default": "rule:admin_api" 5 | } 6 | -------------------------------------------------------------------------------- /hp_ironic_ansible/roles/ironic-common/files/rootwrap.d/ironic-images.filters: -------------------------------------------------------------------------------- 1 | # ironic-rootwrap command filters to maniputalte images 2 | # This file should be owned by (and only-writeable by) the root user 3 | 4 | [Filters] 5 | # ironic/common/images.py: 'qemu-img' 6 | qemu-img: CommandFilter, qemu-img, root 7 | -------------------------------------------------------------------------------- /hp_ironic_ansible/roles/ironic-common/files/rootwrap.d/ironic-utils.filters: -------------------------------------------------------------------------------- 1 | # ironic-rootwrap command filters for disk manipulation 2 | # This file should be owned by (and only-writeable by) the root user 3 | 4 | [Filters] 5 | # ironic/drivers/modules/deploy_utils.py 6 | iscsiadm: CommandFilter, iscsiadm, root 7 | blkid: CommandFilter, blkid, root 8 | blockdev: CommandFilter, blockdev, root 9 | 10 | # ironic/common/utils.py 11 | mkswap: CommandFilter, mkswap, root 12 | mkfs: CommandFilter, mkfs, root 13 | mount: CommandFilter, mount, root 14 | umount: CommandFilter, umount, root 15 | dd: CommandFilter, dd, root 16 | hexdump: CommandFilter, hexdump, root 17 | 18 | # ironic/common/disk_partitioner.py 19 | fuser: CommandFilter, fuser, root 20 | parted: CommandFilter, parted, root 21 | -------------------------------------------------------------------------------- /hp_ironic_ansible/roles/ironic-common/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - { role: tls-vars } -------------------------------------------------------------------------------- /hp_ironic_ansible/roles/ironic-conductor/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: ironic-common -------------------------------------------------------------------------------- /hp_ironic_ansible/roles/ironic-conductor/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../ironic-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_ironic_ansible/roles/ironic-post-configure/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: ironic-conductor 19 | -------------------------------------------------------------------------------- /hp_ironic_ansible/roles/ironic-pre-configure/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: ironic-common 19 | -------------------------------------------------------------------------------- /hp_keystone_ansible/roles/KEY-API/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_keystone_ansible/roles/KEY-API/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | dependencies: 19 | - role: keystone-common 20 | 21 | -------------------------------------------------------------------------------- /hp_keystone_ansible/roles/KEY-API/templates/service.osrc: -------------------------------------------------------------------------------- 1 | {# (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP #} 2 | unset OS_DOMAIN_NAME 3 | export OS_IDENTITY_API_VERSION=3 4 | export OS_AUTH_VERSION=3 5 | export OS_PROJECT_NAME={{ keystone_admin_project_name }} 6 | export OS_PROJECT_DOMAIN_NAME=Default 7 | export OS_USERNAME={{ keystone_admin_user }} 8 | export OS_USER_DOMAIN_NAME=Default 9 | export OS_PASSWORD={{ keystone_admin_user_pwd }} 10 | export OS_AUTH_URL={{ keystone_admin_endpoint }}/v3 11 | export OS_ENDPOINT_TYPE=internalURL 12 | export OS_CACERT=/etc/ssl/certs/ca-certificates.crt 13 | export OS_COMPUTE_API_VERSION=2 14 | -------------------------------------------------------------------------------- /hp_keystone_ansible/roles/KEY-API/vars/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | hlmuser : "{{ ansible_env['USER'] }}" 17 | hlmuser_home: "{{ ansible_env['HOME'] }}" 18 | -------------------------------------------------------------------------------- /hp_keystone_ansible/roles/keystone-post-configure/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_keystone_ansible/roles/keystone-post-configure/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | dependencies: 19 | - role: keystone-common 20 | -------------------------------------------------------------------------------- /hp_logging_ansible/logging-install.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: logging-server-install.yml 19 | - include: logging-producer-install.yml 20 | -------------------------------------------------------------------------------- /hp_logging_ansible/logging-start.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: logging-server-start.yml 19 | - include: logging-producer-start.yml 20 | -------------------------------------------------------------------------------- /hp_logging_ansible/logging-status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: logging-server-status.yml 19 | - include: logging-producer-status.yml 20 | -------------------------------------------------------------------------------- /hp_logging_ansible/logging-stop.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: logging-server-stop.yml 19 | - include: logging-producer-stop.yml 20 | -------------------------------------------------------------------------------- /hp_logging_ansible/roles/logging-common/handlers/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - name: reload_systemd 19 | command: systemctl daemon-reload 20 | -------------------------------------------------------------------------------- /hp_logging_ansible/roles/logging-monitor/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - {role: monasca-agent, run_mode: Use} 19 | -------------------------------------------------------------------------------- /hp_monasca_ansible/README.md: -------------------------------------------------------------------------------- 1 | # Monasca Ansible playbooks and roles for use with HLM 2 | The Monasca team maintains public Ansible roles for use in installing Monasca. 3 | -------------------------------------------------------------------------------- /hp_monasca_ansible/monasca-agent-reconfigure.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: monasca-agent-deploy.yml run_mode=Configure 19 | -------------------------------------------------------------------------------- /hp_monasca_ansible/monasca-agent-upgrade.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | - include: monasca-agent-deploy.yml run_mode=Upgrade 18 | -------------------------------------------------------------------------------- /hp_monasca_ansible/monasca-reconfigure.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: monasca-deploy.yml run_mode=Configure 19 | -------------------------------------------------------------------------------- /hp_monasca_ansible/monasca-upgrade.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | - include: monasca-deploy.yml run_mode=Upgrade 18 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/influxdb/tasks/stop.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | - name: Stop influxdb 18 | service: name=influxdb state=stopped 19 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/kafka/tasks/stop.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | - name: Stop Kafka 18 | service: name=kafka state=stopped 19 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/monasca-agent/tasks/stop.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | - name: Stop Monasca-Agent 18 | service: name=monasca-agent state=stopped 19 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/monasca-agent/templates/plugin.yaml.j2: -------------------------------------------------------------------------------- 1 | {# 2 | # 3 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 | # not use this file except in compliance with the License. You may obtain 7 | # a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 | # License for the specific language governing permissions and limitations 15 | # under the License. 16 | # 17 | #} 18 | {{item.value | to_nice_yaml}} 19 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/monasca-ansible-library/noop/README.md: -------------------------------------------------------------------------------- 1 | No-op ansible modules for Monasca. 2 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/monasca-ansible-library/noop/monasca_agent_plugin: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 | # not use this file except in compliance with the License. You may obtain 7 | # a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 | # License for the specific language governing permissions and limitations 15 | # under the License. 16 | # 17 | 18 | echo "{}" 19 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/monasca-ansible-library/noop/monasca_alarm_definition: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 | # not use this file except in compliance with the License. You may obtain 7 | # a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 | # License for the specific language governing permissions and limitations 15 | # under the License. 16 | # 17 | 18 | echo "{}" 19 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/monasca-ansible-library/noop/monasca_notification_method: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 | # not use this file except in compliance with the License. You may obtain 7 | # a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 | # License for the specific language governing permissions and limitations 15 | # under the License. 16 | # 17 | 18 | echo "{}" 19 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/monasca-api/tasks/stop.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | - name: Stop Monasca-Api 18 | service: name=monasca-api state=stopped 19 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/monasca-default-alarms/library/README.md: -------------------------------------------------------------------------------- 1 | # ansible-module-monasca 2 | Ansible modules for Monasca. See the documentation for each module for more details. 3 | 4 | For more information on [Monasca](https://wiki.openstack.org/wiki/Monasca). 5 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/monasca-persister/tasks/install.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | - include: java_install.yml 18 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/monasca-schema/files/mon_alarms_schema.sql: -------------------------------------------------------------------------------- 1 | CREATE SCHEMA MonAlarms; 2 | 3 | CREATE TABLE MonAlarms.StateHistory( 4 | id AUTO_INCREMENT, 5 | tenant_id VARCHAR, 6 | alarm_id VARCHAR, 7 | metrics VARCHAR (65000), 8 | old_state VARCHAR, 9 | new_state VARCHAR, 10 | sub_alarms VARCHAR (65000), 11 | reason VARCHAR(65000), 12 | reason_data VARCHAR(65000), 13 | time_stamp TIMESTAMP NOT NULL 14 | ) PARTITION BY EXTRACT('year' FROM time_stamp)*10000 + EXTRACT('month' FROM time_stamp)*100 + EXTRACT('day' FROM time_stamp); 15 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/monasca-thresh/vars/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | monasca_group: monasca 18 | thresh_user: mon-thresh 19 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/storm/files/storm-logviewer.conf: -------------------------------------------------------------------------------- 1 | # Startup script for Storm Logviewer 2 | 3 | description "Storm Logviewer daemon" 4 | start on runlevel [2345] 5 | 6 | console log 7 | respawn 8 | 9 | kill timeout 240 10 | respawn limit 25 5 11 | 12 | setgid storm 13 | setuid storm 14 | chdir /opt/storm/current 15 | exec /opt/storm/current/bin/storm logviewer 16 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/storm/files/storm-logviewer.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Storm Logviewer daemon 3 | After=storm-nimbus.service zookeeper.service 4 | 5 | [Service] 6 | Type=simple 7 | User=storm 8 | Group=storm 9 | Restart=on-failure 10 | WorkingDirectory=/opt/storm/current 11 | ExecStart=/opt/storm/current/bin/storm logviewer 12 | 13 | [Install] 14 | WantedBy=multi-user.target 15 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/storm/files/storm-nimbus.conf: -------------------------------------------------------------------------------- 1 | # Startup script for Storm Nimbus 2 | 3 | description "Storm Nimbus daemon" 4 | start on runlevel [2345] 5 | 6 | console log 7 | respawn 8 | 9 | kill timeout 240 10 | respawn limit 25 5 11 | 12 | setgid storm 13 | setuid storm 14 | chdir /opt/storm/current 15 | exec /opt/storm/current/bin/storm nimbus 16 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/storm/files/storm-nimbus.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Storm Nimbus daemon 3 | After=zookeeper.service 4 | 5 | [Service] 6 | Type=simple 7 | User=storm 8 | Group=storm 9 | Restart=on-failure 10 | WorkingDirectory=/opt/storm/current 11 | ExecStart=/opt/storm/current/bin/storm nimbus 12 | 13 | [Install] 14 | WantedBy=multi-user.target 15 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/storm/files/storm-supervisor.conf: -------------------------------------------------------------------------------- 1 | # Startup script for Storm Supervisor 2 | 3 | description "Storm Supervisor daemon" 4 | start on runlevel [2345] 5 | 6 | console log 7 | respawn 8 | 9 | kill timeout 240 10 | respawn limit 25 5 11 | 12 | setgid storm 13 | setuid storm 14 | chdir /opt/storm/current 15 | exec /opt/storm/current/bin/storm supervisor 16 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/storm/files/storm-supervisor.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Storm Supervisor daemon 3 | After=storm-nimbus.service zookeeper.service 4 | 5 | [Service] 6 | Type=simple 7 | User=storm 8 | Group=storm 9 | Restart=on-failure 10 | WorkingDirectory=/opt/storm/current 11 | ExecStart=/opt/storm/current/bin/storm supervisor 12 | 13 | [Install] 14 | WantedBy=multi-user.target 15 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/storm/files/storm-ui.conf: -------------------------------------------------------------------------------- 1 | # Startup script for Storm UI 2 | 3 | description "Storm UI daemon" 4 | start on runlevel [2345] 5 | 6 | console log 7 | respawn 8 | 9 | kill timeout 240 10 | respawn limit 25 5 11 | 12 | setgid storm 13 | setuid storm 14 | chdir /opt/storm/current 15 | exec /opt/storm/current/bin/storm ui 16 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/storm/files/storm-ui.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Storm UI daemon 3 | After=storm-nimbus.service 4 | 5 | [Service] 6 | Type=simple 7 | User=storm 8 | Group=storm 9 | Restart=on-failure 10 | WorkingDirectory=/opt/storm/current 11 | ExecStart=/opt/storm/current/bin/storm ui 12 | 13 | [Install] 14 | WantedBy=multi-user.target 15 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/zookeeper/tasks/stop.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | - name: Stop zookeeper 18 | service: name=zookeeper state=stopped 19 | -------------------------------------------------------------------------------- /hp_monasca_ansible/roles/zookeeper/vars/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | zookeeper_conf_dir: /etc/zookeeper/conf 18 | zookeeper_log_dir: /var/log/zookeeper 19 | -------------------------------------------------------------------------------- /hp_monasca_ansible/zookeeper-reconfigure.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: zookeeper-deploy.yml run_mode=Configure 19 | -------------------------------------------------------------------------------- /hp_mq_ansible/README.md: -------------------------------------------------------------------------------- 1 | 2 | (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | not use this file except in compliance with the License. You may obtain 6 | a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | License for the specific language governing permissions and limitations 14 | under the License. 15 | 16 | 17 | README 18 | ====== 19 | 20 | TODO: Fill in README for rabbitmq playbooks here. 21 | -------------------------------------------------------------------------------- /hp_mq_ansible/roles/rabbitmq/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - {role: monasca-agent, run_mode: Use} 19 | -------------------------------------------------------------------------------- /hp_mq_ansible/roles/rabbitmq/templates/erlang.cookie.j2: -------------------------------------------------------------------------------- 1 | {# 2 | # 3 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 | # not use this file except in compliance with the License. You may obtain 7 | # a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 | # License for the specific language governing permissions and limitations 15 | # under the License. 16 | # 17 | #} 18 | {{ rabbitmq_cp.erlang_cookie }} 19 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-common/files/sudoers: -------------------------------------------------------------------------------- 1 | neutron ALL=(root) NOPASSWD:ALL 2 | Defaults:neutron !requiretty 3 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-common/tasks/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-common/tasks/populate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-common/tasks/populate.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-common/templates/dnsmasq-neutron.conf.j2: -------------------------------------------------------------------------------- 1 | {# 2 | # 3 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 | # not use this file except in compliance with the License. You may obtain 7 | # a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 | # License for the specific language governing permissions and limitations 15 | # under the License. 16 | # 17 | #} 18 | dhcp-option-force=26,1400 19 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-common/vars/dvr_snat_l3_agent.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | neutron_l3_agent_mode: "dvr_snat" 19 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-dhcp-agent/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-dhcp-agent/handlers/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-dhcp-agent/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../neutron-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-dhcp-agent/vars/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-dhcp-agent/vars/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-l3-agent/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-l3-agent/handlers/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-l3-agent/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../neutron-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-l3-agent/vars/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-l3-agent/vars/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-lbaas-agent/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-lbaas-agent/handlers/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-lbaas-agent/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../neutron-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-lbaas-agent/vars/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-lbaas-agent/vars/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-lbaasv2-agent/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-lbaasv2-agent/handlers/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-lbaasv2-agent/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../neutron-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-lbaasv2-agent/vars/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-lbaasv2-agent/vars/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-metadata-agent/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-metadata-agent/handlers/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-metadata-agent/tasks/install.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-metadata-agent/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../neutron-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-metadata-agent/vars/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-metadata-agent/vars/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-ml2-plugin/defaults/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-ml2-plugin/defaults/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-ml2-plugin/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-ml2-plugin/handlers/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-ml2-plugin/vars/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-ml2-plugin/vars/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-openvswitch-agent/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-openvswitch-agent/handlers/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-openvswitch-agent/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../neutron-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-openvswitch-agent/vars/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | 17 | systemd_service_dir: /usr/lib/systemd/system/ 18 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-ovsvapp-agent/files/etc/logrotate.d/neutron-ovsvapp-agent: -------------------------------------------------------------------------------- 1 | /var/log/neutron/ovsvapp-agent/*.log 2 | { 3 | daily 4 | missingok 5 | compress 6 | delaycompress 7 | notifempty 8 | } 9 | 10 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-ovsvapp-agent/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-ovsvapp-agent/handlers/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-ovsvapp-agent/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../neutron-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-post-configure/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | # Default param values for neutron-post-configure role 17 | --- 18 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-post-configure/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: tls-vars 19 | - role: neutron-common 20 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-server/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-server/handlers/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-server/tasks/install.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-server/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../neutron-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-server/vars/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-server/vars/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-vpn-agent/handlers/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-vpn-agent/handlers/main.yml -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-vpn-agent/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../neutron-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_neutron_ansible/roles/neutron-vpn-agent/vars/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_neutron_ansible/roles/neutron-vpn-agent/vars/main.yml -------------------------------------------------------------------------------- /hp_nova_ansible/HACKING.rst: -------------------------------------------------------------------------------- 1 | .. 2 | (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | not use this file except in compliance with the License. You may obtain 6 | a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | License for the specific language governing permissions and limitations 14 | under the License. 15 | 16 | 17 | This has been centralised to: 18 | 19 | hlm-dev-tools/doc/hlm-ansible-guide/ansible-style-guide.md 20 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-API/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: nova-common 19 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-API/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../nova-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-CAU/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: nova-common 19 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-CAU/vars/run_location.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | consoleauth_host_index: 0 18 | 19 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-CMP/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: nova-common 19 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-CMP/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../nova-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-CND/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: nova-common 19 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-CND/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../nova-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-ESX/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: nova-common 19 | - role: NOV-CMP 20 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-IRN/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: nova-common 19 | - role: NOV-CMP 20 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-KVM/files/etc/default/libvirtd: -------------------------------------------------------------------------------- 1 | # Defaults for libvirt-bin initscript (/etc/init.d/libvirt-bin) 2 | # This is a POSIX shell fragment 3 | 4 | # options passed to libvirtd, add "-l" to listen on tcp 5 | libvirtd_opts="-l" 6 | 7 | # pass in location of kerberos keytab 8 | # export KRB5_KTNAME=/etc/libvirt/libvirt.keytab 9 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-KVM/files/etc/libvirt/libvirtd.conf: -------------------------------------------------------------------------------- 1 | # Minimal libvirtd config for kvm compute nodes. 2 | 3 | unix_sock_group = "libvirtd" 4 | unix_sock_rw_perms = "0770" 5 | auth_unix_ro = "none" 6 | auth_unix_rw = "none" 7 | auth_tcp = "none" 8 | listen_tls = 0 9 | listen_tcp = 1 10 | 11 | log_filters="1:libvirt.c 1:qemu 1:cpu 1:cgroup 1:command 1:nwfilter" 12 | log_outputs="1:file:/var/log/libvirt/libvirt_debug.log" 13 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-KVM/files/etc/logrotate.d/libvirt: -------------------------------------------------------------------------------- 1 | /var/log/libvirt/libvirt_debug.log { 2 | weekly 3 | missingok 4 | rotate 4 5 | compress 6 | delaycompress 7 | copytruncate 8 | minsize 100k 9 | } 10 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-KVM/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: nova-common 19 | - role: NOV-CMP 20 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-SCH-IRN/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: nova-common 19 | - role: NOV-SCH 20 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-SCH/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: nova-common 19 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-SCH/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../nova-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-VNC/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: nova-common 19 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/NOV-VNC/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../nova-common/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/nova-common/files/nova-rootwrap: -------------------------------------------------------------------------------- 1 | Defaults:nova !requiretty 2 | 3 | nova ALL = (root) NOPASSWD: /usr/local/bin/nova-rootwrap * 4 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/nova-common/files/rootwrap.d/api-metadata.filters: -------------------------------------------------------------------------------- 1 | # nova-rootwrap command filters for api-metadata nodes 2 | # This is needed on nova-api hosts running with "metadata" in enabled_apis 3 | # or when running nova-api-metadata 4 | # This file should be owned by (and only-writeable by) the root user 5 | 6 | [Filters] 7 | # nova/network/linux_net.py: 'ip[6]tables-save' % (cmd, '-t', ... 8 | iptables-save: CommandFilter, iptables-save, root 9 | ip6tables-save: CommandFilter, ip6tables-save, root 10 | 11 | # nova/network/linux_net.py: 'ip[6]tables-restore' % (cmd,) 12 | iptables-restore: CommandFilter, iptables-restore, root 13 | ip6tables-restore: CommandFilter, ip6tables-restore, root 14 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/nova-common/files/rootwrap.d/baremetal-compute-ipmi.filters: -------------------------------------------------------------------------------- 1 | # nova-rootwrap command filters for compute nodes 2 | # This file should be owned by (and only-writeable by) the root user 3 | 4 | [Filters] 5 | # nova/virt/baremetal/ipmi.py: 'ipmitool', .. 6 | ipmitool: CommandFilter, ipmitool, root 7 | 8 | # nova/virt/baremetal/ipmi.py: 'kill', '-TERM', str(console_pid) 9 | kill_shellinaboxd: KillFilter, root, /usr/local/bin/shellinaboxd, -15, -TERM 10 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/nova-common/files/rootwrap.d/baremetal-deploy-helper.filters: -------------------------------------------------------------------------------- 1 | # nova-rootwrap command filters for nova-baremetal-deploy-helper 2 | # This file should be owned by (and only-writeable by) the root user 3 | 4 | [Filters] 5 | # nova-baremetal-deploy-helper 6 | iscsiadm: CommandFilter, iscsiadm, root 7 | sfdisk: CommandFilter, sfdisk, root 8 | dd: CommandFilter, dd, root 9 | mkswap: CommandFilter, mkswap, root 10 | blkid: CommandFilter, blkid, root 11 | mkfs: CommandFilter, mkfs, root 12 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/nova-common/files/rootwrap.d/consoleauth.filters: -------------------------------------------------------------------------------- 1 | # Empty file to allow ansible script to run and configure rootwrap 2 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/nova-common/files/rootwrap.d/novnc.filters: -------------------------------------------------------------------------------- 1 | # Empty file to allow ansible script to run and configure rootwrap 2 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/nova-common/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - { role: tls-vars } 19 | -------------------------------------------------------------------------------- /hp_nova_ansible/roles/nova-post-configure/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - { role: tls-vars } 19 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/README.md: -------------------------------------------------------------------------------- 1 | 2 | (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | not use this file except in compliance with the License. You may obtain 6 | a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | License for the specific language governing permissions and limitations 14 | under the License. 15 | 16 | 17 | README 18 | ====== 19 | 20 | This repo contains the following roles: 21 | - OSCONFIG: Operating System Configuration 22 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/hosts/localhost: -------------------------------------------------------------------------------- 1 | localhost 2 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/multipath/vars/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | env: 19 | RUNLEVEL: 1 -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/network_interface/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | --- 5 | nic_mapping: [] 6 | network_ether_interfaces: [] 7 | network_bridge_interfaces: [] 8 | network_bond_interfaces: [] 9 | ovs_bridge_interfaces: [] 10 | network_vlan_interfaces: [] 11 | udev_prefix_nic_mapping: 90 12 | order_prefix_bond: 15 13 | order_prefix_ether: 25 14 | order_prefix_vlan: 35 15 | order_prefix_bridge: 45 16 | interface_file_marker: '# HELION-MANAGED - Managed by Helion - Do not edit' 17 | shadow_dir: '.shadow' 18 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/network_interface/meta/.galaxy_install_info: -------------------------------------------------------------------------------- 1 | {install_date: 'Thu Apr 23 17:16:55 2015', version: master} 2 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/network_interface/meta/main.yml: -------------------------------------------------------------------------------- 1 | --- 2 | galaxy_info: 3 | author: "Benno Joy" 4 | company: AnsibleWorks 5 | license: "Simplified BSD License" 6 | min_ansible_version: 1.4 7 | platforms: 8 | - name: EL 9 | versions: 10 | - 5 11 | - 6 12 | - name: Fedora 13 | versions: 14 | - 16 15 | - 17 16 | - 18 17 | - name: Ubuntu 18 | versions: 19 | - precise 20 | - quantal 21 | - raring 22 | - saucy 23 | categories: 24 | - networking 25 | - system 26 | dependencies: [] 27 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/network_interface/templates/bond_slave_RedHat.j2: -------------------------------------------------------------------------------- 1 | DEVICE={{ item.1 }} 2 | BOOTPROTO=none 3 | MASTER={{ item.0.device }} 4 | ONBOOT=yes 5 | SLAVE=yes 6 | USERCTL=no 7 | 8 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/network_interface/templates/bonding.conf.j2: -------------------------------------------------------------------------------- 1 | options bonding 2 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/network_interface/templates/route_RedHat.j2: -------------------------------------------------------------------------------- 1 | {% for i in item.route %} 2 | ADDRESS{{ loop.index - 1 }}={{ i.network }} 3 | NETMASK{{ loop.index - 1 }}={{ i.netmask }} 4 | GATEWAY{{ loop.index - 1 }}={{ i.gateway }} 5 | {% endfor %} 6 | 7 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/network_interface/vars/Debian.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | --- 5 | 6 | network_pkgs: 7 | - python-selinux 8 | - ifenslave-2.6 9 | - vlan 10 | 11 | net_path: "/etc/network/interfaces.d" 12 | 13 | disable_lro: true 14 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/network_interface/vars/RedHat.yml: -------------------------------------------------------------------------------- 1 | --- 2 | network_pkgs: 3 | - libselinux-python 4 | - bridge-utils 5 | - iputils 6 | 7 | net_path: "/etc/sysconfig/network-scripts" 8 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/network_interface/vars/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | --- 5 | env: 6 | RUNLEVEL: 1 7 | 8 | routeid_starting : 101 9 | routeid_ending : 150 10 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/osconfig-common/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | hlm_irq_hint_policy: "" 18 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/osconfig-common/handlers/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/osconfig-iptables/handlers/main.yml: -------------------------------------------------------------------------------- 1 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company # 2 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 3 | # not use this file except in compliance with the License. You may obtain 4 | # a copy of the License at 5 | # 6 | # http://www.apache.org/licenses/LICENSE-2.0 7 | # 8 | # Unless required by applicable law or agreed to in writing, software 9 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 10 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 11 | # License for the specific language governing permissions and limitations 12 | # under the License. 13 | --- 14 | # handlers file for iptables 15 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/osconfig-iptables/vars/main.yml: -------------------------------------------------------------------------------- 1 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company # 2 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 3 | # not use this file except in compliance with the License. You may obtain 4 | # a copy of the License at 5 | # 6 | # http://www.apache.org/licenses/LICENSE-2.0 7 | # 8 | # Unless required by applicable law or agreed to in writing, software 9 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 10 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 11 | # License for the specific language governing permissions and limitations 12 | # under the License. 13 | --- 14 | # vars file for iptables 15 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/osconfig-probe/templates/dmi_data.j2: -------------------------------------------------------------------------------- 1 | {# 2 | # 3 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 | # not use this file except in compliance with the License. You may obtain 7 | # a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 | # License for the specific language governing permissions and limitations 15 | # under the License. 16 | # 17 | #} 18 | --- 19 | 20 | {{ hlm_dmi_data | to_nice_yaml }} 21 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/osconfig-probe/templates/meminfo.j2: -------------------------------------------------------------------------------- 1 | {# 2 | # 3 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 | # not use this file except in compliance with the License. You may obtain 7 | # a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 | # License for the specific language governing permissions and limitations 15 | # under the License. 16 | # 17 | #} 18 | --- 19 | 20 | {{ hlm_meminfo | to_nice_yaml }} 21 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/osconfig/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dns: {} 18 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/osconfig/files/kdump_config: -------------------------------------------------------------------------------- 1 | USE_KDUMP=1 2 | KDUMP_SYSCTL="kernel.panic_on_oops=1" 3 | 4 | KDUMP_COREDIR="/var/crash" 5 | KDUMP_FAIL_CMD="reboot -f" 6 | KDUMP_DUMP_DMESG=1 7 | #KDUMP_DUMP_KDUMPDMESG= 8 | KDUMP_NUM_DUMPS=4 9 | 10 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/osconfig/templates/timezone.j2: -------------------------------------------------------------------------------- 1 | {# 2 | # 3 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 | # not use this file except in compliance with the License. You may obtain 7 | # a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 | # License for the specific language governing permissions and limitations 15 | # under the License. 16 | # 17 | #} 18 | Etc/UTC 19 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/roles/sysctl/vars/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_osconfig_ansible/sysctl.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - hosts: resources 19 | sudo: yes 20 | roles: 21 | - sysctl 22 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/SWF-ACC/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _SWF-CMN 19 | - role: _SWF-RSY 20 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/SWF-ACC/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_SWF-CMN/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/SWF-CON/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _SWF-CMN 19 | - role: _SWF-RSY 20 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/SWF-CON/tasks/populate.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/SWF-CON/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_SWF-CMN/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/SWF-EXP/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _SWF-CMN 19 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/SWF-EXP/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_SWF-CMN/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/SWF-OBJ/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _SWF-CMN 19 | - role: _SWF-RSY 20 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/SWF-OBJ/tasks/populate.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/SWF-OBJ/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_SWF-CMN/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/SWF-PRX/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _SWF-CMN 19 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/SWF-PRX/tasks/populate.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/SWF-PRX/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_SWF-CMN/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/_SWF-CMN/templates/disk_models.j2: -------------------------------------------------------------------------------- 1 | {# 2 | # 3 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 | # not use this file except in compliance with the License. You may obtain 7 | # a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 | # License for the specific language governing permissions and limitations 15 | # under the License. 16 | # 17 | #} 18 | {{ host.my_disk_models | to_nice_yaml }} 19 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/_SWF-RSY/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | # Flag to track restart requirement 18 | swift_rsync_restart_required: false 19 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/_SWF-RSY/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _SWF-CMN 19 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/swift-functional/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: swift-post-configure 19 | - role: _SWF-CMN 20 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/swift-monitor/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _SWF-CMN 19 | - role: swiftlm-uptime-monitor 20 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/swift-monitor/templates/swiftlm-scan-users: -------------------------------------------------------------------------------- 1 | {# (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP #} 2 | User_Alias SWIFTLM_USERS = {{ monasca_agent_user }} 3 | SWIFTLM_USERS ALL=(ALL) NOPASSWD: /usr/local/bin/swiftlm-scan 4 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/swift-post-configure/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _SWF-CMN 19 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/swiftlm-provision/tasks/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/swiftlm-ring-supervisor/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _SWF-CMN 19 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/swiftlm-ring-supervisor/templates/input-model.j2: -------------------------------------------------------------------------------- 1 | {# 2 | # 3 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 | # not use this file except in compliance with the License. You may obtain 7 | # a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 | # License for the specific language governing permissions and limitations 15 | # under the License. 16 | # 17 | #} 18 | --- 19 | {{ swiftlm_global | to_nice_yaml }} 20 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/swiftlm-uptime-monitor/meta/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | dependencies: 18 | - role: _SWF-CMN 19 | -------------------------------------------------------------------------------- /hp_swift_ansible/roles/swiftlm-uptime-monitor/tasks/status.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | - include: ../../_SWF-CMN/tasks/_service_status.yml 19 | -------------------------------------------------------------------------------- /hp_swiftlm/LICENSE: -------------------------------------------------------------------------------- 1 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 4 | # not use this file except in compliance with the License. You may obtain 5 | # a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12 | # License for the specific language governing permissions and limitations 13 | # under the License. 14 | # 15 | -------------------------------------------------------------------------------- /hp_swiftlm/docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/docs/Makefile -------------------------------------------------------------------------------- /hp_swiftlm/docs/swiftlm_uptime_mon_metrics.rst: -------------------------------------------------------------------------------- 1 | 2 | (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | not use this file except in compliance with the License. You may obtain 6 | a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | License for the specific language governing permissions and limitations 14 | under the License. 15 | 16 | 17 | Metrics Reported by swiftlm-uptime-mon 18 | ====================================== 19 | 20 | TBS -------------------------------------------------------------------------------- /hp_swiftlm/etc/hlm_storage.conf.sample: -------------------------------------------------------------------------------- 1 | [swift_config] 2 | boot_label = boot 3 | disk_pattern = /dev/sd[a-z]\+$ 4 | file_system = xfs 5 | mount_dir = /srv/node/ 6 | file_prefix = /tmp/swift_drive_info_ 7 | net_interface = eth0 8 | drive_list = [/dev/sdb, disk0], [/dev/sdc, disk1] 9 | -------------------------------------------------------------------------------- /hp_swiftlm/requirements.txt: -------------------------------------------------------------------------------- 1 | setuptools 2 | netifaces 3 | enum34 4 | python-swiftclient 5 | python-keystoneclient 6 | pyyaml 7 | -------------------------------------------------------------------------------- /hp_swiftlm/swiftlm/__init__.py: -------------------------------------------------------------------------------- 1 | CONFIG_FILE = '/etc/swiftlm/swiftlm-scan.conf' 2 | -------------------------------------------------------------------------------- /hp_swiftlm/swiftlm/cli/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/swiftlm/cli/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/swiftlm/generic_hardware/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/swiftlm/generic_hardware/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/swiftlm/hp_hardware/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/swiftlm/hp_hardware/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/swiftlm/monasca/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/swiftlm/monasca/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/swiftlm/monasca/check_plugins/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/swiftlm/monasca/check_plugins/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/swiftlm/monasca/detect_plugins/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/swiftlm/monasca/detect_plugins/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/swiftlm/rings/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/swiftlm/rings/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/swiftlm/swift/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/swiftlm/swift/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/swiftlm/systems/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/swiftlm/systems/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/swiftlm/utils/__init__.py: -------------------------------------------------------------------------------- 1 | SWIFT_PATH = "/etc/swift/" 2 | PROXY_PATH = "/opt/stack/service/swift-proxy-server/etc/" 3 | ACCOUNT_PATH = "/opt/stack/service/swift-account-server/etc/" 4 | CONTAINER_PATH = "/opt/stack/service/swift-container-server/etc/" 5 | OBJECT_PATH = "/opt/stack/service/swift-object-server/etc/" 6 | -------------------------------------------------------------------------------- /hp_swiftlm/test-requirements.txt: -------------------------------------------------------------------------------- 1 | pep8 2 | pygments 3 | nose 4 | nose-exclude 5 | coverage 6 | nosehtmloutput 7 | testtools 8 | requests 9 | nosexcover 10 | mox 11 | mock 12 | fixtures 13 | monasca-agent 14 | -------------------------------------------------------------------------------- /hp_swiftlm/tests/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/tests/data/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/tests/generic_hardware/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/tests/generic_hardware/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/tests/hp_hardware/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/tests/hp_hardware/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/tests/monasca/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/tests/monasca/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/tests/monasca/check_plugins/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/tests/monasca/check_plugins/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/tests/monasca/detect_plugins/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/tests/monasca/detect_plugins/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/tests/rings/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/tests/rings/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/tests/swift/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/tests/swift/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/tests/systems/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/tests/systems/__init__.py -------------------------------------------------------------------------------- /hp_swiftlm/tests/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_swiftlm/tests/utils/__init__.py -------------------------------------------------------------------------------- /hp_tempest_ansible/roles/TPS-TST/files/.testr.conf: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ 3 | OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ 4 | OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \ 5 | OS_TEST_LOCK_PATH=${OS_TEST_LOCK_PATH:-${TMPDIR:-'/tmp'}} \ 6 | ${PYTHON:-python} -m subunit.run discover -t ${OS_TOP_LEVEL:-./} ${OS_TEST_PATH:-./tempest/test_discover} $LISTOPT $IDOPTION 7 | test_id_option=--load-list $IDFILE 8 | test_list_option=--list 9 | group_regex=([^\.]*\.)* 10 | -------------------------------------------------------------------------------- /hp_tempest_ansible/roles/TPS-TST/files/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hpe-helion-os/helion-ansible/3aacf46a552f0980c4cbd13402fcf985d74e347f/hp_tempest_ansible/roles/TPS-TST/files/README.md -------------------------------------------------------------------------------- /hp_tempest_ansible/roles/TPS-TST/files/run_filters/tests-ci.txt: -------------------------------------------------------------------------------- 1 | # This filter does not run any tests 2 | +doesnotrunanytests 3 | -------------------------------------------------------------------------------- /hp_tls_ansible/roles/tls-frontend/defaults/main.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | frontend_server_cert_directory: "/etc/ssl/private/" 19 | -------------------------------------------------------------------------------- /hp_tls_ansible/tls-upgrade.yml: -------------------------------------------------------------------------------- 1 | # 2 | # (c) Copyright 2015 Hewlett Packard Enterprise Development Company LP 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 5 | # not use this file except in compliance with the License. You may obtain 6 | # a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 | # License for the specific language governing permissions and limitations 14 | # under the License. 15 | # 16 | --- 17 | 18 | # For now, tls upgrade is the same as tls deploy. 19 | - include: tls-deploy.yml 20 | --------------------------------------------------------------------------------