Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Apr 20 2015 15:51
    gitter-badger opened #1
  • Oct 09 2014 16:00

    suprememoocow on devel

    Merge pull request #8145 from a… Merge pull request #8166 from s… Merge pull request #8172 from p… and 997 more (compare)

Benjamin McIntire
I simply ran sudo apt-get install ansible
My steps are so convoluted now that I'm not sure exactly what did it. I'll get it figured out though, thanks for the assistance.
my 2 cents use pip
straight forward and easy
does ansible win_shell module support to be run async ?
Does anyone have a definitive instruction's for setting up ansible against a non-domain 2012r2? I'm getting connection resets. .. also .. how is this channel different from ansible/ansible?
Alex Pilon
I am a total ansible noob i have a quick question
Can i append a key onto the results of a previous step?
currently we have a dict of results from a task, and we save it to json on the filesystem. I am wondering if prior to this i can sneak a variable onto those results?
Joe Fegan
@MadMub not sure exactly what you're asking - can you give an example?
oh wow theres a ansible room!
Benjamin McIntire
Anyone have experience with
trying to figure out why ./ --list works
but ansible all -i -m setup asks for a passphrase
Joe Fegan
@jamesliulondon that's a good question. i don't know. ansible/ansible certainly seems to be more active.
Punita Ojha
This message was deleted
hey all, I'm testing some edge cases and we have a Solaris10 host, which I'm getting the error that "sudo" could not be found. While i'm able to work around this with setting "sudo_exe" or "become_exe" to /usr/local/bin/sudo, does anyone know how I can (instead) specify the remote PATH variable?
Joe Fegan
@c0psrul3 you're probably better to ask in the ansible/ansible room. This one is pretty much redundant.
Thank you
Hi is there any ansible module for list of logged in users on servers with in last week
Can someone explain me different between ERC20 and ERC223. I'm learning to code the contracts but why need that much contract and how they work technically..If, I can deploy a crowdsale token from ethereum main page why people says used Zeppelin Solidity for ICO???
Helmi Baraja
Hi @SrikanthSoma , ansible doesn't have this feature, but Ansible tower has. However, there is open source alternative to ansible tower, check : Semaphore on github.
Stephen Clayton
@HelmiBaraja @SrikanthSoma Ansible Tower has been open sourced, actually. Please see
Helmi Baraja
Oh, thanks @stephenpc , good to know
Dan Moore
Hey all! Does anyone know if the os_object module (or some other) can be used to download objects from OpenStack and store them on a host, rather than create or delete them?
The docs suggest no, so I'm wondering if there's another built-in way that this is typically done.
😎ಗೋಕಾಕ ಹುಡ್ಗ 👌
Join my community Learn DevOps and Guide the beginners for understanding the DevOps via @gitchat
Harshad Pandit
hi, i am looking for production mongodb deployment
any recommendation to go over
Vinod Singh Ramalwan
I'm trying to setup mysql server using ansible on a remote server. Basically, I'll export a SQL dump file using SSH and then import it there. A working example for this scenario anyone can recommend?
Vinod Singh Ramalwan
Getting "firewalld required for this module" error message even when firewalld package is already installed on the remote machine
K Dhanesh
Hi, am looking for playbook to setup user and disable the user
K Dhanesh
I can able to create users but I need to disable the users when they exit from projects or process ...
K Dhanesh
Hi Folks, I fixed the code to add / remove sudo permission with No password entry in sudoers files
will share the code shortly ..
Hi folks
Willy Njundong
Can someone please help me understand this template? I'm losing my mind trying to figure out whats going on here:
{% for host in groups['all'] | difference([inventory_hostname]) | sort(reverse=False) %}
{% for i in range(0, hostvars[host].nodes_in_region) %}
{{ hostvars[host].ansible_host }}:{{ hostvars[host].internal_port + i | int }}
{% endfor %}
{% endfor %}
Have you try to feed variable and launch to understand what it do ?
Or launch this script in Ansible with debug/verbose mode ?
Szabó Dániel Ernő
Come chelc out my youtube playlist full of andible goodies
Team, am facing the below error: Any idea why ?
TASK [test : Copy bash profile to consul2 server] **
fatal: [ ->]: FAILED! => {"changed": false, "cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --rsh=/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null --rsync-path=sudo rsync --out-format=<<CHANGED>>%i %n%L rsync:/home/nubi-admin/.bash_profile nubi@", "msg": "The source and destination cannot both be remote.\nrsync error: syntax or usage error (code 1) at main.c(1274) [Receiver=3.1.2]\n", "rc": 1}
code is:
- name: Copy bash profile to consul2 server synchronize: mode: push src: rsync:/home/nubi-admin/.bash_profile dest: /home/nubi-admin/.bash_profile delegate_to: "{{ consul3_ip }}"
Error is The source and destination cannot both be remote


Wrote a Playbook that will perform the following tasks on a host in VMWARE Vcenter. The playbook runs on localhost.

  1. Wait for the virtual machine to shut down-guest.
  2. If the shut down-guest task failed with a debug reason "Virtual machine must be in powered-On state for guest shutdown/reboot" the play will skip the remaining tasks.
  3. If the shut down-guest task failed with a debug reason " Unable to set power state for non-existing virtual machine " the play will skip the remaining tasks
  4. If the shut down-guest task failed with a debug reason " VMware tools should be installed for guest shutdown/reboot" the play will perform next task which will Power-off the virtual machine.
  5. Disable Hot add CPU and Enable hot add RAM and modify CPU, CPU cores-per-socket and RAM of the VM,
  6. Power-On the virtual machine after modifying CPU and RAM of the VM.
  7. Check whether the virtual machine is Successfully "powered-On" by debugging the result from the previous task performed.

I looped the playbook using with_items. If i gave a list of 50 machines the play will shutdown all the 50 and goes to next task.
If it does like that, it just register the first machine output and failed at debug conditions
I want the play to run all the task on each host and get to the next host.

have some trouble to run this project can someone provide some help ?
Hello everyone, someone knows how to pass VAR from playbook to another playbook for the same target host, thank you all :D

Team, Trying to convert the “region” in to variable, but not working. Any suggestions?

db_password: "{{ lookup('aws_secret', '{{ aws_secret_name }}', region=‘us-west-1') | from_json | json_query('\"' + aws_secret_key + '\"') }}”

when try to pass the region as {{ region }} variable, it’s throwing the following error. Tried to assign the region as environment variable as well, but not working.

Provided region_name '{{ region }}' doesn't match a supported format.”}

have tried the escape characters as well *