Move variables to the netstat role

This commit is contained in:
Aleskey Zalesov 2018-03-16 16:09:47 +03:00
parent 196f6109a4
commit 5d5c502133
2 changed files with 12 additions and 8 deletions

View File

@ -0,0 +1,12 @@
---
username: "netstat"
users:
- name: "{{ username }}"
home: "/home/{{ username }}"
allow_netstat_ssh: true
allow_netstat_http: true
nginx_headers: "off"
PROXY_PORT: "3000"
NETSTATS_SERVER: "http://localhost:3000"

View File

@ -45,14 +45,6 @@
- hosts: netstat
become: True
vars:
nginx_headers: "off"
PROXY_PORT: "3000"
NETSTATS_SERVER: "http://localhost:3000"
username: "netstat"
users:
- name: "netstat"
home: "/home/netstat"
roles:
- usermanager
- nodejs