Andy McCrae c924a7652f Adjust SSH key creation method for repo servers
This patch ensures that the authorized_keys ansible module, as well as
the built in "generate_ssh_keys" flag for user creation, so that we can
avoid using shell out commands.

Additionally, this moves the key synchronisation to use ansible
variables instead of the memcache server.

Change-Id: I4fe7620cae6bf68f4c0fe248cb1dfa3c24e44110
Closes-Bug: #1477494
2015-07-23 11:45:01 +01:00
..
2015-05-08 13:22:42 -05:00
2015-06-10 02:09:18 +00:00

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