Search Discussions
-
Hello everyone, I am getting the following error while attempting to run a Galaxy role that was published for EL 7. My target host is an AWS EC2 instance running CentOS 7.0.1406. The only info I have ...
Joanna Delaporte
Nov 11, 2015 at 8:44 pm
Nov 17, 2015 at 9:40 pm -
Good afternoon, I am attempting to install multiple packages on a CentOS 7 server. I am using 2.0.0-rc1. I keep running into a python error. I tried using a yum task in a role, using with_items like ...
Joanna Delaporte
Nov 25, 2015 at 5:40 pm
Nov 26, 2015 at 4:16 am -
[prior post had a link in the title - if a mod can delete that post, would be great, thanks!] I'm having some issues with ansible 2.0.0-stable (b69942a), where --start-at-task can't find the task ...
Brandon Heller
Nov 25, 2015 at 9:22 pm
Dec 3, 2015 at 12:10 am -
Hi, I'm trying to manage a small number of Unix users on a smallish estate of servers (~100 servers). My users are either devs, sysadmins or support, and need different access to different boxes ...
Ralph Bolton
Nov 13, 2015 at 6:02 pm
Nov 17, 2015 at 9:08 am -
Hi all ! is there any way of achieving the following ? ( i've tried this ones and i get "*no hosts matched*" ) monitor_group = "glance" - hosts: "{{ monitor_group }}" roles: - { role ...
Alejandro Comisario
Nov 13, 2015 at 3:53 pm
Nov 15, 2015 at 8:27 pm -
Hi, I recently inherited an Ansible deployment that manages some EC2 instances and I have a couple questions. I am unable to find a pem file/ssh key on the local file system, but somehow Ansible is ...
Nathan chu
Nov 12, 2015 at 9:38 pm
Nov 13, 2015 at 6:27 pm -
H All, I have a piece of code which is required to run by many roles. Instead of duplicating these tasks which brings maintenance problem as it grows, I would like somehow to re-use same set of tasks ...
Co S
Nov 19, 2015 at 2:42 pm
Dec 6, 2015 at 1:56 am -
I’m trying to use private keys. I've got it all setup and it works when I use this command. ssh -C <span class="m_body_email_addr" title="284ee04debda8a6989b2822d59bd0b9b" [email protected]</span ...
Theyuseus
Nov 30, 2015 at 11:11 pm
Dec 1, 2015 at 7:23 pm -
I'm working on a playbook, that will be deploying a java app to four hosts. I want it to push the app out to each node, making sure the correct directories exist to push the new version to - that's ...
Roger Sherman
Nov 25, 2015 at 7:24 pm
Nov 27, 2015 at 8:20 pm -
I have many windows hosts that have been configured identically (as far as I can tell) and I can connect to all but one of them. Anyone have an idea of why this may be happening? - Up to date on all ...
Matt Calhoun
Nov 11, 2015 at 9:47 pm
Nov 12, 2015 at 11:04 pm -
I have SUDO configured to work without passwords. This command *works just fine*: ansible quee -a "/usr/bin/sudo /usr/bin/apt-get update" This command *fails with "FAILED = Missing sudo password "* ...
Jeff
Nov 10, 2015 at 4:48 pm
Nov 11, 2015 at 7:51 pm -
hi I have the below ansible playbook named backup_data.yml, which is included by the main playbook named upgrade.yml. backup_data.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --- - ...
Leon Xie
Nov 30, 2015 at 8:11 am
Dec 3, 2015 at 8:04 am -
Hi, Can someone please help me in creating an IAM user with a group and with administrator privilege Thanks, -- You received this message because you are subscribed to the Google Groups "Ansible ...
Adithya Khamithkar
Nov 28, 2015 at 1:23 pm
Nov 29, 2015 at 9:43 pm -
I thought this would be the easiest part of creating a dynamic inventory, but I'm having a hell of a time connecting: boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 ...
Rob Wilkerson
Nov 24, 2015 at 7:03 pm
Nov 25, 2015 at 10:47 pm -
Hi everyone, I was trying to use the nmcli module this morning, and kept getting an error (ERROR: nmcli is not a legal parameter in an Ansible task or handler). Apparently, this module doesn't ship ...
Joanna Delaporte
Nov 23, 2015 at 5:51 pm
Nov 23, 2015 at 6:54 pm -
Is there a document anywhere that describes the changes and/or recommendations to migrate playbooks from 1.9.x to 2.0.0 (I'm not seeing anything obvious)? I installed 2.0.0 and attempted to run an ...
John Peacock
Nov 20, 2015 at 11:48 pm
Nov 23, 2015 at 5:15 pm -
Hi, I am not able to get the "ping" modules working when using privilege escalation on Solaris 11. I am using Ansible 1.9.4 from a CentOS 7.1 control machine: $ ansible --version ansible 1.9.4 ...
Thomas Willert
Nov 12, 2015 at 3:34 pm
Nov 16, 2015 at 7:40 am -
Hi, if I have a string/var with hostname_01.com:28569, how can I use the hostname part (hostname_01 and don"t use the :28569) to be use in an action ? Regards, -- ------------------------------ This ...
Eric Franckx
Nov 12, 2015 at 1:13 pm
Nov 12, 2015 at 3:33 pm -
easy install pip worked. but when trying to install ansible, this happens. it looks like a connection error. maybe intermittent failure? $ sudo pip install ansible Downloading/unpacking ansible ...
Pixel fairy
Nov 10, 2015 at 9:20 am
Nov 11, 2015 at 11:01 am -
Hello Folks, I am trying to execute a playbook from the control machine in the internal network to a VM located in the DMZ as shown in the diagram below ...
Ayekaymail
Nov 3, 2015 at 1:18 am
Nov 3, 2015 at 3:18 am -
Is there a possibility to prompt a variable again? Currently if you prompt a variable in the first play, you can't prompt for the same variable in the second play. Here is my (example) playbook: - ...
Thomas Steinbach
Nov 30, 2015 at 10:10 pm
Nov 30, 2015 at 11:09 pm -
Hi, since Ansible 2.0 it is possible to deploy directly to a docker container via connection=docker. Now I want to create a Role which is starting a Docker container and deploying some stuff to it ...
Thomas Steinbach
Nov 25, 2015 at 2:25 am
Nov 29, 2015 at 8:03 pm -
Hello I'm trying to run a playbook that will login as user ansible and then sudo to root to make configurations. I have a sudo entry that will allow root without password. The playbook looks like ...
Dave Thacker
Nov 24, 2015 at 11:34 pm
Nov 25, 2015 at 2:42 pm -
Ansible v1.9.4 I have a playbook that I launch with: $ ansible-playbook build.yml build.yml includes set_os.yml (just a set of tasks) that launches some ec2 instances. build.yml looks like this. - ...
Slim Slam
Nov 20, 2015 at 5:25 pm
Nov 20, 2015 at 10:33 pm -
Hi This URL is for the PyDev plugin for Eclipse: http://freefr.dl.sourceforge.net/project/pydev/pydev/PyDev 4.4.0/PyDev 4.4.0.zip Note that there is a space in the URL and in the file name itself ...
Nathan Sowatskey
Nov 10, 2015 at 4:31 pm
Nov 18, 2015 at 9:34 am -
Hi all, Currently a task like this: file: path=/data state=directory owner=root group=root mode=0755 fails with the following error: failed: [localhost] = {"failed": true, "parsed": false} ...
Igor Cicimov
Nov 16, 2015 at 7:06 am
Nov 16, 2015 at 10:47 pm -
Hey People, Having some trouble using YAML dictionaries. I'm refactoring my variable structure in a role a wrote a while ago. The variables used to all look like: sensu_api_host, but I wanted to move ...
Cmacrae
Nov 15, 2015 at 1:37 pm
Nov 15, 2015 at 6:11 pm -
I am trying to do the following where I index groups by a variable instead of hardcoding it. Is that possible somehow? {% for host in groups['{{VAR}}'] %} STUFF {% endfor %} Thanks in advance, ...
Edgardo Vega
Nov 12, 2015 at 12:50 pm
Nov 12, 2015 at 4:08 pm -
I have following host group [zookeeper] zk001.abc.cc zookeeper_myid=1 zk002.abc.cc zookeeper_myid=2 zk003.abc.cc zookeeper_myid=3 I want following to be created when playbook run ...
Roy
Nov 5, 2015 at 10:23 pm
Nov 12, 2015 at 11:20 am -
Hi, I'm responsible for dozens of separate projects or server environments (each containing multiple hosts) and now planning to manage all of them using ansible. There's a requirement to have a ...
Lupu Pitkänen
Nov 6, 2015 at 12:34 pm
Nov 11, 2015 at 11:49 am -
I'm sure this must've come up before but I couldn't find an answer. I have a list of hosts in a group. I want to write an index number on each of those hosts in a file. E.g. the first host has a file ...
Rob White
Nov 5, 2015 at 4:43 am
Nov 6, 2015 at 6:22 am -
I have a Java program (/workspace/Task), I want to run it in several Linux machines (m1, m2, m3,,,, mn). I need to run a program Task on machines one by one. In other words, I want to run the Task on ...
ibrahim El-sanosi
Nov 1, 2015 at 8:26 pm
Nov 2, 2015 at 7:43 pm -
I have the below play to check if JBoss application server is RUNNING. I am getting the message "JBoss Process is running on localhost" (inventory_hostname = localhost) even when JBoss is DOWN. Am I ...
Skr989
Nov 18, 2015 at 4:07 pm
Dec 3, 2015 at 5:28 pm -
I have a playbook (site.yml) which includes a bunch of other playbooks. Each of these individual playbooks includes one or more roles. I've had problems with site.yml hanging at a specific point ...
Guy Knights
Nov 28, 2015 at 12:31 am
Dec 2, 2015 at 6:46 pm -
Hello guys! I want to share with you my problem which is pretty strange in my point of view. My playbook looks as follows: - name:fetch configuration gather_facts: true hosts: '{{ h }}' sudo: true ...
Marcel Golus
Nov 27, 2015 at 4:06 pm
Dec 2, 2015 at 7:56 am -
New to Ansible here, and have a question on using an inventory_hostname variable. I have a playbook that deploys an add-on to numerous servers, using an inventory list of IP addresses setup as so ...
Richard kappler
Nov 25, 2015 at 4:45 pm
Dec 1, 2015 at 6:36 pm -
Hello Ansible Geeks I am willing to use ansible 2.0 and i have cloned ansible repository and source /hacking/env-setup and got this error. Please see the details here ...
Karan Singh
Nov 30, 2015 at 8:58 pm
Dec 1, 2015 at 4:13 pm -
Trying to put the bits together to get an auto scaling group in aws to come on line and create a vm that does a callback to tower for provisionment. The bit im getting stuck with is the callback part ...
Adrian Black
Nov 18, 2015 at 5:51 pm
Dec 1, 2015 at 10:21 am -
Hello, I'm using EC2 dynamic inventorying, and would like to create a new Ansible group to apply roles to by referencing machines tagged with a specific EC2 tag key/value pair. So far, I have this in ...
Andrew Langhorn
Nov 30, 2015 at 1:12 pm
Nov 30, 2015 at 8:17 pm -
Hi, I have installed ansible on centos 6 and it seems that I am getting the error : state is not legal... [[email protected] tasks]$ ansible-playbook -v -i /home/user/ansible/ansible_hosts ...
AC
Nov 26, 2015 at 5:48 am
Nov 30, 2015 at 1:07 pm -
This test playbook used to work in ansible 1.9.x and is no longer working. I have no variables (foo or php_packages)defined for this example. --- - debug: msg "Foo is " {{ foo }} when: foo is defined ...
Alan LaCombe
Nov 23, 2015 at 11:33 pm
Nov 24, 2015 at 12:02 am -
How do I get Ansible to monitor a log file and take an action when the process stops appending? I have a high volume process that we'll drain before stopping it. The process will have queued a ...
Tom rkba
Nov 20, 2015 at 7:01 pm
Nov 23, 2015 at 7:37 pm -
Hi there - I'm trying to do something I think should be fairly easy, but I can't seem to find the right magic. I'd like to run a set of commands on behalf of my server, against *any one of another ...
Elliott Barrere
Nov 6, 2015 at 12:30 am
Nov 18, 2015 at 11:35 pm -
I created my first module using your python boilerplates. How do I get my Ansible Playbook to find it? According to the docs, I placed it in ./library/env_checks.py but I still get "ERROR ...
Larry Fast
Nov 17, 2015 at 7:23 pm
Nov 18, 2015 at 4:23 am -
Hi, I would like to use the when condition to execute tasks based on group names in ansible. I am using this code snipit when: ({{group_names}} == "web-server") But it always skips. Can someone ...
Adithya Khamithkar
Nov 15, 2015 at 11:47 am
Nov 16, 2015 at 10:59 pm -
Sorry if this has been documented elsewhere (where?), but how can one iterate with jinja2 over a dictionary? http://stackoverflow.com/questions/33666820/ansible-jinja2-loops-over-complex-structures ...
Hristo Stoyanov
Nov 13, 2015 at 5:26 am
Nov 13, 2015 at 4:29 pm -
Hi all, I have a strange one that I hope you can help me with. I'm trying to make a role for systemd service unit files. This is the newfangled replacement for good ol' sysV init scripts in Rhel7, ...
Dylan Martin
Nov 11, 2015 at 6:41 pm
Nov 13, 2015 at 6:33 am -
Hi All ;) I currently am writing automation for a Percona Galera cluster which consists of 3 nodes. I am uploading a config file with: - name: upload my.cnf template: src=my.cnf.j2 dest=/etc/my.cnf ...
Rafał Radecki
Nov 10, 2015 at 4:48 pm
Nov 12, 2015 at 4:03 pm -
Hello, I have a problem with conditional variable imports. I am trying to set a variable based on operatingsystem release. For 'Solaris10' I want one value and for all others I want another another ...
Thomas Willert
Nov 11, 2015 at 3:48 pm
Nov 12, 2015 at 2:23 pm -
Right now, sudo does not require a password. I edited my sudoers file so that it requires a password for everything except a few commands which Ansible runs during a deployment (using the ansible ...
Kristopher Linquist
Nov 9, 2015 at 10:55 pm
Nov 10, 2015 at 5:28 pm
Group Overview
group | ansible-project |
discussions | 211 |
posts | 618 |
users | 227 |
227 users for November 2015
Archives
- June 2016 (546)
- May 2016 (822)
- April 2016 (685)
- March 2016 (817)
- February 2016 (878)
- January 2016 (755)
- December 2015 (527)
- November 2015 (619)
- October 2015 (750)
- September 2015 (641)
- August 2015 (631)
- July 2015 (781)
- June 2015 (870)
- May 2015 (636)
- April 2015 (712)
- March 2015 (708)
- February 2015 (762)
- January 2015 (802)
- December 2014 (765)
- November 2014 (883)
- October 2014 (833)
- September 2014 (1,133)
- August 2014 (1,095)
- July 2014 (961)
- June 2014 (27)