[ansible-project] Re: ERROR: Invalid ini entry

2015-07-31 Thread Юра Фролов
> > Very first line of this inventory file has: >w This is the default ansible 'hosts' file. > Looks like the "#" was replaced with a "w" at some point. I get the > same error you do until I replace the "w" with a "#". I fixed this error. But now a new error: ~# ansible-playbook -i /e

[ansible-project] Re: ERROR: Invalid ini entry

2015-07-31 Thread Юра Фролов
Very first line of this inventory file has: w This is the default ansible 'hosts' file. Looks like the "#" was replaced with a "w" at some point. I get the same error you do until I replace the "w" with a "#". I fixed this error. But now a new error: ~# ansible-playbook -i /etc/ansible

Re: [ansible-project] Re: ERROR: Invalid ini entry

2015-07-30 Thread Toshio Kuratomi
On Wed, Jul 22, 2015 at 12:49 AM, Юра Фролов wrote: >> Can you upload your actual inventory file somewhere for us to download and >> take a look? I've just tested and one way that error can happen is if >> there's trailing, non-ascii whitespace > > inventory file > Very first line of this invent

Re: [ansible-project] Re: ERROR: Invalid ini entry

2015-07-30 Thread Martin
Hi, * Are your control and target host Linux machines? * What happens if you remove the ansible.cfg file? * Try to enable settings line by line to find out what the offending line is Can you post a complete and repeatable version of your: * ansible config * ansible playbook * info on the ansible

[ansible-project] Re: ERROR: Invalid ini entry

2015-07-29 Thread Юра Фролов
Are there any fresh ideas? I'm confused, if everything is correct, why does not work? Which repository can use for upgrade ansible? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from

[ansible-project] Re: ERROR: Invalid ini entry

2015-07-22 Thread Юра Фролов
> > have you tried to name your inventory "hosts" and to store it at > /etc/ansible ? > so you will not have to make the -i thing when you want to run your > playbook I did not do it. Which version is now ansible current version for Ubuntu 14.10? Which repositories ansible is now available

[ansible-project] Re: ERROR: Invalid ini entry

2015-07-22 Thread Guillaume Querso
your inventory seems ok to me, what is your opinion tkuratomi? have you tried to name your inventory "hosts" and to store it at /etc/ansible ? so you will not have to make the -i thing when you want to run your playbook Le mercredi 22 juillet 2015 08:49:35 UTC+1, Юра Фролов a écrit : > > > втор

[ansible-project] Re: ERROR: Invalid ini entry

2015-07-22 Thread Юра Фролов
вторник, 21 июля 2015 г., 16:12:48 UTC+3 пользователь Guillaume Querso написал: > > As suggested by the documentation ( > http://docs.ansible.com/ansible/intro_configuration.html#sudo-user ), i > would say the remote. just to be clear, your remote is a Linux/Unix > machine? double check your i

Re: [ansible-project] Re: ERROR: Invalid ini entry

2015-07-21 Thread Toshio Kuratomi
Can you upload your actual inventory file somewhere for us to download and take a look? I've just tested and one way that error can happen is if there's trailing, non-ascii whitespace. -Toshio On Jul 21, 2015 5:48 AM, "Юра Фролов" wrote: > > --- > - host:10.95.46.117 > sudo:True > sudo_user

[ansible-project] Re: ERROR: Invalid ini entry

2015-07-21 Thread Guillaume Querso
As suggested by the documentation ( http://docs.ansible.com/ansible/intro_configuration.html#sudo-user ), i would say the remote. just to be clear, your remote is a Linux/Unix machine? double check your indentation in your playbook to be sure nothing is wrong here. can you try: ansible 10.95.4

[ansible-project] Re: ERROR: Invalid ini entry

2015-07-21 Thread Юра Фролов
--- - host:10.95.46.117 sudo:True sudo_user:user task: - name: install freeradius apt:pkg=freeradius - name: copy config copy:src="/etc/ansible/roles/preconf/templates/freeradius" dest="/etc/" owner=root group=freeradius

[ansible-project] Re: ERROR: Invalid ini entry

2015-07-21 Thread Guillaume Querso
i would like to see the content of test_new.yml Le mardi 21 juillet 2015 11:16:38 UTC+1, Юра Фролов a écrit : > > >can you post a version of your playbook? can you ping the port you are > targeting? > ~# ansible-playbook --version > ansible-playbook 1.7.2 > # ping 10.95.46.117 > PING 10.95.46.11

[ansible-project] Re: ERROR: Invalid ini entry

2015-07-21 Thread Юра Фролов
>can you post a version of your playbook? can you ping the port you are targeting? ~# ansible-playbook --version ansible-playbook 1.7.2 # ping 10.95.46.117 PING 10.95.46.117 (10.95.46.117) 56(84) bytes of data. 64 bytes from 10.95.46.117: icmp_seq=1 ttl=64 time=0.949 ms 64 bytes from 10.95.46.117

[ansible-project] Re: ERROR: Invalid ini entry

2015-07-21 Thread Guillaume Querso
can you post a version of your playbook? can you ping the port you are targeting? Le mardi 21 juillet 2015 09:04:09 UTC+1, Юра Фролов a écrit : > > And one more question. Of what value is said in the error message? > -- You received this message because you are subscribed to the Google Groups

[ansible-project] Re: ERROR: Invalid ini entry

2015-07-21 Thread Guillaume Querso
by the way, you should have [testserver:vars] and not [tesserver:vars] Le mardi 21 juillet 2015 10:12:29 UTC+1, Guillaume Querso a écrit : > > can you post a version of your playbook? can you ping the port you are > targeting? > > Le mardi 21 juillet 2015 09:04:09 UTC+1, Юра Фролов a écrit : >>

[ansible-project] Re: ERROR: Invalid ini entry

2015-07-21 Thread Юра Фролов
And one more question. Of what value is said in the error message? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.co

[ansible-project] Re: ERROR: Invalid ini entry

2015-07-21 Thread Юра Фролов
I did the settings that you specify. My config file [testserver] 10.95.46.117 [tesserver:vars] ansible_ssh_port= ansible_connection=ssh ansible_ssh_user=user ansible_ssh_pass=user and I get the same error ~# ansible-playbook -i /etc/ansible/inventory /etc/ansible/roles/preconf/tasks/test_ne

[ansible-project] Re: ERROR: Invalid ini entry

2015-07-17 Thread Guillaume Querso
i can't see any value to ansible_ssh_user, if you haven't set one, you should do it. i don't think ansible_ssh_host is needed because it is already specified. then, you should set your password and the connection type: inventory file: [testserver] 10.95.46.117 [testserver:vars] ansible_ssh