Commit 9220cfb4 by John Jarvis

creating git-identiy-example for xserver

parent d2b9367c
--- ---
# these pathes are relative to the playbook dir # these pathes are relative to the playbook dir
# directory for secret settings (keys, etc) # directory for secret settings (keys, etc)
#
secure_dir: 'path/to/secure_example' secure_dir: 'path/to/secure_example'
# this indicates the path to site-specific (with precedence) # this indicates the path to site-specific (with precedence)
......
...@@ -34,8 +34,8 @@ nginx_cfg: ...@@ -34,8 +34,8 @@ nginx_cfg:
edx_release: link edx_release: link
# path to version files for the basic # path to version files for the basic
# nginx configuration # nginx configuration
version_html: $app_dir/versions.html version_html: "{{ nginx_app_dir }}/versions.html"
version_json: $app_dir/versions.json version_json: "{{ nginx_app_dir }}/versions.json"
# default htpasswd contents set to edx/edx # default htpasswd contents set to edx/edx
# this value can be overiden in vars/secure/<group>.yml # this value can be overiden in vars/secure/<group>.yml
htpasswd: | htpasswd: |
......
...@@ -28,7 +28,10 @@ ...@@ -28,7 +28,10 @@
- deploy - deploy
- name: xserver | install read-only ssh key for the content repo that is required for grading - name: xserver | install read-only ssh key for the content repo that is required for grading
copy: src={{ xserver_git_identity_path }} dest=/etc/git-identity force=yes owner=ubuntu group=adm mode=60 copy: src={{ item }} dest=/etc/git-identity force=yes owner=ubuntu group=adm mode=60
first_available_file:
- "{{ secure_dir }}/files/git-identity"
- "git-identity-example"
tags: tags:
- deploy - deploy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment