>
> 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
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
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
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
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
>
> 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
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 :
>
>
> втор
вторник, 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
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
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
---
- 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
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
>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
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
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 :
>>
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
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
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
18 matches
Mail list logo