Coder Social home page Coder Social logo

ansible-semaphore's Introduction

ansible-semaphore

Create a docker container using docker-compose.xml in repository.

  1. using terminal , connect to semaphore.
  2. Create a playbook directory for "ansible".
  3. mysql setup
  • change root privilges - enable remote access
  1. In semaphore container
  • test mysql connection. :) [mysql -h mysql -u root -p]
  1. semaphore setup
  ~/>  semaphore --setup
 Hello! You will now be guided through a setup to:
   1. Set up configuration for a MySQL/MariaDB database
   2. Set up a path for your playbooks (auto-created)
   3. Run database Migrations
   4. Set up initial seamphore user & password

   > DB Hostname (default 127.0.0.1:3306): mysql:3306
   > DB User (default root):
   > DB Password: MUST_BE_CHANGE_PASSWORD
   > DB Name (default semaphore):
   > Playbook path:  MUST_BE_CHANGE_PLAYBOOK_PATH
   
   Generated configuration:
   {
          "mysql": {
                  "host": "mysql:3306",
                  "user": "root",
                  "pass": "MUST_BE_CHANGE_PASSWORD",
                  "name": "semaphore"
          },
          "port": "",
          "bugsnag_key": "",
          "tmp_path": "/tmp/semaphore",
          "cookie_hash": "x30Ap4e1UuT166oL/XXXXXXXXXXXXXXXX=",
          "cookie_encryption": "pTN+Ycq+XXXXXXXXXXXX+E+DIuZPxxIipk="
   }

 > Is this correct? (yes/no):
  1. playbook config check.
  2. Run semaphore semaphore -config /tmp/semaphore/semaphore_config.json

ansible-semaphore's People

Contributors

nobelbill avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.