Role repo_server for OpenStack-Ansible
Go to file
Jesse Pretorius 4ee0d39710 Force initial apt-get update as part of test execution
Some OpenStack-CI providers have invalid apt caches and therefore
need a forced update as an initial task in the test execution, or
the tests will fail.

This patch ensures that the apt cache is updated before any apt
installations happen.

Change-Id: I27236aa91197b20fe943823e28062afde7024f39
2016-03-01 18:07:39 +00:00
defaults Removed pip requirements from the repo-server role 2016-02-25 13:26:42 -06:00
doc first commit 2015-12-09 09:25:37 -06:00
files Remove yaprt/openstack-wheel-builder from repo-server 2016-01-20 10:15:46 +00:00
handlers first commit 2015-12-09 09:25:37 -06:00
meta first commit 2015-12-09 09:25:37 -06:00
tasks Removed pip requirements from the repo-server role 2016-02-25 13:26:42 -06:00
templates first commit 2015-12-09 09:25:37 -06:00
tests Force initial apt-get update as part of test execution 2016-03-01 18:07:39 +00:00
.gitreview updated repo pathing for new org 2015-12-10 20:47:45 -06:00
CONTRIBUTING.rst first commit 2015-12-09 09:25:37 -06:00
LICENSE first commit 2015-12-09 09:25:37 -06:00
README.rst first commit 2015-12-09 09:25:37 -06:00
run_tests.sh first commit 2015-12-09 09:25:37 -06:00
setup.cfg first commit 2015-12-09 09:25:37 -06:00
setup.py first commit 2015-12-09 09:25:37 -06:00
test-requirements.txt Update tox config and add bashate E006, E040 exceptions 2016-02-12 11:59:02 +00:00
tox.ini Update tox config and add bashate E006, E040 exceptions 2016-02-12 11:59:02 +00:00

README.rst

OpenStack repo server

tags

openstack, repo, server, cloud, ansible

category

*nix

Role to deploy a repository server for both python packages and git sources.

- name: Setup repo servers
  hosts: repo_all
  user: root
  roles:
    - { role: "repo_server", tags: [ "repo-server" ] }
  vars:
    memcached_servers: 127.0.0.1:11211
    memcached_encryption_key: secrete