diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-05-19 19:32:59 -0700 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-05-19 19:32:59 -0700 |
commit | 95e10bb4c0d69a21dc7fc4179a268fbd824f3bbf (patch) | |
tree | aedf796b29fc46f6c66f34ab51a41395c72d70ec /roles/nginx/tasks | |
parent | 860e68da12a99e9ddd70d3a96ee4ad44ab5ebe09 (diff) | |
download | infra-95e10bb4c0d69a21dc7fc4179a268fbd824f3bbf.tar.gz infra-95e10bb4c0d69a21dc7fc4179a268fbd824f3bbf.zip |
nginx: control nginx.conf (general config) under ansible
Diffstat (limited to 'roles/nginx/tasks')
-rw-r--r-- | roles/nginx/tasks/nginx.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/nginx/tasks/nginx.yml b/roles/nginx/tasks/nginx.yml index fdc91c8..87fa0ca 100644 --- a/roles/nginx/tasks/nginx.yml +++ b/roles/nginx/tasks/nginx.yml @@ -27,6 +27,10 @@ - {src: "{{ nginx_default_favicon }}", dest: "favicon.png"} - {src: "{{ nginx_default_index }}", dest: "index.html"} +- name: Copy top-level nginx site configuration + template: src=etc_nginx_nginx.conf.j2 + dest=/etc/nginx/nginx.conf + - name: Copy generic (default) nginx site configuration template: src=etc_nginx_sites-available_default.j2 dest=/etc/nginx/sites-available/default |