extra pkg and specific task as a result; add hub.thezengarden.net -> 10.1.1.126

This commit is contained in:
Chris Hammer 2022-03-10 00:07:03 -05:00
parent 7a537451f3
commit 22c826e57a
3 changed files with 7 additions and 9 deletions

View File

@ -1,5 +1,5 @@
---
proxy_package_list : ['nginx','aptitude','git']
proxy_package_list : ['nginx','git']
proxy_site_conf_dir : /etc/nginx/conf.d
proxy_site_file : "{{ proxy_site_conf_dir }}/zen_proxy.conf"
proxy_site_version : 1.8

View File

@ -198,6 +198,12 @@ proxy_sites:
port : 443
hub.thezengarden.net:
proto : https
dest : 10.1.1.126
port : 443
beta.chris-hammer.com:
proto : http
dest : "{{ proxy_default_host }}"

View File

@ -1,12 +1,4 @@
---
# tasks file for zen_rev_proxy
- name: alter package list for centos
set_fact:
proxy_package_list: ['nginx','git']
tags: always
when: ansible_distribution == "CentOS"
- name: install proxy packages
package:
name : "{{ proxy_package_list }}"