Hello Guy !! ;)
I am trying to create an Eyes Of Network virtual machine from an ISO on an
ESXI through a vCenter.
I try to use the task below but it doesn't work :(
Can you tell me if this is the right module to use please?
- name: Create a virtual machine from a template
vmware_guest:
Hello,
I have the same error like with port int in my programme python
The creation module Ansible in well in contexte "Ansible project" ... :/
Thanks you
Karther
Le mercredi 29 janvier 2020 14:42:57 UTC+1, Stefan Hornburg (Racke) a
écrit :
>
> On 1/29/20 2:36 PM, Karther w
thout port: 1433 i have the same error
I don't know why ?
Can you help me please !!
Best Regards,
Karther
--
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,
database: *my_database*
file_sql: *./script_sql.sql*
Someone can you help me for transform my program python in module ansible
please ?
Thanks you very much !! :)
Best regards,
Karther
--
You received this message because you are subscribed to the Google Groups
"Ansible Proje
sql02", user="sa_ofs",
password="#Adm!n0fS1", database="my_database")*
*cur = conn.cursor()*
*with open('real.sql') as f:*
*cur.execute(f.read().decode('utf-8'))*
*conn.commit()*
*cur.close()*
Do you understand what i want please Commu
Hello,
Yes my task is this :
- name: "Execut script python"
shell: ./myscript.py
delegate_to: localhost
I want to get statut of my command line in my script for get message error.
Thanks very much Community Ansible :)
Best Regards,
Karther
Le mardi 28 janvier 2020 17:54:58 UTC
vier 2020 12:33:03 UTC+1, P. Varsha a écrit :
>
> can you please share what actually error log you are getting.
>
> On Tue, Jan 28, 2020 at 4:13 PM Karther >
> wrote:
>
>> Hello,
>>
>> I have one script python script.py with this content :
>>
>> *#!/u
sql') as f:*
*cur.execute(f.read().decode('utf-8'))*
*conn.commit()*
*cur.close()*
i want that when i execut this script in ansible, i have log error in file
or windows if there is error in this script ?
Can you help me please ?
Thanks very much guy !!
Best Rega
up !!
Can you help me please !! :)
Best Regards,
Karther
Le jeudi 16 janvier 2020 17:32:29 UTC+1, Karther a écrit :
>
> I would like that with each creation of vm of my csv file, it asks me for
> a confirmation o / n which I put in my prompt?
>
> Example:
>
> Would you l
device_type: vmxnet3
register: deploy_vm
delegate_to: localhost
loop: "{{ report_csv.list }}"
loop_control:
loop_var: vm
when: choix_utilisateur == "o" and inventory_hostname in groups['ESXI']
Someone have any idea please ??
Thanks you ver
yload_hXTFhK/__main__.py\",
line 143, in main\nTypeError: connect() got an unexpected keyword argument
'port'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr
for the exact error", "rc": 1}
Someone have any ide
sible ;)
Best Regards,
Karther
--
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.com.
To view this discussion o
me please !!! ^_^
Thanks you very much community Ansible !! :)
Best regards,
Karther
--
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-projec
in/ansible*
* python version = 2.7.9 (default, Sep 14 2019, 20:00:08) [GCC 4.9.2]*
Maybe 2.8.0.dev0 is not good version ? It's not same that version 2.8.0 ?
Thanks for your answers !! :)
Best regards,
Karther
Le mardi 14 janvier 2020 15:33:03 UTC+1, Dick Visser a écrit :
>
> Ansible to
And,
I have this problem only with module read_csv it's very strange ...
all parameters are well indented
Can you help me please ...
Best regards,
Karther
Le mardi 14 janvier 2020 15:07:11 UTC+1, Karther a écrit :
>
> Hey Vladimir,
>
> The error is :
>
> *ERROR! no
pending on the exact syntax problem.*
*The offending line appears to be:*
*- name: "Read users from CSV file and return a list"*
* ^ here*
Thanks for your help !! :)
Best regards,
Karther
Le mardi 14 janvier 2020 14:12:28 UTC+1, Vladimir Botka a écrit :
>
> On Tue, 14 Ja
,'*
* register: file_csv*
* delegate_to: localhost*
Best Regards,
Karther
Le lundi 13 janvier 2020 17:35:07 UTC+1, Vladimir Botka a écrit :
>
> On Mon, 13 Jan 2020 08:10:14 -0800 (PST)
> Karther > wrote:
>
> > filename,state,note,temps
> > file1,0,my fisrt note
v_file.csv delimiter=,') }}"
but not works, my goal is that create all file sucessively (file1, file2,
file3, ...) in some repertory
Someone have any idea please ?
Thanks very much community ansible !! ;)
Regards,
Karther
--
You received this message because you are subscribed
Hey,
no I have this result with this task :
"msg": "exactly as you see\nwill appear these three\nlines of poetry\n"
Can you help me please ?? :)
Thanks very much,
Best Regards,
Karther
Le jeudi 12 décembre 2019 22:48:49 UTC+1, j1f0x a écrit :
>
>
sql.Error as ex:
module.fail_json(msg='Unable to connect to database: {}'.format(ex))
(changed, result, rowcount) = run_query(module, db_connection,
as_dict=module.params['as_dict'])
module.exit_json(changed=changed, res
U please !!!
Someone can help me please Community Ansible !! :)
Regards,
Karther
Le lundi 30 décembre 2019 10:42:58 UTC+1, Karther a écrit :
>
> Hello !! :)
>
> I want execut task in ansible if my playbook filed and stop ...
>
> *exemple :*
>
> If when my playbook
#x27;s for that i use commande mail and not module of ansible ...
Thanks for your help community ansible !! ^_^
Regards,
Karther
Le lundi 30 décembre 2019 11:50:35 UTC+1, Dick Visser a écrit :
>
> Try using the native mail module instead of shell:
> https://docs.ansible.com/ans
much community Ansible !!! :)
Best Regards ^-^
Karther
--
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
mmunity Ansible !!! =)
Best Regards,
Karther
--
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.com.
To view t
, Stefan Hornburg (Racke) a écrit :
>
> On 12/10/19 3:20 PM, Karther wrote:
> > Hey Community ansible !! :)
> >
> > I have some line texte with this content :
> >
> > my first line
> > my second line
> >
> > my 3ème line
> > my 4èm
Hey Community ansible !! :)
I have some line texte with this content :
my first line
my second line
my 3ème line
my 4ème line
I want register all this line with one variable ? i don't know if possible
or not please ???
Can you help me please Community Ansible ? :)
Best regards,
Ka
ansible ???
Thank you very much !!! :)
Regards,
Karther
--
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
unity ansible ???
Thank you very much !! :)
Regards
Karther
--
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...@go
ansible 4096 Sep 11 10:47
db-component_2019-09-11_10h47_17
I need an ansible spot that can recover the oldest folder in this repertory.
Someone have idea please community ansible ! :)
Regards,
Karther
--
You received this message because you are subscribed to the Google Groups
Hey,
I have file var with this content :
version: 3-40-00
I have this task who create repertory :
- name: "Create repertory if run_db_test.sh is execut"
file:
path: /home/ansible/hospitalis_sql/gis-db-patch-{{ hold_version}}-{{
version }}
state: directory
delegate_to: localhost
Wh
n help me please guy !!
Thanks very much,
Regards,
Karther
Le vendredi 4 octobre 2019 10:50:24 UTC+2, Karther a écrit :
>
> Hey Jon,
>
> Thanks for your help but i don't understand.
> If my first question is so complexe, i want other solution.
>
> I want get value of play
ry much community ansible !!! :)
Regards,
Karther
Le jeudi 3 octobre 2019 18:53:28 UTC+2, J Hawkesworth a écrit :
>
> If any of your tasks fail, you will get a non-zero return code when
> ansible-playbook runs.
> So you can wrap your ansible-playbook in a bash script if you nee
Hey,
I want to know if possible that Ansible, when he finish deployment, he
display return code.
I d'ont know the value of this return code but i want a return code.
For exemple :
0 -> The deploiement it's OK
1 -> The deploiement is' KO
I don't know if exist one module for this problem ...
S
Hey !! :)
Thanks very much for your answer community Ansible !! ^^
If i use this condiiton *when: not ansible_check_mode* i don't can verify
if my task works ... :/
It's very pity that aspect check mode is not full and strong... :(
Thanks,
Regards,
Le vendredi 6 septembre 2019 17:14:01 UTC+2
Someone can help me please community ansible ??!!
Thanks very much !! :)
Regards,
Le jeudi 5 septembre 2019 16:48:50 UTC+2, Karther a écrit :
>
> Hey !
>
> I have problem when i use this command *ansible-playbook playbook.yml
> --check*
>
> All works normaly without *--
omeone have any idea please community ansible ??!! =)
Thanks very much !! ^^
Regards,
Karther
--
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 emai
Hello,
https://blogs.cisco.com/datacenter/ansible-and-ucs-manager
https://groups.google.com/forum/#!topic/ansible-project/PR40EEbftuI
Regards,
Le mardi 13 août 2019 11:58:48 UTC+2, rajthecomputerguy a écrit :
>
> Hi Team,
>
> Anybody using Ansible for cisco call manager?
>
> thanks
>
--
You r
Vladimir Botka,
I certifie , You are the best Vladimir !! :)
Very the best :)
Regards,
Le dimanche 18 août 2019 11:47:27 UTC+2, Vladimir Botka a écrit :
>
> On Sun, 18 Aug 2019 03:45:20 -0500
> Mike Eggleston > wrote:
> > I am working on a playbook that uses yum. When yum does an update of a
indice: "{{ indice|default([]) + [item.split(',')[0]] }}"
>...
>
> -vlado
>
>
> On Wed, 21 Aug 2019 08:36:58 -0700 (PDT)
> Karther > wrote:
>
> > Hey,
> >
> > I have on file csv "clef_applicatives.csv" wi
Hey,
How do that please ???
I am amateur for ansible
Thanks,
Regards,
Le mercredi 21 août 2019 14:57:44 UTC+2, Stefan Hornburg (Racke) a écrit :
>
> On 8/21/19 2:14 PM, Karther wrote:
> > Hey all !!
> >
> > Ok thanks very much community ansible for your help !! :)
ble play playbook with this both values.
(there is probabily other values in this file ...)
Help me please community ansible
Regards,
Karther
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and sto
Hey all !!
Ok thanks very much community ansible for your help !! :)
It's very pity that ansible not can play the same playbook on the same host
with different user ...
Thanks very much for your help !! :)
Regards,
Karther
Le mardi 20 août 2019 17:00:33 UTC+2, Karther a écrit :
&g
help community ansible !! :)
Regards,
Le mercredi 21 août 2019 10:44:47 UTC+2, Mark Anthony Garcia a écrit :
>
> For me I use the local users from the ansible controllers by calling the
> "{{ lookup('env','USER') }}".
>
> On Tuesday, August 20, 2019
Hey,
I thinks you have not understand.
I have *my inventory host* with this content :
my_host_1 ansible_user=wildfly
my_host_1 ansible_user=toto
When i play my playbook, ansible run playbook only on the first line *my_host_1
ansible_user=wildfly* and not on the second line.
So, same whe
hey,
Help please Community Ansible ;)
Regards,
Le mardi 20 août 2019 17:00:33 UTC+2, Karther a écrit :
>
> Hey,
>
> I want to know if possible use a lot of user for ansible.
>
> Exemple, if i use *ansible_user=user1, user2*
>
> because i want to use *serial: 1*
>
Hey,
I want to know if possible use a lot of user for ansible.
Exemple, if i use *ansible_user=user1, user2*
because i want to use *serial: 1*
And i want that ansible use firt user1 and secondaly user2
If possible or not please ??
Regards,
--
You received this message because you are subsc
Hey,
Help me please !!! :)
If i change this task with lookup, i will be to change my whole program !!!
;(
Regards,
Le mardi 20 août 2019 15:49:47 UTC+2, Karther a écrit :
>
> Hey,
>
> This module not work !! :/
>
> I have error synthax i don't understand why !! :/
>
ger/clef_applicatives.csv
when: item.split(',')[2] == inventory_hostname
delegate_to: localhost
Thanks you very much Community Ansible !!! :)
Regards,
Le mardi 20 août 2019 15:29:55 UTC+2, Dick Visser a écrit :
>
> Hi
>
>
>
> On Tue, 20 Aug 2019 at 14:39, K
Hey,
Update.
The problem is that when i use number with same caractere exemple "11, 22,
33, 44, 55 , etc ..."
This task get only the first caracter "1 or 2 or 3 or 4 , etc..."
Thanks,
Regards,
Le mardi 20 août 2019 14:39:45 UTC+2, Karther a écrit :
>
> Hey !
>
>
Hey !
I have strange problem :
I have on file "clef_applicatives.csv" with this content :
2,user1,host1,clef1
7,user3,host2,clef5
6,user4,host4,clef6
42,user5,host5,clef7
23,user6,host8,clef8
3,user7,host3,clef9
22,user8,host10,clef14
20,user9,host7,clef11
I have on task who get indice dependin
Hey,
The variables in ansible write with this synthaxe :
Exemple :
{{ inventory_hostname }}
{{ my_variable }}
If you write (hostname -s), ansible not understand this synthaxe :/
I hope I helped you
Regards,
Karther
Le jeudi 8 août 2019 22:13:48 UTC+2, Veera a écrit :
>
>
> I am
Hey !!
Up Please can you help me please !!! ;)
Regards,
Karther
Le mardi 6 août 2019 10:29:02 UTC+2, Karther a écrit :
>
> Hey,
>
> I have on problem, i deploy application on server wildfly.
>
> I want to know if possible to find link url of my application who is
>
Hey,
I have on problem, i deploy application on server wildfly.
I want to know if possible to find link url of my application who is deploy
on this server.
I think that it's this modele but not works : http://{{ inventory_hostname
}}
with inventory_hostname = my name server application wildfl
Hey Ronny,
If you want to connect on host remote windows, i think that there is
some prerequisites same winrm or another parameter...
Look at @internet if you want connect ansible at host windows
Regards,
Le jeudi 1 août 2019 23:44:59 UTC+2, ronny saavedra a écrit :
>
>
> Good night to run thi
hey M.Kasurde,
I see this module "stat", it's very awesome !!! ;)
It's working perfectly, you are very best M.Kasurde !!! ^^
I hope that you will work in Microsoft and you are DSI or CIO why not ?!!
haha :)
Thank you very much !!! ;)
Regards,
Karther
Le vendredi 2 août
/file_1
I think that this tasks not works because myfile content "\n" at each line
break
Someone have any idea please for my problem ?!!!
Thank you very much community ansible :)
Regards,
Karther
--
You received this message because you are subscribed to the Google Groups
&quo
Hey,
Thank you Михаил Политаев !! :)
The packet in linux who do check xml file is *apt-get install libxml2-utils*
for
people who are interested ;)
And the command line is *xmllint --format my_file.xml*
Thanks,
Regards,
Karther
Le mercredi 31 juillet 2019 14:41:55 UTC+2, Михаил Политаев a
on a specific to application place. Ansible is not. As any
>> other, not related to wildfly10, community probably will not help you. Look
>> in a right place.
>>
>> ср, 31 июл. 2019 г. в 10:32, Karther >:
>>
>>> Hey,
>>>
>>> Ok because i d
Hey,
Ok because i don't want submit compte on 500 plateforme different, i think
that one person have any idea.
Thanks for your help,
Regards,
Le mercredi 31 juillet 2019 10:29:17 UTC+2, Михаил Политаев a écrit :
>
> Hey Karther!
>
> If you service *wildfly10 *not working
I am very furious because my deploiement application not work because i
have problem with wildfly ><
I have found in the internet without answer :(
Thanks for your help community Ansible ! :)
Help meee please !!!
Regards,
Karther
--
You received this message because you are s
Hey guy !!
I have on problem, i want synchronize two repertory who are in destination
host (source and destination), my task is :
- name: "Copie de la partie front-office"
synchronize:
src: /var/apps/hospitalis-frontoffice/{{ version
}}/fo/hospitalisV3Front-{{ version }}-RELEASE/hospita
Hey,
Thanks very much community Ansible !!
The solution is to use *remote_user: root* for that ansible execut this
task in root !!!
thank you very much guy !!! :)
Regards,
Karther
Le jeudi 25 juillet 2019 16:09:23 UTC+2, p.co...@bham.ac.uk a écrit :
>
> If your system allows you
ask just before :
- set_fact:
ansible_user: root
My directory is create with success !! WHY ?
Someone have any idea please community ansible ?? I'm desperte :(
Thank you very much !!
Regards,
Karther
--
You received this message because you are subscribed to the Google Groups
"A
oking for this . ?
>
> set_fact:
> variable1: "{{lookup('file', 'my_file') if '\n' in lookup('file',
> 'my_file') else lookup('file', 'my_file') + '\n'}}"
>
> On Fri, 28 Jun 2019
Hy all,
I have one file my_file with this content :
myfirstparaphrase
I have this task :
- set_fact:
variable1: "{{ lookup('file', '/home/ansible/my_file') | replace(' ',
'\n') }}"
I want that in the end of my phrase, there is line breack but this task not
works ...
Someone have idea plea
65 matches
Mail list logo