by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 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
@spaceneenja
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.
pleegor
@pleegor
my 2 cents use pip
straight forward and easy
tharun-allu
@tharun-allu
does ansible win_shell module support to be run async ?
jamesliulondon
@jamesliulondon
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
@MadMub
Hello
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
@eemz
@MadMub not sure exactly what you're asking - can you give an example?
XIRGO
@XIRGO
oh wow theres a ansible room!
Benjamin McIntire
@spaceneenja
Anyone have experience with gce.py?
trying to figure out why ./gce.py --list works
but ansible all -i gce.py -m setup asks for a passphrase
Joe Fegan
@eemz
@jamesliulondon that's a good question. i don't know. ansible/ansible certainly seems to be more active.
Punita Ojha
@punitaojha
This message was deleted
Mike
@c0psrul3
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
@eemz
@c0psrul3 you're probably better to ask in the ansible/ansible room. This one is pretty much redundant.
jamesliulondon
@jamesliulondon
Thank you
SrikanthSoma
@SrikanthSoma
Hi is there any ansible module for list of logged in users on servers with in last week
parsparab
@parsparab
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
@HelmiBaraja
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
@stephenpc
@HelmiBaraja @SrikanthSoma Ansible Tower has been open sourced, actually. Please see https://github.com/ansible/awx.
Helmi Baraja
@HelmiBaraja
Oh, thanks @stephenpc , good to know
Dan Moore
@drmrd
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.
😎ಗೋಕಾಕ ಹುಡ್ಗ 👌
@ganeshgunaki_twitter
Join my community Learn DevOps and Guide the beginners for understanding the DevOps https://gitter.im/DevOps-Getting-Started via @gitchat
Harshad Pandit
@panditharshad_twitter
@panditharshad_twitter
hi, i am looking for production mongodb deployment
any recommendation to go over
Vinod Singh Ramalwan
@w1n5rx
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
@w1n5rx
Getting "firewalld required for this module" error message even when firewalld package is already installed on the remote machine
K Dhanesh
@dhanupreeth_twitter
Hi, am looking for playbook to setup user and disable the user
K Dhanesh
@dhanupreeth_twitter
I can able to create users but I need to disable the users when they exit from projects or process ...
K Dhanesh
@dhanupreeth_twitter
Hi Folks, I fixed the code to add / remove sudo permission with No password entry in sudoers files
will share the code shortly ..
Dhanesh
@dhanupreeth
Hi folks
Willy Njundong
@sudomann
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 %}
SebastienJardin
@SebastienJardin
Have you try to feed variable and launch to understand what it do ?
http://jinja.quantprogramming.com/
Or launch this script in Ansible with debug/verbose mode ?
Szabó Dániel Ernő
@r3ap3rpy
Come chelc out my youtube playlist full of andible goodies https://www.youtube.com/playlist?list=PLIO3UV9ODwNBqV0-VLqeIRxQaHp1yTPS0
gowthamakanthan
@gowthamakanthan
Team, am facing the below error: Any idea why ?
TASK [test : Copy bash profile to consul2 server] **
fatal: [10.1.26.117 -> 10.1.26.119]: 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@10.1.26.117:/home/nubi-admin/.bash_profile", "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 }}"
mtafrata
@mtafrata
Error is The source and destination cannot both be remote
pa1pa2
@pa1pa2

Team,

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.

mamrani111
@mamrani111
have some trouble to run this project https://github.com/jaewonhimnae/react-shop-app can someone provide some help ?
jojo92230
@jojo92230
Hello everyone, someone knows how to pass VAR from playbook to another playbook for the same target host, thank you all :D
gowthamakanthan
@gowthamakanthan

@gowthamakanthan
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 *