https://github.com/qedsoftware/ansible-socorro
Ansible for Socorro
https://github.com/qedsoftware/ansible-socorro
ansible
Last synced: about 1 month ago
JSON representation
Ansible for Socorro
- Host: GitHub
- URL: https://github.com/qedsoftware/ansible-socorro
- Owner: qedsoftware
- Created: 2016-08-25T09:12:19.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-01T20:00:59.000Z (almost 9 years ago)
- Last Synced: 2025-05-25T13:48:37.520Z (about 1 year ago)
- Topics: ansible
- Language: Shell
- Size: 201 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
socorro |travis|
================
.. |travis| image:: https://travis-ci.org/qedsoftware/ansible-socorro.svg?branch=master
:target: https://travis-ci.org/qedsoftware/ansible-socorro/builds
Install Socorro (processor and collector components) and Kibana.
Role Variables
--------------
============================== =================================================== ===================
Name Description Example
============================== =================================================== ===================
socorro_upload_testing_symbols Symbols to upload during Ansible playbook execution demoapp.sym
============================== =================================================== ===================
Example Playbook
----------------
Create user ``socorro`` to run server:
.. code-block:: yaml
- hosts: socorro
tasks:
- name: Create 'socorro' group
become: yes
group:
name=socorro
- name: Create 'socorro' user
become: yes
user:
name=socorro
group=socorro
Create server and upload basic symbols (if path is relative they will be
searched in ``files`` directory):
.. code-block:: yaml
- hosts: socorro
become_user: socorro
become: yes
roles:
- socorro
vars:
socorro_upload_testing_symbols:
- demoapp.sym
- libMakeSegv.so.sym
Run on testing environment:
.. code-block:: shell
> ansible-playbook --inventory-file stage stage.yml --ask-become-pass
Run on production:
.. code-block:: shell
> ansible-playbook --inventory-file prod prod.yml --ask-become-pass
Note that if repo is cloned by git you need to set destination directory name
to ``socorro`` since it must be a role name (see ``ansible.cfg``):
.. code-block:: shell
> git clone https://github.com/qedsoftware/ansible-socorro socorro
License
-------
BSD
Author Information
------------------
Ruslan Baratov