On Wednesday, June 10, 2015 at 6:23:29 PM UTC+5:30, Matt Martz wrote:
>
> Per the docs, the state param exists since version 2.0. At this time
> version 2.0 has not been released.
>
Whoops. Sorry. Gotta pay more attention to the versions.
It would be nice to have docs pages per version.
--
tested by moving add_host from role over to "tasks" - same result. Sounds
like I'm missing the point someplace, but where?
--
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
I've got a playbook in which I'm trying to use add_host to dynamically
generate a group of hosts. Here's what I have:
\roles
\ group_servers
\ tasks
\ main.yml
\ common
\ tasks
\ main.yml
setup.yml
==> ./roles/group_my_servers/tasks/main.yml
---
- name: Group My boxes
add_h
Hi,
I'm trying to fire ansible from cron job and am failing as --private-key
directive doesn't seem to have effect. I can replicate the issue from CLI
as well. So to illustrate:
$ ssh -i /home/ansible/.ssh/id_rsa_ansible_key r...@server.com hostname
server.com
$ /usr/bin/ansible-playbook
--pr
Hello,
I have an issue with the remote_tmp parameter from the ansible.cfg that I
would like to change from the playbook task.
The problem I have is the way I am connecting to the servers, with the
different type of users. Here are some example
Most of the connections:
GenericUserA/AnsibleS
Same command worked for me. Temporary connection issue on your end?
--g
On Thu, Jun 11, 2015 at 2:04 PM, Prasanna Siriki
wrote:
> Hello,
>
> I am trying to install Juniper.junos
>
> #ansible-galaxy install Juniper.junos
> The API server (galaxy.ansible.com) is not responding,Please try again
> l
Hello,
I am trying to install Juniper.junos
#ansible-galaxy install Juniper.junos
*The API server (galaxy.ansible.com) is not responding,Please try again
later.*
I am getting the above error.
Regards,
Prasanna
--
You received this message because you are subscribed to the Google Groups
"An
That did it! Thanks!!
On Thu, Jun 11, 2015 at 12:54 PM, Matt Martz wrote:
> You could have a problem with the 'command' module in devel in the
> ansible-modules-core repo and running ansible 1.9.
>
> There are changes for ansible 2.0 that impacted the command module in
> ansible-modules-core.
I think latest devel is only available by cloning from github.
I am hoping there will be a 1.9.2 release candidate 2 soon which might
include these modules.
Jon
On Thursday, June 11, 2015 at 5:40:39 PM UTC+1, Slim Slam wrote:
>
> Since v1.9.2 is not released yet, is there a way to use pip to up
This might be a silly question, but what happens when you run that command
locally on the target?
On Thursday, June 11, 2015 at 8:18:10 AM UTC-7, Guy Matz wrote:
>
> Hi!!
> Having issues with command tasks . . .
>
> gmatz@fuzzybunny ~/Code/ansible-local $ ansible-playbook --version
> ansible-play
You could have a problem with the 'command' module in devel in the
ansible-modules-core repo and running ansible 1.9.
There are changes for ansible 2.0 that impacted the command module in
ansible-modules-core. So the devel version of the command module is not
compatible with ansible 1.9.
You mig
Hi!!
Having issues with command tasks . . .
gmatz@fuzzybunny ~/Code/ansible-local $ ansible-playbook --version
ansible-playbook 1.9.1 (detached HEAD b47d1d7e69) last updated 2015/06/10
17:15:55 (GMT -400)
lib/ansible/modules/core: (detached HEAD d6ed6113a7) last updated
2015/06/10 10:07:33 (GMT
Since v1.9.2 is not released yet, is there a way to use pip to upgrade to
the latest development version of 1.9.2?
J
On Thursday, June 11, 2015 at 11:37:59 AM UTC-5, Jake Dupuy wrote:
>
> I've got a similar issue, I need to get win_file working for one of my
> plays. Sounds like upgrade to 1.9.
Hello,
if I'm not wrong, this functionality is not currently included in the core
mysql_user module as you always have to specify the password to connect to
the db. Would you accept a pull request to add this feature?
Regards,
Abraham.
--
You received this message because you are subscribed
I've got a similar issue, I need to get win_file working for one of my
plays. Sounds like upgrade to 1.9.2 should do the trick?
On Thursday, June 11, 2015 at 11:27:51 AM UTC-5, Slim Slam wrote:
>
> If you look back through this thread, you'll see that I unistalled and
> then reinstalled Ansibl
Yes and no, ansible avoids using a login shell, so vars defined for
the user that rely on that won't be picked up. Sudo , by default, also
removes most vars from the source user and can set it's own vars for
the target user, it also does not normally pickup vars that depend on
login to be set.
Thanks for your answer Brian. Apart from that I'd really like to know if
there's a way to use the user's variables of the user that is specified in
the playbook. In my case I'm doing a sudo: yes.
Cheers,
Ivan
El jueves, 11 de junio de 2015, 16:35:50 (UTC+2), Ivan Garcia escribió:
>
> Hi all,
>
If you look back through this thread, you'll see that I unistalled and
then reinstalled Ansible. It didn't change anything.
The core windows modules work, but not the windows modules in extras.
J
On Thursday, June 11, 2015 at 11:02:59 AM UTC-5, J Hawkesworth wrote:
>
> I haven't tried chocolate
I figured it out. ->
- user: name=name password=password
- command: do something
On Thursday, June 11, 2015 at 10:31:54 AM UTC-4, richard kappler wrote:
>
> How would I provide a username and password for an application?
>
> Specifically, within a running app to which I am deploying and add-on I
I haven't tried chocolatey but I can get win_updates to execute. But my
ansible was installed via yum and I'm not on a mac.
It does feel like something is stopping ansible from finding parts of
itself. Have you upgraded from an older ansible version (or did you start
with a fresh 1.9.1 instal
Hi!!
Having issues with command tasks . . .
gmatz@fuzzybunny ~/Code/ansible-local $ ansible-playbook --version
ansible-playbook 1.9.1 (detached HEAD b47d1d7e69) last updated 2015/06/10
17:15:55 (GMT -400)
lib/ansible/modules/core: (detached HEAD d6ed6113a7) last updated
2015/06/10 10:07:33 (GMT
if you unset LC/LANG variables they default to C/POSIX, so i would
actually set them to what you need.
On Thu, Jun 11, 2015 at 10:33 AM, Ivan Garcia wrote:
> Hi all,
>
> I'm working to automate some Tomcat deployments and I have a problem with
> the enconding. When I start the Tomcat, Ansible use
Brian,
That's great - thank you! I've made the change and that's just what I'm
after.
Regards
On Thursday, 11 June 2015 15:25:38 UTC+1, Colin Phillips wrote:
>
> All,
>
> I'm currently trying to compose a playbook to remove log files that are
> older than 90 days and then gzip the remaining f
Hey Igor, we received your support ticket and will be taking a look
momentarily. This mailing list is primarily for Ansible open source
discussion so in the future just go ahead and sent Tower questions right to
supp...@ansible.com. Thanks and we'll be in touch soon!
-Tim
On Thu, Jun 11, 2015 at
Hi all,
I'm working to automate some Tomcat deployments and I have a problem with
the enconding. When I start the Tomcat, Ansible use its default LANG=C and
LC_TYPE=C variables and the application is not deployed properly, some
characters doesn't appear right.
Following you can see the PID in
How would I provide a username and password for an application?
Specifically, within a running app to which I am deploying and add-on I
need to run a script to verify proper operation of the add-on installation.
When the command to run the script is entered, the app asks for a username
and pass
I installed Ansible Tower (2.1.4), it worked fine.
I did some initial setup - users, credentials, etc.
After a while I got back to this, and could not login in the interface.
when I try I see the message: "Failed to access user information. GET
returned status: 401"
and /var/log/tower/tower_
The answer is "when it's done", basically. It's a major refactoring
effort, and we want to make sure the take the time to find, and fix,
the big issues. My personal guess is July, but that's just a guess.
--g
On Wed, Jun 10, 2015 at 10:39 PM, Slim Slam wrote:
> Is there an estimated release dat
job is the command to execute, here you are making it the same as the
cron file itself. You either want to make this a copy (since you
already wrote out the cron job) or
job='find /var/log/freeradius/radacct/ -mtime +90 -print0 | xargs -0
rm && find /var/log/freeradius/radacct/ -type f -mtime +7 -
All,
I'm currently trying to compose a playbook to remove log files that are
older than 90 days and then gzip the remaining files that are older than 7
days.
I'm attempting to use the cron module of Ansible to do this but havign a
bit of trouble.
Here's what I've done so far:
Created a job i
Solved in
https://github.com/ansible/ansible/issues/11238
W dniu czwartek, 11 czerwca 2015 14:11:33 UTC+2 użytkownik sirkubax napisał:
>
> Hi
>
> ansible 1.9.1
>
>
> I'd like to load some variables for newly created instances from my static
> inventory.
>
> I do create some EC2 instances with a
you can use sequence, start at 0 and end at list length
On Thu, Jun 11, 2015 at 6:36 AM, JohnP wrote:
> I think my question is more "fundamental" as
>
> How can I capture and use the array member number of with_dict in
> results[0].stat.exists like on any primitive language as an example below.
>
A quick example
- hosts: localhost
connection: local
gather_facts: False
tasks:
- name: Provision a set of instances
ec2:
region: eu-central-1
key_name: some_aws_key
group: default
instance_type: t2.micro
image: ami-accff2b1
Hi
ansible 1.9.1
I'd like to load some variables for newly created instances from my static
inventory.
I do create some EC2 instances with a playbook (as in basic example):
*- hosts: localhost*
* connection: local*
* gather_facts: False*
* tasks:*
*- name: Provision a set of instance
I think my question is more "fundamental" as
How can I capture and use the array member number of with_dict
in results[0].stat.exists like on any primitive language as an example
below.
#!/bin/bashfor i in 1 2 3 4 5do
echo "Welcome $i times"done
Sample outputs:
Welcome 1 times
Welcome
Hi,
i think this can be solved if you can make you ssl_certs a list of dicts
and use with_indexed_list
http://docs.ansible.com/playbooks_loops.html#id22
On Thu, Jun 11, 2015 at 3:39 PM, JohnP wrote:
> Hi Group,
>
> I am trying to establish a logic on a creating web server self signed
> certi
Hi Group,
I am trying to establish a logic on a creating web server self signed
certificates.
(please note that this issue could be related any other task like depending
on files
in directories, etc.)
Logic is that I would like to create subsequent files (as cert request and
the newly signed
37 matches
Mail list logo