machines (it still required python-2.6 or greater on the controller
> but you could manage machines with only python 2.4 installed ).
>
> -Toshio
>
> On Dec 20, 2017 5:48 AM, "Oğuz Yarımtepe" wrote:
>
>> Hi,
>>
>> While i am just testing ping adhoc com
Hi,
While i am just testing ping adhoc command for my Centos5 environment below
is the error i got
$ ansible all -i tmp3.txt -m ping -u root -k
TESTSRV | FAILED! => {
"changed": false,
"failed": true,
"module_stderr": "",
"module_stdout": " File
\"/tmp/ansible_nEiCUn/ansible_
Hi,
I am trying get VM facts from my VMware 6.5 environment and
trying vmware_guest_facts. Below is my tasks/main.yml
---
- name: Gather facts from standalone ESXi server having datacenter
vmware_guest_facts:
hostname: osvvca02.foo.net
username: some_user_name_here
password: passwo
I added VMWare VCenter credential typt to AWX interface and also added
source of my VCenter. I can see the vms on my VCenter but all are imported
with their name_id format which i dont want. How can i tell AWX (Tower) to
import VCenter vmc with just thier name or display them as their names?
--
Hi all,
I am testing AWX. I want to create custom surveys before running my job
template and wondering whether i can fill multichoice forms from an
external api and let the user choose those values?
Any example or documentation about it?
--
You received this message because you are subscribed
13 AM, Madhu wrote:
> There is a default time out value for expect. That's why its timing out.
> To disable the timeout, we are setting as -1. I don't think its ansible
> issue.
>
> On Wed, Jun 21, 2017 at 10:09 PM, Oğuz Yarımtepe
> wrote:
>
>> The lookup method
ore the spawn command. That should solve the issue.
>
> Thanks,
> Madhu
>
> Sent from my iPhone
>
> On Jun 21, 2017, at 3:21 PM, Oğuz Yarımtepe
> wrote:
>
> Great tip.
>
> Here is my folder structure:
>
> group_vars/all
>
> some_playbook/playbook.yml
w this discussion on the web visit https://groups.google.com/d/
> msgid/ansible-project/CACVha7fE3gXviKZyynV9xKY_
> myec1ND%2BYWHMcuSqyG61RbuH7g%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Oğuz Yarımtepe
http://about.me/oguzy
--
You received this me
sible-project/CACVha7e7Dbp%3Dt%2BoNeRGZEewEvVdVCvzeuGEJh3_
> oLuM2UmuobQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Oğuz Yarımtepe
http://about.me/oguzy
--
You received this message because you are subscribed to the Google Groups
"Ansible
t; 2BFePwnsOREO_j%3DEum2brKOShgA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Oğuz Yarımtepe
http://about.me/oguzy
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from thi
Hi,
I am using ansible-playbook at a script and passing password to t. Below is
how i used it:
run.sh
#!/bin/bash
...
/bin/expect <<- DONE
spawn ansible-playbook -i $1 $2 -u $Username -k --become-user root
--become-method sudo --become
expect "SSH password: "
send "$
What is the best way to log to the splunk while using ansible from cli?
Regards.
--
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...@
How can use ansible with the below ssh.cfg
Host test
Hostname 10.35.74.241
User oyarimtepe@syslnx#host.foo@machine1.host.foo.com
I am trying to connect machine1. The above settings let me connect with
ssh test
10.35.74.241 is working like a jump host.
I created ansible.cfg as
[
igip_pool module.
> Do any other modules work?
>
> On Thu, Dec 15, 2016 at 9:11 AM, Oğuz Yarımtepe
> wrote:
>
> Any more comment?
>
> On Thu, Dec 15, 2016 at 3:17 AM, Oğuz Yarımtepe
> wrote:
>
> (venv) ➜ ansible-playbooks git:(master) ✗ ansible --version
> ans
Any more comment?
On Thu, Dec 15, 2016 at 3:17 AM, Oğuz Yarımtepe
wrote:
> (venv) ➜ ansible-playbooks git:(master) ✗ ansible --version
> ansible 2.2.0.0
> config file =
> configured module search path = Default w/o overrides
>
> On Thu, Dec 15, 2016 at 3:15 AM, Tim wro
6 at 5:11 PM, Oğuz Yarımtepe
> wrote:
>
>> /Users/my_username/git/ansible-playbooks/venv/bin/python
>>
>> On Thu, Dec 15, 2016 at 3:09 AM, Tim wrote:
>>
>>> What is the full path to your venv python interpreter?
>>>
>>> On Wed, Dec 14,
/Users/my_username/git/ansible-playbooks/venv/bin/python
On Thu, Dec 15, 2016 at 3:09 AM, Tim wrote:
> What is the full path to your venv python interpreter?
>
> On Wed, Dec 14, 2016 at 5:00 PM, Oğuz Yarımtepe
> wrote:
>
>> I removed the ansible.cfg and retried a
t; you shouldn't even need to include a roles path. What happens if you just
> remove the ansible.cfg file?
>
> -tim
>
> On Tue, Dec 13, 2016 at 5:35 AM, Oğuz Yarımtepe
> wrote:
>
>> At my virtualenv
>>
>>
>> Here is my ansible.cfg
>>
>
At my virtualenv
Here is my ansible.cfg
[defaults]
host_key_checking = False
library =/path/to/ansible-playbooks/venv/lib/python2.7/site-packages/ansible
/modules
And here is my f5-text.txt
localhost]
ansible_connection=local ansible_python_interpreter=/Users/oyarimtepe/git.
gittigidiyor/ans
I am having trouble about finding the right syntax for running a playbook
with ansible api below is my code
#!/usr/bin/env python
import os
import sys
import tempfile
import time
from collections import namedtuple
from ansible.parsing.dataloader import DataLoader
from ansible.vars import Variab
47 ansible_python_interpreter=python ansible_user=root
ansible_ssh_pass=
Somehow when i run the python code, it is not able to connect to the
remote host.
So is there any wrong usage above? Is the inventory right? I even
tried with removing ansible variabled at the line, nothing changed.
Any idea?
il.com
> <https://groups.google.com/d/msgid/ansible-project/CACVha7cTCgv%2BGXOjcGXhewNSQT-B7CPM3%3DYPGL_ryG6yiD7rOw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
--
Oğuz Yarımtepe
http://about.me/oguzy
--
Y
7cTCgv%2BGXOjcGXhewNSQT-B7CPM3%3DYPGL_ryG6yiD7rOw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
--
Oğuz Yarımtepe
http://about.me/oguzy
--
You received this message because you are subscribed to the
eb visit https://groups.google.com/d/
> msgid/ansible-project/CACVha7cTCgv%2BGXOjcGXhewNSQT-
> B7CPM3%3DYPGL_ryG6yiD7rOw%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CACVha7cTCgv%2BGXOjcGXhewNSQT-B7CPM3%3DYPGL_ryG6yiD7rOw%40mail.gmail.com?utm_medium=email&utm_s
Here is my structure.
✗ tree -L 2
.
├── ansible.cfg
├── ansible.cfg.bak
├── group_vars
│ ├── default
│ └── default.bak
├── hosts
├── playbook.yml
├── playbook_hostname.yml
├── playbook_ip.yml
├── roles
│ ├── hostname
│ ├── ip
│ └── satellite
When i run the below code, i am not able to
Below is my code sample to run a simple playbook on a host
#!/usr/bin/env python
import os
import sys
import tempfile
import time
from collections import namedtuple
from ansible.parsing.dataloader import DataLoader
from ansible.vars import VariableManager
from ansible.inventory import Inventory
Hi all,
I am having trouble about using the ansible 2 api. Below is my code:
#!/usr/bin/env python
import os
import sys
import json
from collections import namedtuple
from ansible.parsing.dataloader import DataLoader
from ansible.vars import VariableManager
from ansible.inventory import Invento
27 matches
Mail list logo