Giter VIP home page Giter VIP logo

aptly's Introduction

Aptly

Create and serve a debian repostitory from a bunch of *.debs. Tested on:

  • Debian 9

Usage

Start by listing the repositories you want to create in aptly_repos. You will need a separate repostitory for each distribution you want to serve. You will also need to think about key management, you can either leave aptly_gpg_generate_key set to true which will result in a passwordless 2048 bit RSA key being generated or set it to false and put your own keyring in files. After running the role, su to aptly_repo_user and use aptly repo add <name> <debs> to add packages. If you use your repostitory for the first time, you'll need to tell aptly to publish it: aptly publish repo -distribution="<distribution, e.g. stretch>" -architectures=<architectures, e.g. 'amd64,all'> <name> filesystem:default:<name> This will inform aptly about both the distribution and the architectures for each repostitory which cannot be changed afterwards. After subsequent adds, you can to update the repostitory using aptly publish update <distribution> filesystem:default:<name>

Configuration

Variable Default value Description
aptly_repo_user repo How is the repo user supposed to be called?
aptly_repo_user_home /home/repo Where is the repo users' home supposed to be?
aptly_repo_group repo How is the default group of the repo user supposed to be called?
aptly_gpg_generate_key True Whether to have this role generate a passwordless RSA key
aptly_gpg_key_name repo Name under which the GPG key should be stored in the webroot ({{ name }}.asc)
aptly_repos [] An array of repositories to create
aptly_webroot_path /var/www/html/aptly Where to put the finished repo

aptly's People

Contributors

uubk avatar carbenium avatar

Stargazers

hona 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.