56cf700fd0
Include the ability for a user to run geard. Change-Id: I6a075da4f1b094930948aad3ebfa912bcd598d42 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
57 lines
1.5 KiB
YAML
57 lines
1.5 KiB
YAML
# 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
|
|
|
|
# tasks/install.yaml
|
|
gear_git_dest: /opt/ansible-role-gear/git/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: git
|
|
|
|
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
|