Re: [ansible-project] Re: [Ansible 2.*] Problem with variables

2016-01-19 Thread George Khan
Brian, i try to use /etc/ansible/roles/main/vars/main.yml but all that i got: FAILED! => {"failed": true, "msg": "ERROR! 'adm_users' is undefined"} вторник, 19 января 2016 г., 20:22:55 UTC+5 пользователь Brian Coca написал: > > you can use 'vars' or 'defaults', but not 'variables: > > /etc/ansi

Re: [ansible-project] Re: [Ansible 2.*] Problem with variables

2016-01-19 Thread Brian Coca
you can use 'vars' or 'defaults', but not 'variables: /etc/ansible/roles/main/{vars,defaults}/main.yml On Tue, Jan 19, 2016 at 6:50 AM, George Khan wrote: > I'll must declare it in /etc/ansible/roles/preconf/defaults/main.yml > Thanks to navern ^_^ > > воскресенье, 17 января 2016 г., 1:55:53 UTC

[ansible-project] Re: [Ansible 2.*] Problem with variables

2016-01-19 Thread George Khan
I'll must declare it in /etc/ansible/roles/preconf/defaults/main.yml Thanks to navern ^_^ воскресенье, 17 января 2016 г., 1:55:53 UTC+5 пользователь George Khan написал: > > Hi there! I have some troubles with vars in ansible... > What i have: > > [root@ansible ansible]# cat /etc/ansible/roles/pr