Move variables to the moc role

This commit is contained in:
Aleskey Zalesov 2018-03-16 16:07:46 +03:00
parent 3bb51d12c9
commit 196f6109a4
2 changed files with 8 additions and 5 deletions

View File

@ -0,0 +1,8 @@
---
username: "moc"
users:
- name: "{{ username }}"
home: "/home/{{ username }}"
allow_moc_ssh: true
allow_moc_p2p: true

View File

@ -79,11 +79,6 @@
- hosts: moc
become: True
vars:
username: "moc"
users:
- name: "moc"
home: "/home/moc"
roles:
- usermanager
- nodejs