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.
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
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
@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
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:
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
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
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
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
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
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
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
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
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
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
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:
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
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:
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:
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
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
21 matches
Mail list logo