openstack-ansible/playbooks/roles/repo_server
Zhao Lei e2f4e88a55 Remove quotes from subshell call in bash script
Always no quotes for $() statement.

We don't need quotes to hold blanks in result:
 # i=$(echo 1 2 3)
 # echo $i
 1 2 3
 #

These quotes can make something wrong in some case:
 # i=$(echo '!')
 #
 # i="$(echo '!')"
 -bash: !: event not found
 #

No real problem for current code, only to use a better code style.

Change-Id: If3a914650749d72c2eb13b9f1307ef7b4319bd2f
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
2015-09-23 19:14:16 +08:00
..
defaults Adjust SSH key creation method for repo servers 2015-07-23 11:45:01 +01:00
files Remove quotes from subshell call in bash script 2015-09-23 19:14:16 +08:00
handlers Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
meta added role to pin packages 2015-05-08 13:22:42 -05:00
tasks Adjust SSH key creation method for repo servers 2015-07-23 11:45:01 +01:00
templates Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
CONTRIBUTING.rst Cleaning up doc8 violations. 2015-06-10 02:09:18 +00:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
README.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +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