Finally, the problem was related to security restrictions on the partition
where my venv was located.
It works perfectly on another mounting point.
Ju
Le mardi 13 décembre 2022 à 17:09:32 UTC+1, julien mahieu a écrit :
> Hi experts,
>
> In order to manage network devices, I
Hi experts,
In order to manage network devices, I'm currently setting up an environment
with ansible inside a python venv on a linux Alma 8 platform.
Below, the steps I used to install the components :
*# Venv creation*
[MyUser@MyAnsibleVm ~]$python3 -m venv ansible4.10
[MyUser@MyAnsibleVm ~]$s
nt-557016371. I
> have not tried this solution personally.
>
> On Fri, Mar 26, 2021 at 4:52 PM Julien Tognazzi
> wrote:
>
>> Dear list,
>>
>> The following play fails on my ansible installation:
>> - hosts: localhost
>> gather_facts: false
>>
&g
Dear list,
The following play fails on my ansible installation:
- hosts: localhost
gather_facts: false
tasks:
- set_fact:
toto: "{{ lookup('url', 'https://google.ch') }}"
The error is
objc[57643]: +[__NSCFConstantString initialize] may have been in progress
in another thread when f
I checked, on centos-7, latest python3 is 3.6.8-18.el7
So going to >= 3.8 is not an easy task.
On Wednesday, February 10, 2021 at 7:01:03 PM UTC+1 Julien Tognazzi wrote:
> So no backport to 2.9 ?
>
> On Wednesday, February 10, 2021 at 6:50:56 PM UTC+1 Brian Coca wrote:
>
>
So no backport to 2.9 ?
On Wednesday, February 10, 2021 at 6:50:56 PM UTC+1 Brian Coca wrote:
> It was added to 2.10, but you can get 'similar' results by using a python
> >=3.8
>
> --
> --
> Brian Coca
>
>
--
You received this message because you are subscribed to the Google Groups
Dear list,
I recently changed from a ini inventory to a yaml one.
And I was hit by a change in the groups ordering on Centos-7.
ansible 2.9.17
config file =
/opt/devtools-work/bamboo/xml-data/build-dir/1179649/135102466-135168007/ansible.cfg
configured module search path =
[u'/opt/devt
condition, host is in group_1.
Thank you :)
Le mercredi 6 mai 2020 18:54:52 UTC-4, James Cassell a écrit :
>
>
> On Wed, May 6, 2020, at 4:35 PM, Julien Seknazi wrote:
> > Hi!
> >
> > I hope everything it's ok for you.
> >
> >
> >
Thank you James! I'll try that tomorrow!
Have a good day
--
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 vie
Hi!
I hope everything it's ok for you.
I would like to know if it's possible to use mandatory "--limit" when you
run :
"ansible-playbook site.yml --limit DEVICE_1"
I explain, if i don't use --limit, my playbook will deploy on all my
devices.
Me, I want my playbook don't run if --limit is
Hi,
When using Docker CE on RHEL 7, installed whith Ansible (python 2.7 on
target), docker_container module fails, saying I should install docker or
docker-py, but I can't find a way to make it work.
Python 2.7 being unsupported since January, I tried to switch to Python 3.
The yum module says it
I forgot ton mention that http_proxy and https_proxy are defined on both
admin and target
Le mardi 22 octobre 2019 08:50:52 UTC+2, Julien Cochennec a écrit :
>
> Hi,
> Searching proxy in this list, I found no answer, so maybe it's not a proxy
> issue :
>
> I run a playb
Hi,
Searching proxy in this list, I found no answer, so maybe it's not a proxy
issue :
I run a playbook with following task :
- name: download miniconda installer
get_url:
url={{ miniconda_url }}
dest={{ miniconda_tmp }}/miniconda.sh
mode=0755
register: miniconda_downloaded
whe
Ok, that's a lot of solutions, I'll test it all. Thank you all.
Le lundi 21 octobre 2019 19:29:35 UTC+2, Uriel a écrit :
>
> Depending on your requirements for parity, you might be able to get away
> with using RHEL7 container images for testing. I've recently started
> exploring some testing p
Ok thanks a lot
Le lun. 21 oct. 2019 à 17:52, Stefan Hornburg (Racke) a
écrit :
> On 10/21/19 6:43 PM, Julien Cochennec wrote:
> > I don't have such VM, but I guess I can build one.
> > How would you do? The VM would be both admin and target? Or would you
> build an ad
lundi 21 octobre 2019 17:29:16 UTC+2, Stefan Hornburg (Racke) a écrit :
>
> On 10/21/19 6:20 PM, Julien Cochennec wrote:
> > Hi, Ansible Noob here.
> >
> > We're developing ansible roles and playbooks for production VMs which
> are RHEL7 systems.
> > W
Hi, Ansible Noob here.
We're developing ansible roles and playbooks for production VMs which are
RHEL7 systems.
We can't test our playbook on those machines because they are dedicated to
another service.
So we only can test playbooks on Docker Images similar to VMs, installing
the same software
all vivaldi windows
win_shell: start-process -FilePath
'C:\Users\Julien\AppData\Local\Vivaldi\Application\vivaldi.exe'
-ArgumentList 'www.site.com'
Thank you
Petit Julien.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project&qu
If someone looking for to eliminate whitespaces, here's the synthax:
grp_name: >
{% if (First == 'Hello 1') and (Second == 'Hello 3') *-*%}
IM-A-Group1
{%*- *elif (First == 'Hello 3') and (Second == 'Hello 2')* -*%}
IM-A-Group2
{%- elif (First == 'Hello 1') and (Second == 'Hell
Thanks you a lot for your help,
Best Regards,
Julien.
--
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
the variable more
readable?
If yes could you help me with the synthax?
Thank you,
Julien.
--
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-pr
Missed the " " on the command, here it is :
*msiexec /i "C:\tmp\The msi package.msi" /passive **TRANSFORMS='"Group
Policy Deployment.mst"'*
Le jeudi 30 août 2018 14:41:11 UTC+2, Julien a écrit :
>
> Hi Jon and thank's for the reply,
>
>
up Policy
Deployment.mst"'*) on powershell works fine
Have you got any other solutions?
Sorry for the late of the answer, i were on vacation
Best Regards,
Julien.
Le mercredi 8 août 2018 10:41:46 UTC+2, J Hawkesworth a écrit :
>
> Try putting all the arguments on one line perhaps?
Hello Karl,
Can you try like this?
- hosts: localhost
vars:
nlb_subnet_mappings:
- SubnetId: fred
AllocationId: 100
- SubnetId: mary
AllocationId: 200
tasks:
- debug:
var: item
with_items: *"{{ nlb_subnet_mappings }}"*
I hope this is
licy
Deployment.mst"' state: present*The problem is that the Windows
installer process always stay inactive
Someone's know the exact synthax for this task?
Best Regards
Julien.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project&qu
I always need a solution :) up
--
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 post to this group, send email
Hello Vamsi,
Can you try to run this script into your windows host and retry? It is an
official script made by ansible team to configure WinRM
https://github.com/ansible/ansible/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1
--
You received this message because you are subscribe
*Hello *
*I faced a issue with items , i would like to get the value of Json vars.*
*But i can't access/get the value.*
*I write this ansible script :*
---
# tasks file for ansible-f5
- name: Define f5_environment vars
set_fact:
env_f5: "QLF"
- name: Collect BIG-IP facts
bigip_facts:
Interesting way of doing it.
What do you mean by :
> *Also, the idempotency works at the ACL level but the module at the ACE
> level and that always worried me*
>
Thank you for the feedback
Julien
On Monday, January 22, 2018 at 4:12:18 PM UTC+1, Claudia de Luna wrote:
>
> H
happy to have feedback of how you achieve it.
Thanks
Julien
--
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...@googlegroup
@/home/user1/test/async.retry
PLAY RECAP
*
localhost : ok=4changed=1unreachable=0failed=1
here, /home/user1/ansible.cfg is just an empty file.
the first pl
a bit arcane IMO. Better to be explicit.)
>
>
> On 13 September 2017 at 10:46, Julien Musat > wrote:
> > Hi,
> >
> > My ansible project is multi env. I managed to put each inventory file in
> a
> > separate directory (as advise in ansible best pract
Hi,
My ansible project is multi env. I managed to put each inventory file in a
separate directory (as advise in ansible best practices :
http://docs.ansible.com/ansible/latest/playbooks_best_practices.html#alternative-directory-layout)
I have a question regarding env specific config file. For i
Hi Dmitry,
Almost a year after you, I've the same problem. I guess you fixed your
problem another way, but for anyone that is currently in the same
situation, I found a trick to not let the lookup interpret your json ..
By digging on this forum
: https://groups.google.com/forum/#!topic/ansibl
feedback,
Julien.
--
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 post to this group, send email to ansib
,
Julien.
--
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 post to this group, send email to ansib
Dear list,
I noticed the following behaviour with ansible 2.1.1.0
the following play:
- hosts: all
become: true
tasks:
- name: Install required packages
yum: name={{ item }} state=latest update_cache=yes
with_items:
- donotexist-1.2
output:
$ ansible-playbook -i myinventory y
y, June 17, 2016 at 2:20:55 PM UTC+1, Julien Deloubes wrote:
>>
>> Problem disappeared but finally reappeared after a few successful runs!
>> I can always ssh on the impacted hosts.
>> Don't know where to search? Is Ansible has some sort of dns cache or
>> something?
Actually, this works just fine (tested with ansible-playbook 2.1.1.0)
until: get_url_result | succeeded
Le vendredi 2 janvier 2015 16:42:25 UTC+1, Martin Palecek a écrit :
>
> If the file is already present, then the get_url_result.msg does not
> contain 'OK'. I had to use
> until: "'OK' in get_
There is already an open issue about this see #16747
<https://github.com/ansible/ansible/issues/16747>
On Thursday, August 11, 2016 at 12:25:14 PM UTC+2, Julien Tognazzi wrote:
>
> Hi list,
>
> I upgraded ansible with the latest epel-testing
> version ansible-2.1.1.0-1.el7
where
the ansible.cfg file is !
Before, it was relative to the execution directory.
This change breaks some of my playbooks.
Do I have to modified my layout or can this be considered as a regression
and fixed ??
thanks you for reading.
Julien.
On Thursday, August 11, 2016 at 12:25:14 PM UT
Hi list,
I upgraded ansible with the latest epel-testing
version ansible-2.1.1.0-1.el7.noarch and noticed a change with the
roles_path configuration.
This is my roles_path:
roles_path= /etc/ansible/roles:../base/roles:./roles
So I expect that if I run a playbook from /vagrant/ansible/somed
Problem disappeared but finally reappeared after a few successful runs!
I can always ssh on the impacted hosts.
Don't know where to search? Is Ansible has some sort of dns cache or
something?
Le dimanche 12 juin 2016 16:57:59 UTC+2, Julien Deloubes a écrit :
>
> Hello,
> i have a s
Hello,
i have a strange problem on Ansible 2.0, my playbook couldn't resolve
anymore the fqdn of my inventory.
I can ssh to the machines in my inventory.
I tried using an inventory file or specify the hosts with the -i option.
I can run the playbook using the ip @.
I'm scratching my head about wha
Hi,
It seems ansible does not use the variables in /etc/ansible/hosts for winrm
connection :
In /etc/ansible/hosts :
[windows]
10.10.10.10
[windows:vars]
ansible_user=WindowsUser
ansible_password=UserPassword
ansible_winrm_scheme=http
ansible_port=5985
ansible_connection=winrm
ansible_winrm_se
This is fixed with ansible 2.0.2.0
sorry for the noise.
On Tuesday, May 24, 2016 at 4:34:15 PM UTC+2, Julien Tognazzi wrote:
>
> Hi,
>
> Is the use of delegate_to with with_items supposed to work ?
>
> $ ansible --version
> ansible 2.0.1.0
> config file = /vagrant/sy
this seems related:
https://github.com/ansible/ansible/issues/14166
On Tuesday, May 24, 2016 at 4:34:15 PM UTC+2, Julien Tognazzi wrote:
>
> Hi,
>
> Is the use of delegate_to with with_items supposed to work ?
>
> $ ansible --version
> ansible 2.0.1.0
> config file = /
***
=======
TASK: command ---
6.69s
TASK: setup -
0.25s
Playbook run took 0 days, 0 hours, 0 minut
;
when: item is defined
Do you have some other suggestion ?
thanks for your help.
Julien.
--
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 ansibl
I forgot to add that if using the bare variable with with_items, it doesn't
generate the previous warning.
On Thursday, April 21, 2016 at 1:59:32 PM UTC+2, Julien Tognazzi wrote:
>
> Hi,
>
> running the following play generate this not so useful DEPRECATION WARNING
> ---
ld prevent it to run, isn't it ?
What am I missing ?
Should I file an issue for this ?
thanks for any tips.
Julien.
--
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 i
I justed tested with ansible 2 RC2 and I have the same behavior.
Maybe I should add that the server is a CentOS 6 box.
On Tuesday, December 15, 2015 at 1:02:56 PM UTC+1, Julien Tognazzi wrote:
>
> Hi all,
>
> Is it the expected behavior that the value of ansible_domain and
2.3.4 otherserver.otherdomain.ch
$ ansible -i test localhost -m setup | grep "domain|fqdn"
"ansible_domain": "otherdomain.ch",
"ansible_fqdn": "otherserver.otherdomain.ch",
"facter_domain": "mydomain.ch",
Hello everyone,
I'm trying to create a role to manage backup with this script:
https://github.com/redhat-cip/simple_ec2_snapshot
I would like to take in parameter a tags list (for example), then create a
cron with the right command line.
How to iterate over the list and construct my command fo
Hello,
just learning Ansible with Vagrant and the help of the book "Ansible up and
running".
I cannot execute the first playbook in the book i always had a syntax
error.
Ansible version: 1.9.1
Playbook :
- name: Configure webserver with nginx
hosts: webservers
sudo: True
tasks:
- name: instal
An issue has been filled here
: https://github.com/ansible/ansible-modules-core/issues/931
Le mercredi 11 mars 2015 14:47:55 UTC+1, Julien Syx a écrit :
>
> Hello,
>
> I'm trying to use the ec2_asg module here :
> http://docs.ansible.com/ec2_asg_module.html
> The goal i
Hello,
I'm trying to use the ec2_asg module here :
http://docs.ansible.com/ec2_asg_module.html
The goal is to kill all instances during the night and boot them the
morning.
I tried :
- name: Shutdown PREPROD
hosts: localhost
remote_user: root
tasks:
- name: Shutdown instances
ec2_
x27;s
designed to be used in a playbook, so it's not a real solution for a
multi-OS role.
I think I've listed every alternative, but I may be missing something. If
that's not the case, would it be possible to extend the task include
statement to handle properly the when claus
when statement, you don't need to quote the whole
> line and you need to individually quote the IP address.
> --
> Matt Martz
> ma...@sivel.net
>
> On May 13, 2014 at 11:17:24 AM, Julien Tognazzi
> (julien@gmail.com)
> wrote:
>
> Hello,
>
> Runni
?
Is is a bug ?
My ansible version is 1.5.5 on centos6
Thanks,
Julien.
--
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
,
Julien.
--
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 post to this group, send email to ansib
Ok thanks for your answer.
If I find the time, I will code it and made a pull request.
Best regards,
Julien
Focus problems when you work on your computer ? try http://www.boxti.me
Empty and full Velib' station bother you ? try http://www.veliberation.fr
You love Scala, FreeBSD, Ansible
I was on this page, but somehow I missed it.
Thank you !
On Thursday, January 23, 2014 12:59:30 PM UTC+1, Serge van Ginderachter
wrote:
>
> I think you look for this:
>
>
>
> http://docs.ansible.com/playbooks_loops.html#looping-over-a-list-with-an-index
>
>
> On 23
/path/to/some/script item3
any suggesstions ?
Many thanks,
Julien.
--
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...@
64 matches
Mail list logo