Role repo_server for OpenStack-Ansible
6ea680c062
Extracting the ssh public key using cat and storing the result in a fact has resulted in periodic failures in the collection of the key, and thereafter the failure to appropriately place that key into the authorised_keys file. This patch changes the collection method to use the Ansible slurp module which has been found to be more reliable. Change-Id: I68699e7b59630cc3bc6113285edcb1ab936160ce |
||
---|---|---|
defaults | ||
doc | ||
files | ||
handlers | ||
meta | ||
tasks | ||
templates | ||
tests | ||
.gitreview | ||
CONTRIBUTING.rst | ||
LICENSE | ||
README.rst | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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