Commit 63524e53 by Bilal

adding aws role and nginx site related code to edxapp-appneta playbook

parent a9660c48
# When running, do pass ACCESS_KEY for appneta account as an argument to playbook e.g. # When running, do pass ACCESS_KEY for appneta account as an argument to playbook e.g.
# ansible-playbook appneta.yml -i "localhost," --extra-vars "ACCESS_KEY=xxx-xx-xx" # ansible-playbook edxapp-appneta.yml -i "localhost," --extra-vars "ACCESS_KEY=xxx-xx-xx"
- name: Deploy appneta - name: Deploy appneta
hosts: all hosts: all
sudo: True sudo: True
...@@ -10,4 +10,13 @@ ...@@ -10,4 +10,13 @@
roles: roles:
- appneta - appneta
- edxapp - edxapp
- nginx - aws
- role: nginx
nginx_sites:
- lms
- cms
nginx_default_sites:
- lms
nginx_extra_sites: "{{ NGINX_EDXAPP_EXTRA_SITES }}"
nginx_extra_configs: "{{ NGINX_EDXAPP_EXTRA_CONFIGS }}"
nginx_redirects: "{{ NGINX_EDXAPP_CUSTOM_REDIRECTS }}"
...@@ -28,10 +28,6 @@ appneta_apt_repo: "deb http://{{ apt_server }}/{{ ACCESS_KEY }} {{ ansible_distr ...@@ -28,10 +28,6 @@ appneta_apt_repo: "deb http://{{ apt_server }}/{{ ACCESS_KEY }} {{ ansible_distr
# #
# OS packages # OS packages
# #
nginx_extra_pkgs:
- nginx-extras
- nginx-light
appneta_debian_pkgs: appneta_debian_pkgs:
- liboboe0 - liboboe0
- liboboe-dev - liboboe-dev
......
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