[ansible-project] Re: win_disk_facts - get size and size remaining

2018-05-10 Thread Varun Chopra
This is pretty much why I was in favor of a separate module for volumes. I'd encountered the same issues but I ended up making my own module for it. You can take a look at this if it suits your fancy: https://github.com/chopraaa/win_volume_facts/ It's kinda shit tbh but hey, it does the job.

Re: [ansible-project] Unable to use 'yum install'

2018-05-10 Thread js.a
Hey Fabio, like Jean-Yves said, try to split up your "Add repo" task in two, key install and package install. Something like this: - name: add key repo rpm_key: key: "https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg"; state: present - name: add repo

Re: [ansible-project] Re: issue with ansible dry-run mode (--check) on package installation tasks (yum and apt modules)

2018-05-10 Thread Toshio Kuratomi
The yum task succeeded. It's the subsequent fail that is failing. You can make any other module +fail react in the same way: - file: path=/var/tmp/i_do_not_exist_yet state=directory - stat: path: /var/tmp/i_do_not_exist_yet register: file - fail: msg: "File i_do_not_exist

[ansible-project] Re: issue with ansible dry-run mode (--check) on package installation tasks (yum and apt modules)

2018-05-10 Thread js.a
@flowerysong The point is, a CI tool such as Travis, Tower... will report error on that task, but actually there is no error at all (normal running). In addition, package installing task is just 0,5% of the whole deployment project and thinking deeper, every task does changes on the systems. M

[ansible-project] terminating instances

2018-05-10 Thread David Villasmil
hello all, I run "ec2_instance_facts" to get some instance_ids: - ec2_instance_facts: region: us-east-1 filters: "tag:Name": "*{{ cluster }}*" register: ec2_res Then i can properly print the instance_ids only for those running: - name: print ips debug: "msg={{ item.instance_id }}" with_items:

[ansible-project] Re: Unable to Launch Job Template in Ansible Tower

2018-05-10 Thread Carlton Patterson
Anybody willing to help out here? On Wednesday, 9 May 2018 23:05:51 UTC+1, Carlton Patterson wrote: > > Hello Community, > > I have created a Job Template to launch a job in Ansible Tower as shown in > image. However, when I click on 'search' nothing happens. Can someone let > me know what the

Re: [ansible-project] Unable to use 'yum install'

2018-05-10 Thread Jean-Yves LENHOF
Hi, Could you try to add the GPG key with something like this before doing the yum ansible command ? |- name: Add repository key rpm_key: key: ||"https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg";| Regards, Le 10/05/2018 à 18:25, Fabio Gomes Sakiyama a écrit : > Hi, > > I'm tryin

[ansible-project] Re: Unable to use 'yum install'

2018-05-10 Thread Fabio Gomes Sakiyama
Hi Tony, Does it mean that it'll not use the security provided by gpg signatures of the packages? Em quinta-feira, 10 de maio de 2018 15:21:17 UTC-3, Tony Chia escreveu: > > > Maybe try adding "disable_gpg_check: true" to the "install kuberlet" task? > > > On Thursday, May 10, 2018 at 10:12:58

[ansible-project] Re: Unable to use 'yum install'

2018-05-10 Thread Tony Chia
Maybe try adding "disable_gpg_check: true" to the "install kuberlet" task? On Thursday, May 10, 2018 at 10:12:58 AM UTC-7, Fabio Gomes Sakiyama wrote: > > Hi Nick, thanks for helping! > > the curl executed fine, I didn't mention but my environment is running on > google cloud. > If I enter th

[ansible-project] Re: Unable to use 'yum install'

2018-05-10 Thread Fabio Gomes Sakiyama
Hi Nick, thanks for helping! the curl executed fine, I didn't mention but my environment is running on google cloud. If I enter the worker node and manually execute 'yum install kubelet', it works. But the same command on ansible playbook throws the error i mentioned... :( Em quinta-feira, 10

[ansible-project] Re: Unable to use 'yum install'

2018-05-10 Thread Nick Rogers
I would try to `curl https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64/repodata/repomd.xml' from the error on worker1/2 and see if it reports anything more helpful than what you're getting back. Feels like a networking problem to me. On Thursday, May 10, 2018 at 11:25:36 AM UTC

[ansible-project] Re: Get basic vmware module working - vmware_guest_find

2018-05-10 Thread Nick Rogers
The play is running properly, but I'm not sure what your intent is for the output. Try running it with -vvv, or if you register a variable like - name: "Find Guest's Folder using name" vmware_guest_find: hostname: "{{ vmware_esxi.hostname }}" validate_certs: "{{ vmware_esxi.validate_certs

[ansible-project] Unable to use 'yum install'

2018-05-10 Thread Fabio Gomes Sakiyama
Hi, I'm trying to install kubelet with *Ansible*, but I'm struggling to do it. This is my *playbook*: --- - hosts: all become: yes tasks: - name: install docker yum: name: docker state: present update_cache: true - name: add repo

[ansible-project] Loop through the contents of include_vars file via a shell module

2018-05-10 Thread Saranya N
I want to replicate a shell script that loops through the contents of a text.file For i in `cat text.file` I tried below and got an error. I'm not getting which logic to use. Kindly advise. - name: Load the variables include_vars: file: /home/devuser/internproj/inventories/NP/voblis

[ansible-project] AWS Kinesis Stream

2018-05-10 Thread Sanjeewan Choudhary
Hello All, Anyone worked on kinesis stream AWS framework , I trying to log collector agent for Window machine ,anyone has any idea? -- Thanks & Regards Sanjeewan -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group

[ansible-project] win_disk_facts - get size and size remaining

2018-05-10 Thread Jeremie Levy
Hi I'm trying to use win_disk_facts new module. I would like to get the size and remaining size of each disk/partition/volume. Is there a way to "discover" how many of them there are in a kind of loop ? - name: Get disk facts win_disk_facts: - name: Output first disk size debug:

[ansible-project] AWX 1.0.6.5 downgrade to 1.0.5

2018-05-10 Thread Ivan Tuzhilkin
Hello guys, AWX 1.0.6.5 seems very buggy. Is it possible to downgrade to the previous version without old version database dump? -- 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

[ansible-project] Re: Get basic vmware module working - vmware_guest_find

2018-05-10 Thread Ted
Hi Nick, Thanks for the response. I'm actually basing my tasks on your github repo you shared! So I've tried what you suggested but its not returning any data. Updated task: - name: Find Guest's Folder using name vmware_guest_find: hostname: "{{ vmware_esxi.hostname }}" validate_certs:

[ansible-project] Unable to install Windows Updates using Ansible 'win_update' Module

2018-05-10 Thread Dinesh Vashisht
Hello Team, We're using the 'win_updates' module for installing Windows updates on servers, following is the playbook section: tasks: - name: Applying Security Windows Updates win_updates: category_name: - SecurityUpdates - UpdateRollups whitelist:

Re: [ansible-project] Re: Import excel file values to ansible

2018-05-10 Thread SUMIT SAHAY
Hi Brian, I want to read the content of the file using ansible playbook, is there a way to do this. If something is there kindly share the solution. Regards Sumit Sahay On Tuesday, 25 April 2017 01:11:09 UTC+5:30, Brian Coca wrote: > > For an example > http://docs.ansible.com/ansible/playbook

Re: [ansible-project] Why do I have to split up this set_fact into multiple? or am I doing something incorrect?

2018-05-10 Thread Marcos Georgopoulos
Thank you very much. It looks like I have some reading to do :) 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...@googlegr