tags: | openstack, congress, cloud, ansible |
---|---|
category: | *nix |
To clone or view the source code for this repository, visit the role repository for os_congress.
## Verbosity Options
debug: False
# Set the host which will execute the shade modules
# for the service setup. The host must already have
# clouds.yaml properly configured.
congress_service_setup_host: "{{ openstack_service_setup_host | default('localhost') }}"
congress_service_setup_host_python_interpreter: "{{ openstack_service_setup_host_python_interpreter | default((congress_service_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_python['executable'])) }}"
## Set the package install state for distribution packages
congress_pip_package_state: "latest"
congress_package_state: "latest"
## Git repositories and their branches
congress_git_repo: https://git.openstack.org/openstack/congress
congress_git_install_branch: 'stable/rocky'
congress_developer_mode: false
congress_developer_constraints:
- "git+{{ congress_git_repo }}@{{ congress_git_install_branch }}#egg=congress"
## Virtual environment to deploy into
congress_venv_tag: untagged
congress_bin: "/openstack/venvs/congress-{{ congress_venv_tag }}/bin"
## configuration directory
congress_etc_dir: "/etc/congress"
# venv_download, even when true, will use the fallback method of building the
# venv from scratch if the venv download fails.
congress_venv_download: "{{ not congress_developer_mode | bool }}"
congress_venv_download_url: http://127.0.0.1/venvs/untagged/ubuntu/congress.tgz
## Common PIP packages
congress_pip_packages:
- congress
- osprofiler
- pymysql
- python-congressclient
- python-heatclient
- systemd-python
congress_services:
congress-server:
group: congress_all
service_name: congress-server
execstarts: "{{ congress_bin }}/congress-server --config-file={{ congress_etc_dir }}/congress.conf"
init_config_overrides: "{{ congress_server_init_overrides }}"
start_order: 1
## System info
congress_system_user_name: congress
congress_system_group_name: congress
congress_system_shell: /bin/false
congress_system_comment: congress system user
congress_system_user_home: "/var/lib/{{ congress_system_user_name }}"
## Service Type and Data
congress_service_region: RegionOne
congress_service_name: congress
congress_service_proto: http
congress_service_type: policy
congress_service_description: "congress service"
congress_service_publicuri: "{{ congress_service_publicuri_proto }}://{{ external_lb_vip_address }}:{{ congress_service_port }}"
congress_service_publicurl: "{{ congress_service_publicuri }}"
congress_service_internaluri: "{{ congress_service_internaluri_proto }}://{{ internal_lb_vip_address }}:{{ congress_service_port }}"
congress_service_internalurl: "{{ congress_service_internaluri }}"
congress_service_adminuri: "{{ congress_service_adminuri_proto }}://{{ internal_lb_vip_address }}:{{ congress_service_port }}"
congress_service_adminurl: "{{ congress_service_adminuri }}"
congress_service_registry_proto: "{{ congress_service_proto }}"
congress_service_publicuri_proto: "{{ openstack_service_publicuri_proto | default(congress_service_proto) }}"
congress_service_adminuri_proto: "{{ openstack_service_adminuri_proto | default(congress_service_proto) }}"
congress_service_internaluri_proto: "{{ openstack_service_internaluri_proto | default(congress_service_proto) }}"
## Keystone
congress_service_project_domain_id: default
congress_service_project_name: service
congress_service_user_domain_id: default
congress_service_user_name: congress
congress_keystone_auth_plugin: password
congress_service_in_ldap: false
## DB info
congress_db_setup_host: "{{ ('galera_all' in groups) | ternary(groups['galera_all'][0], 'localhost') }}"
congress_galera_address: "{{ galera_address | default('127.0.0.1') }}"
congress_galera_database: congress
congress_galera_user: congress
congress_galera_use_ssl: "{{ galera_use_ssl | default(False) }}"
congress_galera_ssl_ca_cert: "{{ galera_ssl_ca_cert | default('/etc/ssl/certs/galera-ca.pem') }}"
## Service info
congress_role_name: admin
congress_bind_address: 0.0.0.0
congress_service_port: 1789
congress_program_name: congress-server
## Oslo Messaging info
# RPC
congress_oslomsg_rpc_host_group: "{{ oslomsg_rpc_host_group | default('rabbitmq_all') }}"
congress_oslomsg_rpc_setup_host: "{{ (congress_oslomsg_rpc_host_group in groups) | ternary(groups[congress_oslomsg_rpc_host_group][0], 'localhost') }}"
congress_oslomsg_rpc_transport: "{{ oslomsg_rpc_transport | default('rabbit') }}"
congress_oslomsg_rpc_servers: "{{ oslomsg_rpc_servers | default('127.0.0.1') }}"
congress_oslomsg_rpc_port: "{{ oslomsg_rpc_port | default('5672') }}"
congress_oslomsg_rpc_use_ssl: "{{ oslomsg_rpc_use_ssl | default(False) }}"
congress_oslomsg_rpc_userid: congress
congress_oslomsg_rpc_vhost: /congress
# Notify
congress_oslomsg_notify_host_group: "{{ oslomsg_notify_host_group | default('rabbitmq_all') }}"
congress_oslomsg_notify_setup_host: "{{ (congress_oslomsg_notify_host_group in groups) | ternary(groups[congress_oslomsg_notify_host_group][0], 'localhost') }}"
congress_oslomsg_notify_transport: "{{ oslomsg_notify_transport | default('rabbit') }}"
congress_oslomsg_notify_servers: "{{ oslomsg_notify_servers | default('127.0.0.1') }}"
congress_oslomsg_notify_port: "{{ oslomsg_notify_port | default('5672') }}"
congress_oslomsg_notify_use_ssl: "{{ oslomsg_notify_use_ssl | default(False) }}"
congress_oslomsg_notify_userid: "{{ congress_oslomsg_rpc_userid }}"
congress_oslomsg_notify_password: "{{ congress_oslomsg_rpc_password }}"
congress_oslomsg_notify_vhost: "{{ congress_oslomsg_rpc_vhost }}"
## (Qdrouterd) integration
# TODO(ansmith): Change structure when more backends will be supported
congress_oslomsg_amqp1_enabled: "{{ congress_oslomsg_rpc_transport == 'amqp' }}"
congress_optional_oslomsg_amqp1_pip_packages:
- oslo.messaging[amqp1]
# This variable is used by the repo_build process to determine
# which host group to check for members of before building the
# pip packages required by this role. The value is picked up
# by the py_pkgs lookup.
congress_role_project_group: congress_all
## Tunable overrides
congress_congress_api_paste_ini_overrides: {}
congress_congress_conf_overrides: {}
congress_server_init_overrides: {}
This role needs pip >= 7.1 installed on the target host.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.