Move default vars to the explorer role

This commit is contained in:
Aleskey Zalesov 2018-03-16 16:07:28 +03:00
parent 9a16a22cd6
commit 3bb51d12c9
2 changed files with 12 additions and 8 deletions

View File

@ -0,0 +1,12 @@
username: "explorer"
users:
- name: "{{ username }}"
home: "/home/{{ username }}"
allow_explorer_ssh: true
allow_explorer_p2p: true
allow_explorer_http: true
nginx_headers: "off"
PROXY_PORT: "3000"
explorerS_SERVER: "localhost"

View File

@ -65,14 +65,6 @@
- hosts: explorer - hosts: explorer
become: True become: True
vars:
nginx_headers: "off"
PROXY_PORT: "3000"
explorerS_SERVER: "localhost"
username: "explorer"
users:
- name: "explorer"
home: "/home/explorer"
roles: roles:
- usermanager - usermanager
- nodejs - nodejs