Giter VIP home page Giter VIP logo

galaxy_ng's Introduction

Galaxy NG

Build Status

A Pulp plugin to support hosting your very own Ansible Galaxy server.

This is a brand new take on Ansible Galaxy, so it will look and feel a bit different than the current galaxy.ansible.com web site. Over time we expect to migrate the web site to this codebase, so for now you're looking into the future, and you have an opportunity to help shape that future.

Our mission is to help organizations share Ansible automation and promote a culture of collaboration around Ansible automation development. We'll be providing features that make it easy to create, discover, use and distribute Ansible automation content.

To see what we're currently working on, view the Roadmap.

To learn more about Pulp, view the Pulp project page.

OpenAPI Spec

View the latest version of the spec by clicking here.

Contributing

Installation

The following is a simple quickstart for installing a local Galaxy server. It requires that you have Ansible installed.

  1. Clone the Pulp Installer project:

    git clone https://github.com/pulp/pulp_installer.git
    
  2. Set your working directory to the pulp_installer directory.

  3. Create a playbook called install.yml that contains the following:

    • Warning: please change the pulp_default_admin_password (Initial password for the Pulp admin).
    - hosts: all
      vars:
        pulp_settings:
          secret_key: secret
          content_origin: "http://{{ ansible_fqdn }}"
          x_pulp_api_host: "{{ pulp_api_host }}"
          x_pulp_api_port: "{{ pulp_api_port }}"
          x_pulp_api_user: "admin"
          x_pulp_api_password: "{{ pulp_default_admin_password }}"
          x_pulp_api_prefix: "pulp_ansible/galaxy/automation-hub/api"
          galaxy_require_content_approval: "False"
        pulp_default_admin_password: password
        pulp_install_plugins:
          pulp-ansible: {}
          galaxy-ng: {}
          pulp-container: {}
        pulp_api_workers: 4
      roles:
        - pulp_database
        - pulp_workers
        - pulp_resource_manager
        - pulp_webserver
        - pulp_content
        - chouseknecht.ansible_galaxy_config
      environment:
        DJANGO_SETTINGS_MODULE: pulpcore.app.settings
    
  4. Install Ansible role dependencies by running the following commands to download roles from Community Galaxy:

    $ ansible-galaxy install -r requirements.yml
    
    $ ansible-galaxy install chouseknecht.ansible_galaxy_config 
    
  5. Run the install.yml playbook

    The following provides an example of how to start playbook execution. It assumes an inventory file called hosts exists in the current directory and contains the target host(s) where Galaxy server is to be installed:

    $ ansible-playbook install.yml -i hosts
    
  6. Access the server on port 80. For example, http://127.0.0.1. Login using "admin" as the username, and the value assigned to "pulp_default_admin_password" in your playbook as the password.

  7. To setup a namespace and publish your fist collection, view our user guide.

License

GNU General Public License v2. View LICENSE for full text.

galaxy_ng's People

Contributors

alikins avatar awcrosby avatar cutwater avatar fao89 avatar ironfroggy avatar jonnyfiveiq avatar newswangerd avatar romanblanco avatar shanemcd 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.