Re: [ansible-project] Re: strange variable behaviour/error

2020-05-11 Thread Alfredo De Luca
onment looks like. > Please come up with a clear isolated, reproducible playbook, including > templates, inventory, etc. > > > > > On Sun, 10 May 2020 at 19:13, Alfredo De Luca > wrote: > >> I thought about writing to the community and ask...but before doing that

Re: [ansible-project] Re: strange variable behaviour/error

2020-05-10 Thread Alfredo De Luca
have much more experience with the mechanics of "kolla". > > > > On Sat, 9 May 2020 at 18:25, Alfredo De Luca > wrote: > >> Apologies if it wasn't clear. >> So it's a playbook that create an inventory file from a template for >> kolla-ansible so it can insta

[ansible-project] Re: strange variable behaviour/error

2020-05-09 Thread Alfredo De Luca
mode: 0755 - name: Create inventory file from a template template: src: templates/osk_inventory.j2 dest: "{{ deploy_env }}/my_envs/openstack/{{ deploy_env }}/osk_inventory_{{ deploy_env }}" owner: root group: root On Sat, May 9, 2020 at 3:55 PM Alfredo De Lu

[ansible-project] strange variable behaviour/error

2020-05-09 Thread Alfredo De Luca
Hi all. I have ansible 2.9.7 running on ubuntu. I am just running some test and one is to create an inventory by a template. All good except when I use the template it says *fatal: [instance]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'network_interface' is undefined"}*

Re: [ansible-project] pip docker install

2019-10-04 Thread Alfredo De Luca
ode.vm.hostname = "imi-0#{i}" node.vm.provider :virtualbox do |v| v.cpus = 3 v.memory = 3072 end end end So basically is Ubuntu Bionic Vm create with Virtualbox Alfredo On Fri, Oct 4, 2019 at 9:30 AM Stefan Hornburg (Racke) wrote: > On 10/3/19 7:42 PM, Alfredo De Luc

Re: [ansible-project] pip docker install

2019-10-03 Thread Alfredo De Luca
wrote: > >> These steps needs to be done on the remote machine >> 1) pip uninstall docker >> 2) pip list | grep docker >> 3) pip uninstall docker-compose >> 4) pip install docker --upgrade >> >> This should work >> >> On Wed, Oct 2, 2019 at 9:07

Re: [ansible-project] pip docker install

2019-10-02 Thread Alfredo De Luca
nstall docker-compose" , it should work then > > This issue happened to me last week in production > > > > On Wed, Oct 2, 2019 at 7:20 PM Alfredo De Luca > wrote: > >> Hi Ravi. I ve done that but didn't work. >> >> It seems to have problem finding t

Re: [ansible-project] pip docker install

2019-10-02 Thread Alfredo De Luca
Then, i had to uninstall via "pip uninstall docker" and then > re-install it - "pip install docker" . Issues get resolved . > > Ravi Ranjan > > On Wed, Oct 2, 2019 at 2:06 PM Alfredo De Luca > wrote: > >> Hi all. >> I have the following..

[ansible-project] pip docker install

2019-10-02 Thread Alfredo De Luca
Hi all. I have the following... - name: Install pip package: name: python-pip update_cache: true state: present - name: Install docker libs with pip pip: name: docker state: present executable: pip When I run the playbook the first time it fails with *FAILED! =>

Re: [ansible-project] Pip install docker

2019-09-21 Thread Alfredo De Luca
thanks guys. it worked. cheers On Sat, Sep 21, 2019 at 1:38 PM Vladimir Botka wrote: > On Sat, 21 Sep 2019 13:18:42 +0200 > Alfredo De Luca wrote: > > > - name: Install docker libs with pip > > pip: > > name: docker > > state: present > > &g

Re: [ansible-project] Pip install docker

2019-09-21 Thread Alfredo De Luca
thanks Stefan.here is how I install pip - name: Install pip package: name: python-pip update_cache: true state: present On Sat, Sep 21, 2019 at 1:22 PM Stefan Hornburg (Racke) wrote: > On 9/21/19 1:18 PM, Alfredo De Luca wrote: > > Thanks > > > > >

Re: [ansible-project] Pip install docker

2019-09-21 Thread Alfredo De Luca
Thanks - name: Install docker libs with pip pip: name: docker state: present On Sat, Sep 21, 2019 at 1:15 PM Stefan Hornburg (Racke) wrote: > On 9/21/19 1:11 PM, Alfredo De Luca wrote: > > Hi all. > > I installed python pip with ansible then, in the same playbo

[ansible-project] Pip install docker

2019-09-21 Thread Alfredo De Luca
Hi all. I installed python pip with ansible then, in the same playbook, I use pip to install docker-py libs but it keep saying *"Unable to find any of pip3 to use. pip needs to be installed."* Then If I run the same playbook or if I ssh the box then run manually pip install docker it runs

Re: [ansible-project] ansible and AWX

2019-06-11 Thread Alfredo De Luca
Thanks you all. I will give ARA a try. Cheers -- 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

Re: [ansible-project] ansible and AWX

2019-06-10 Thread Alfredo De Luca
thanks Jonathanappreciated. On Mon, Jun 10, 2019 at 5:52 PM Jonathan Lozada De La Matta < jloza...@redhat.com> wrote: > You could try ansible ARA > > On Mon, Jun 10, 2019 at 11:49 AM Alfredo De Luca > wrote: > >> oh ok. I though you could. >> Is there

Re: [ansible-project] ansible and AWX

2019-06-10 Thread Alfredo De Luca
Jun 10, 2019 at 11:12 AM Alfredo De Luca > wrote: > >> thanks Jonathan. What I mean is, without running playbooks from awx but >> running ansible either from a CLI or jenkins, I d like to see the reports >> on AWX of those runnings. Basically, at least for now, using A

Re: [ansible-project] ansible and AWX

2019-06-10 Thread Alfredo De Luca
le.com/ > > On Mon, Jun 10, 2019 at 10:56 AM Alfredo De Luca > wrote: > >> Hi all. >> for evaluating purposes I want to integrate ansible with AWX. I ve >> installed AWX but not sure how to configure my ansible env with AWX in >> order to see all the ansible pl

[ansible-project] ansible and AWX

2019-06-10 Thread Alfredo De Luca
Hi all. for evaluating purposes I want to integrate ansible with AWX. I ve installed AWX but not sure how to configure my ansible env with AWX in order to see all the ansible playbook/run/issue etc etc. Is there something I need to add on ansible.cfg? Cheers -- *Alfredo* -- You received this

Re: [ansible-project] Ansible report

2018-11-19 Thread Alfredo De Luca
tps://github.com/ansible/awx > If you just need an UI to see the ansible runs then I suggest you try > Ansible Ara https://github.com/openstack/ara > > On Mon, Nov 19, 2018 at 6:01 PM Alfredo De Luca > wrote: > >> Hi Jonathan. Mostly logs/reports for now. Then we ll evalu

Re: [ansible-project] Ansible report

2018-11-19 Thread Alfredo De Luca
logs/reports? > > > > On Mon, Nov 19, 2018 at 5:44 PM Alfredo De Luca > wrote: > >> Hi all. >> We run ansible in about 100 VM through Openstack and in the near future >> we will implement ansible pull or run ansible from a central workstation to >> all

[ansible-project] Ansible report

2018-11-19 Thread Alfredo De Luca
Hi all. We run ansible in about 100 VM through Openstack and in the near future we will implement ansible pull or run ansible from a central workstation to all those nodes. I wonder if there is a sort of report (possibly on web) of each run and things changed that I can implement too. I heard

Re: [ansible-project] ansible command on messages

2018-08-10 Thread Alfredo De Luca
no_log worked perfectly! thanks On Fri, Aug 10, 2018 at 1:32 PM Alfredo De Luca wrote: > Thanks heaps. there is also no_target_syslog... which it could be more > appropriate for what I need to do. > > Cheers > > > On Fri, Aug 10, 2018 at 1:15 PM Jonathan Lozada

Re: [ansible-project] ansible command on messages

2018-08-10 Thread Alfredo De Luca
le.com/ansible/2.5/reference_appendices/faq.html#how-do-i-keep-secret-data-in-my-playbook > > On Fri, Aug 10, 2018 at 7:01 AM Alfredo De Luca > wrote: > >> Hi all. >> With ansible we are changing root passwords on our machines. the root >> password is in a vault so all ok &g

[ansible-project] ansible command on messages

2018-08-10 Thread Alfredo De Luca
Hi all. With ansible we are changing root passwords on our machines. the root password is in a vault so all ok But I find our the the command we run to change the password is visible on /var/log/messages ..included the password itself How can I remove that or do that in a different way?