id: #{id}# type: profile extensions: - id: file_discovery version: '1.0.0' - id: ansible version: '1.0.0' tags: #{tags}# connections: # keystone - for_resources: [resource/mariadb_service] filter_resources: [resource/mariadb_keystone_db, resource/mariadb_keystone_user] mapping: root_password: login_password port: login_port - for_resources: [resource/mariadb_keystone_db] filter_resources: [resource/mariadb_keystone_user] mapping: db_name: db_name - for_resources: [resource/mariadb_service] filter_resources: [resource/keystone_config] mapping: ip: db_host port: db_port - for_resources: [resource/mariadb_keystone_user] filter_resources: [resource/keystone_config] mapping: db_name: db_name new_user_name: db_user new_user_password: db_password - for_resources: [resource/keystone_config] filter_resources: [resource/keystone_service] mapping: config_dir: config_dir # haproxy - for_resources: [resource/keystone_service] filter_resources: [resource/haproxy_keystone_config] mapping: ip: servers port: ports - for_resources: [resource/haproxy_keystone_config] filter_resources: [resource/haproxy_config] mapping: listen_port: listen_ports name: configs_names ports: configs_ports servers: configs - for_resources: [resource/haproxy_config] filter_resources: [resource/haproxy_service] mapping: listen_ports: ports config_dir: host_binds # keystone data - for_resources: [resource/keystone_config] filter_resources: [resource/keystone_tenant] mapping: {} - for_resources: [resource/keystone_service] filter_resources: [resource/keystone_tenant] mapping: admin_port: keystone_port ip: keystone_host - for_resources: [resource/keystone_tenant] filter_resources: [resource/keystone_user] mapping: {} - for_resources: [resource/keystone_user] filter_resources: [resource/keystone_role] mapping: {} - for_resources: [resource/keystone_service] filter_resources: [resource/keystone_service_endpoint] mapping: admin_port: admin_port ip: keystone_host port: port - for_resources: [resource/keystone_config] filter_resources: [resource/keystone_service_endpoint] mapping: admin_token: admin_token - for_resources: [resource/keystone_service] filter_resources: [resource/keystone_service_endpoint] mapping: admin_port: keystone_port # rabbitmq - for_resources: [resource/rabbitmq_service] filter_resources: [resource/rabbitmq_vhost] mapping: {} - for_resources: [resource/rabbitmq_service] filter_resources: [resource/rabbitmq_user] mapping: {} - for_resources: [resource/rabbitmq_vhost] filter_resources: [resource/rabbitmq_user] mapping: vhost_name: vhost_name