added Cloud Formation templates for ECS and EKS

This commit is contained in:
Vinay Aggarwal
2019-11-18 16:54:25 -08:00
parent 8e7a87dfe1
commit 5d2fb7a659
40 changed files with 4690 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
---
# Tasks for configuring NGINX for Artifactory
- name: Ensure latest nginx is installed
package:
name: nginx
state: latest
- name: Configure main NGINX conf file.
copy:
src: nginx.conf
dest: /etc/nginx/nginx.conf
owner: root
group: root
mode: '0755'
notify: restart nginx
- name: Configure the Artifactory NGINX conf
template:
src: artifactory.conf.j2
dest: /etc/nginx/conf.d/artifactory.conf
owner: root
group: root
mode: '0755'
notify: restart nginx