add role reverse_proxy
This commit is contained in:
parent
2d3af2f7bc
commit
6b9a499fac
3 changed files with 17 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,3 @@
|
||||||
# ---> Ansible
|
# ---> Ansible
|
||||||
*.retry
|
*.retry
|
||||||
|
vault_pass.txt
|
||||||
|
|
9
roles/reverse_proxy/tasks/main.yml
Normal file
9
roles/reverse_proxy/tasks/main.yml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
- name: Install and upgrade NGINX
|
||||||
|
apt:
|
||||||
|
update_cache: true
|
||||||
|
name: nginx
|
||||||
|
state: latest
|
||||||
|
register: apt_result
|
||||||
|
retries: 3
|
||||||
|
until: apt_result is succeeded
|
7
web_services.yml
Normal file
7
web_services.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env ansible-playbook
|
||||||
|
---
|
||||||
|
|
||||||
|
# Reverse proxy
|
||||||
|
- hosts: hindley.adh.auro.re
|
||||||
|
roles:
|
||||||
|
- reverse_proxy
|
Loading…
Reference in a new issue