# Copyright 2015 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. --- # tasks/main.yaml gear_task_manager: - pre - install - config - service # tasks/config.yaml gear_user_name: gear gear_user_group: gear gear_user_home: /var/lib/gear gear_file_ssl_ca_content: gear_file_ssl_ca_dest: /etc/gear/ssl/root-ca.pem gear_file_ssl_ca_group: "{{ gear_user_group }}" gear_file_ssl_ca_mode: 0644 gear_file_ssl_ca_owner: "{{ gear_user_name }}" gear_file_ssl_ca_src: etc/gear/ssl/root-ca.pem gear_file_ssl_cert_content: gear_file_ssl_cert_dest: /etc/gear/ssl/server.pem gear_file_ssl_cert_group: "{{ gear_user_group }}" gear_file_ssl_cert_mode: 0644 gear_file_ssl_cert_owner: "{{ gear_user_name }}" gear_file_ssl_cert_src: etc/gear/ssl/server.pem gear_file_ssl_key_content: gear_file_ssl_key_dest: /etc/gear/ssl/server.key gear_file_ssl_key_group: "{{ gear_user_group }}" gear_file_ssl_key_mode: 0600 gear_file_ssl_key_owner: "{{ gear_user_name }}" gear_file_ssl_key_src: etc/gear/ssl/server.key gear_file_log_config_dest: /etc/gear/logging.conf gear_file_log_config_group: "{{ gear_user_group }}" gear_file_log_config_mode: 0644 gear_file_log_config_owner: "{{ gear_user_name }}" gear_file_log_config_src: etc/gear/logging.conf # tasks/install.yaml gear_git_dest: "{{ ansible_user_dir }}/src/git.openstack.org/openstack-infra/gear" gear_git_uri: https://git.openstack.org/openstack-infra/gear gear_git_version: master # gear_git_refspec: # gear_git_update: gear_install_method: pip gear_pip_name: gear # gear_pip_executable: # gear_pip_extra_args: # gear_pip_version: # gear_pip_virtualenv_python: # gear_pip_virtualenv: # tasks/service.yaml gear_file_gear_service_manage: true gear_file_gear_service_group: root gear_file_gear_service_owner: root gear_file_gear_service_config_manage: true gear_file_gear_service_config_group: root gear_file_gear_service_config_owner: root gear_service_gear_daemon_reload: true gear_service_gear_enabled: yes gear_service_gear_manage: true gear_service_gear_name: gear gear_service_gear_state: started