Git Product home page Git Product logo

debops-examples-2's Introduction

debops-examples-2

All the roles found in ./roles should install successfully. Note that some roles have a 'role_name' set in meta/main.yml. In these instances, the role_name value should be used. If no role_name value is set, then the role name is the subdirectory name.

After successfull install, the ~/.ansible/content/roles directory, on the local file system, should contain the following directories:

~/.ansible
    content/
        roles/
            <namespace>.apache/
            <namespace>.foo/
            <namespace>.example/
            <namespace>.example-2/

In the above example, <namespace> is determined by Galaxy CLI based on the resource passed to the install command. Suppose this repository is imported into Galaxy under the Galaxy Namespace 'foo', and the user passes a Galaxy resource as follows:

$ ansible-galaxy-cli content-install -t role foo.debops-examples-2 

The above will install all roles found in foo.debops-examples-2, resulting in the following directory tree:

~/.ansible
    content/
        roles/
            foo.apache/
            foo.foo/
            foo.example/
            foo.example-2/

Now suppose that the user passes an SCM+URL resource to the installer, as in the following example:

$ ansible-galaxy-cli content-install -t role git+https://github.com/atestuseraccount/debops-examples-2.git 

Because the project exists in the GitHub namespace atestuseraccount, the roles should be installed with a namespace of atestuseraccount. The resulting installed directory tree will look like the following:

~/.ansible
    content/
        roles/
            atestuseraccount.apache/
            atestuseraccount.foo/
            atestuseraccount.example/
            atestuseraccount.example-2/

debops-examples-2's People

Stargazers

Adrian Likins avatar

Watchers

James Cloos avatar Chris Houseknecht avatar  avatar

Forkers

newswangerd

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.