Re: [ansible-project] New to ansible, are there quirks around symlinks and the builtin file module? Potentially related to the need for older python?

2022-06-23 Thread Joe Gullo
Thanks for the reply (here and on reddit.) This is totally local for now while I dev it, so the controller is the target. I tried the playbook with the default, and with "follow=no" and got the same behavior. I'm trying to install a newer ansible; that being said, I'm not finding which one

[ansible-project] New to ansible, are there quirks around symlinks and the builtin file module? Potentially related to the need for older python?

2022-06-23 Thread Joe Gullo
I am new to ansible and am adapting some EOL software to work on a non-target platform. This is a very old application, but I have a business requirement to get it working on a newer OS. At this point, it requires Python 2.7, which is likely the source of my headaches, but I'm not sure if

Re: [ansible-project] Abridged summary of ansible-project@googlegroups.com - 2 updates in 1 topic

2021-04-10 Thread Joe Bortscheller
Can someone send me a general pdf of what I should be doing -- 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...@googlegroups.com. To

Re: [ansible-project] YML Error when using shell module

2021-02-10 Thread Joe Langdon
quot;|mongo'" > register: result > - debug: > var: result.stdout > > should give valid escaped JSON > > result.stdout: 'echo "rs.initiate({\"_id\": \"mongors1conf\", > \"configsvr\": true, \"members\": [{\

Re: [ansible-project] Error messages

2020-09-25 Thread Joe
Thank you for your assistance Sir. On Friday, September 25, 2020 at 12:44:30 AM UTC-5 brae...@gmail.com wrote: > On 9/25/20 7:01 AM, Joe wrote: > > I'm pretty new to ansible, so I'm learning as i go. I run the code below > and it seem to work. However i get the > > followi

[ansible-project] Error messages

2020-09-24 Thread Joe
I'm pretty new to ansible, so I'm learning as i go. I run the code below and it seem to work. However i get the following errors messages? Any one know why? Any one have suggestions on how i should re-write it properly? - ---

[ansible-project] pulling infor from a config.

2020-06-18 Thread Joe
I am trying to figure out how to put information from a switch config using ansible so it can be manipulated and used as data in your ansible playbook. For example, all switches have a configuration section similar to the following: archival { configuration {

Re: [ansible-project] Create user with ssh key, error deploying key

2020-05-11 Thread Joe G
the users set up like a host file in groups or if this is possible. Maybe I'm over thinking this and there's a simpler way that this has been done. On Monday, May 11, 2020 at 12:01:36 PM UTC-7, Stefan Hornburg (Racke) wrote: > > On 5/11/20 8:53 PM, Joe G wrote: > > I couldn't remember b

Re: [ansible-project] Create user with ssh key, error deploying key

2020-05-11 Thread Joe G
ansible/blob/stable-2.9/lib/ansible/modules/system/authorized_key.py#L400-L407 > > > > On Mon, 11 May 2020 at 19:47, Joe G > > wrote: > >> Awesome, thanks for the assist. I created a new key using RSA and it's >> working. Does ansible not work with ecdsa? That's

Re: [ansible-project] Create user with ssh key, error deploying key

2020-05-11 Thread Joe G
At least you'll know if it's a problem with your key or the playbook (and > if it works with ssh-copy-id of course you can just delete it off the > target host when you are ready to retry with your ansible playbook). > > > > > > On Thu, May 7, 2020 at 1:48 PM Joe G > >

Re: [ansible-project] Create user with ssh key, error deploying key

2020-05-07 Thread Joe G
ile', './files/{{ item.username}}_id_rsa.pub')}}" with_items: "{{ users }}" Error failed: [test.preprod.io] (item={u'username': u'joe'}) => { "changed": false, "item": { "username": "joe" }, "module_stderr

[ansible-project] Create user with ssh key, error deploying key

2020-05-07 Thread Joe G
looked at so many I can't recall: https://medium.com/@khandelwal12nidhi/setup-ssh-key-and-initial-user-using-ansible-playbook-61eabbb0dba4 Playbook - hosts: test.preprod.io gather_facts: no remote_user: ansible become: yes tasks: - name: Create Users user: name: joe shell

[ansible-project] renaming hosts

2020-03-20 Thread Joe
I'm fairly new to ansible, so I'm still learning it. Please bare with me. I have a variable file that defines maps current hostnames of devices to new hostnames. I'm trying to write a playbook that will re the variable file and change the hostnames of the devices. So far I haven't had any

[ansible-project] Reports error, but it seems to be working

2020-02-06 Thread Joe
I'm new to Ansible, so I'm working my way though learning it. I have a small very basic playbook with two tasks. The first task uses the junos module to back the config of a switch. The second tasks changes the host name of the switch. Ansible reports that only first task was successful.

Re: [ansible-project] Re: loop through a json object

2019-08-24 Thread Joe Langdon
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...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project

Re: [ansible-project] More dynamic variables

2019-08-22 Thread Joe Langdon
t; . > > -- > 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...@googlegroups.com. > To view this discussion on

Re: [ansible-project] Need direction oh how to either Loop Variables or use Lists for Variables within Roles

2019-08-14 Thread Joe Langdon
Thanks Kai I did not realize that the inventory was actually used to set random Variables for hosts, if these variables did not have anything to do with the ssh configuration. Thanks On Wednesday, August 14, 2019 at 5:12:10 PM UTC-4, Kai Stian Olstad wrote: > > On 14.08.2019 22:25, Joe L

[ansible-project] Need direction oh how to either Loop Variables or use Lists for Variables within Roles

2019-08-14 Thread Joe Langdon
I have a role that configures a JSON file on a server. The JSON file needs know the following variables which are DIFFERENT for each server. This file is the later used to for a script that installs software [root@ip-172-29-100-198 roles]# cat elasticconfig/*defaults/*main.yml --- #

[ansible-project] Re: The destination directory (/sys/module/nvme_core/parameters) is not writable by the current user

2019-07-29 Thread Joe Langdon
to happen organically over time. On Monday, July 29, 2019 at 4:29:22 PM UTC-4, Joe Langdon wrote: > > Hello, > > I am using an Ansible Role to copy a template file. It is not allowing me > saying.. "The destination directory (/sys/module/nvme_core/parameters

[ansible-project] The destination directory (/sys/module/nvme_core/parameters) is not writable by the current user

2019-07-29 Thread Joe Langdon
Hello, I am using an Ansible Role to copy a template file. It is not allowing me saying.. "The destination directory (/sys/module/nvme_core/parameters) is not writable by the current user" *Here is the execution of the play* [root@ip-172-29-100-198 roles]# *ansible-playbook -u root

Re: [ansible-project] Unable to execute script on remote system asanother user

2019-04-29 Thread Joe G
and just specify the path to the script > > So here it is > Shell: /mnt/path/to/your/script > > On Mon, Apr 29, 2019, 5:24 PM Andy Magana wrote: > > I was wondering if you have put the user in the sudoer file via visudo > command. > > On Apr 29, 2019, at 5:07 PM

Re: [ansible-project] Unable to execute script on remote system asanother user

2019-04-29 Thread Joe G
nd instead of command > module use shell and just specify the path to the script > > So here it is > Shell: /mnt/path/to/your/script > > On Mon, Apr 29, 2019, 5:24 PM Andy Magana wrote: > >> I was wondering if you have put the user in the sudoer file via visudo >>

Re: [ansible-project] Unable to execute script on remote system asanother user

2019-04-29 Thread Joe G
"argv": null, "chdir": "/opt/proctal/scripts/patches/", "creates": null, "executable": "/bin/bash", "removes": null, "stdin": null, "warn&qu

Re: [ansible-project] Learning Ansible, tutorials and trainnings

2019-02-05 Thread Joe Langdon
_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Joe Langdon Sometimes when you think life is kicking you in the ass, it's actually just moving you quickly to a better place. -- You received this message because you are subscribed to the Google Groups &qu

[ansible-project] Re: Ansible but with Python instead of YAML

2019-02-01 Thread Joe Langdon
I would take a look at Troposphere. It is a Python project that creates JSON / YAML for Cloudformation scripts. Very similar to what you want to do. I have not heard of the same project for Ansible https://github.com/cloudtools/troposphere On Friday, February 1, 2019 at 5:42:53 AM UTC-5,

[ansible-project] How do you specify Two Private Static IPs to different NIC cards during EC2 creation?

2019-01-24 Thread Joe Langdon
My current use case requires me to do that following Create 50 Linux CentOS 7 boxes. Eth0 must be 172.30.0 {80-120} on Subnet A Eth1 must be 172.30.1.{80-120) on Subnet B Note sure how to do this after reading the documentation,.

[ansible-project] call Dockerfiles inside ansible

2018-08-22 Thread joe pinto
I have one Dockerfile I have tried : - name: build docker image command: docker build -t ansibleum /ze/Dockerfile But the image was not created) ansible-playbook old_copiash.yml -f 1 PLAY [Transfer and execute a script.]

[ansible-project] Failure on only one server running ansible playbook for key/user management

2018-02-08 Thread Joe G
I'll preface this by saying I'm novice to ansible and certainly not a linux expert so I might need extra details if you ask me to do anything, so please be specific with instructions. This has been working flawlessly in the past. I believe last week apt-get update and upgrade were run on the

[ansible-project] Real time configuration management

2017-09-14 Thread Joe Gabrielli
I'm new to Ansible, and the consulting Co. I work for is looking into Ansible Tower. I heard that tower is capable of doing real time configuration management including file resurrection when changes occur. Much like how puppet works. Where if someone changes a file that's in the inventory

[ansible-project] Ansible 2.0 variable precedence using an inventory file

2016-08-15 Thread Joe Jasinski
hus far to see a working example: https://github.com/JoeJasinski/ansible-django-stack Thanks for any advice, Joe -- 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 emai

Re: [ansible-project] Re: ec2.py and the incredibly no good bad corporate overlords policies.

2016-06-28 Thread Joe Garcia
from master 0\r\n" On Tue, Jun 28, 2016 at 3:17 AM Alexey Vazhnov <alexey.vazh...@gmail.com> wrote: > Check «DNS Hostnames=Yes» in your VPC settings (not in Ansible). > > > On Friday, June 24, 2016 at 10:35:19 PM UTC+5, Joe Garcia wrote: >> >> Hey All, >>

[ansible-project] ec2.py and the incredibly no good bad corporate overlords policies.

2016-06-24 Thread Joe Garcia
address even though I have set the following in ec2.ini: destination_variable = public_dns_name vpc_destination_variable = public_dns_name Anybody know why? Below is the full ec2.ini file. Thanks, Joe # Ansible EC2 external inventory script settings # [ec2] # to talk to a private eucalyptus

Re: [ansible-project] Vars and register passing on to include playbooks

2016-05-20 Thread Joe Louthan
DING! That worked. Thank you so much! On Friday, May 20, 2016 at 11:56:12 AM UTC-5, Brian Coca wrote: > > you are mixing notations > > {{ hostvars['server1']['timestamp']['stdout'] }} > > > -- > Brian Coca > -- You received this message because you are subscribed to the Google Groups

Re: [ansible-project] Vars and register passing on to include playbooks

2016-05-20 Thread Joe Louthan
When I do this: {{ hostvars['server1']['timestamp.stdout'] }} as in: - name: "Backup {{ proddbname }} Database" mysql_db: "state=dump name={{ proddbname }} target={{ homedir }}{{ proddbname }}{{ hostvars['server01']['timestamp.stdout'] }}.sql.gz" It gives me the error fatal:

Re: [ansible-project] Vars and register passing on to include playbooks

2016-05-20 Thread Joe Louthan
So in order to access this var/register from server01, I could do something like in playbook-01.yml: --- - hosts: "{{ hostvars['server01']['proddbhost'] }}" (When I do that I get "ERROR! 'hostvars' is undefined" On Friday, May 20, 2016 at 8:30:48 AM UTC-5, Brian Coca wrote: > > vars don't

Re: [ansible-project] Vars and register passing on to include playbooks

2016-05-20 Thread Joe Louthan
--- - hosts: server01 remote_user: jlouthan vars: proddbhost: proddb01 tasks: - name: Get current timestamp local_action: command bash -c 'date +%Y-%m-%d.%H%M' register: timestamp run_once: true - name: Get current datestamp

Re: [ansible-project] Vars and register passing on to include playbooks

2016-05-20 Thread Joe Louthan
indented var: that is a copy/paste mistake. So those vars and register will not persist to any of the other include playbooks? On Friday, May 20, 2016 at 7:49:18 AM UTC-5, Brian Coca wrote: > > So vars seems to be incorrectly indented, also you should not need to add > 'bash' to command > >

[ansible-project] Vars and register passing on to include playbooks

2016-05-19 Thread Joe Louthan
By all accounts that I can see, the following should work: --- - hosts: server01 remote_user: jlouthan vars: proddbhost: proddb01 tasks: - name: Get current timestamp local_action: command bash -c 'date +%Y-%m-%d.%H%M' register: timestamp run_once: true -

[ansible-project] synchronize between two remote servers: you can pull but you cannot push?

2016-05-02 Thread Joe Louthan
So pulling in synchronize between two remote servers works like a champ: --- - hosts: web14 remote_user: jlouthan tasks: - name: Get current timestamp local_action: command bash -c 'date +%Y-%m-%d.%H%M' register: timestamp run_once: true - name: Get current

Re: [ansible-project] Utilizing timestamps within filenames

2016-04-25 Thread Joe Louthan
That's it! Thank you! To avoid being "that guy", here is the working playbook: --- - hosts: dbserver remote_user: jlouthan tasks: - name: Get current timestamp local_action: command bash -c 'date +%Y-%m-%d.%H%M' # Consider switch this to a shell module with date command

Re: [ansible-project] Utilizing timestamps within filenames

2016-04-22 Thread Joe Louthan
: ok=5changed=2unreachable=0 failed=1 What am I doing wrong? On Thursday, April 21, 2016 at 6:46:45 PM UTC-5, Felix Fontein wrote: > > Hi Joe, > > you could add a task > > - name: Get current timestamp > local_action: command bash -c "date +%Y-%m-%d.%H%

[ansible-project] Re: Ansible task always run

2016-04-10 Thread G Joe
thanks. that helped. On Friday, April 8, 2016 at 9:40:06 PM UTC+10, Paul Tötterman wrote: > > I'm looking for a way to always run a task at the end of script, even if >> tasks before that were failed. Is there any option such as always_run >> etc. >> > > Yes: >

Re: [ansible-project] Ansible task always run

2016-04-10 Thread G Joe
as aforementioned - blocks: always feature in 2.0 seems to suffice my requirement. thanks. On Sunday, April 10, 2016 at 3:52:10 AM UTC+10, Johannes Kastl wrote: > > On 08.04.16 06:32 G Joe wrote: > > > I'm looking for a way to always run a task at the end of script, even &

[ansible-project] Ansible task always run

2016-04-07 Thread G Joe
Hi.. I'm looking for a way to always run a task at the end of script, even if tasks before that were failed. Is there any option such as always_run etc. Please advise. Thanks. GJ -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To

[ansible-project] Re: Ansible RDS Aurora support.

2016-04-06 Thread Joe Garcia
I am interested in this as well however I am not able to find any info about Aurora being added to the RDS module. Hoping this will bump up this topic and someone can answer. On Friday, January 15, 2016 at 6:40:51 PM UTC-5, vicmo...@gmail.com wrote: > > Can I launch a RDS instance with Aurora

[ansible-project] Re: Running NSSM from copied executables on windows and avoid installing NSSM

2016-02-11 Thread Joe Levis
] AppDirectory C:\path\to\appdirectory Hope this helps. -Joe On Thursday, February 11, 2016 at 6:47:42 AM UTC-8, ishan jain wrote: > > Hi, > > I am trying to create some services on my windows machines with the help > of NSSM and would like to automate the process with Ansib

[ansible-project] Re: win_nssm task shows 'changed' for every run

2016-02-08 Thread Joe Levis
Thanks Jon. I'll see what I can do with these options. -Joe On Monday, February 8, 2016 at 6:47:32 AM UTC-8, J Hawkesworth wrote: > > I've not looked at the code, but perhaps it is a bug. Since you seem to > be able to reproduce, I suggest raising it in ansible modules extra project

[ansible-project] Centralizing authentication file for multiple Windows hosts using the same user credentials

2016-02-05 Thread Joe Levis
file for all Windows hosts if they all have the same credentials? Much appreciated, -Joe -- 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 ansib

[ansible-project] Re: winrm

2016-02-03 Thread Joe Levis
sure your Linux box where you're running Ansible is registered on the same domain as the Windows server you are trying to connect to. Third, your ansible_user domain needs to be in all CAPS like so user@DOMAIN.LOCAL Let us know what you come up with. -Joe On Wednesday, February 3, 2016 at 7

[ansible-project] Re: winrm

2016-02-03 Thread Joe Levis
-14-04lts-to-a-windows-domain-using-pbis-open -Joe On Wednesday, February 3, 2016 at 9:16:55 AM UTC-8, Nikhil Shah wrote: > > Just an update, but still having issuesI realized I was using ansible > 1.9.4 and the syntax is a bit different than ansible 2.0 (e.g > ansible

[ansible-project] win_nssm task shows 'changed' for every run

2016-02-03 Thread Joe Levis
Ubuntu 14.04, Ansible 2.0.0.2 I'm using win_nssm to install a service. It's successfully installing the service, however all subsequent runs show the win_nssm task as 'changed'. Why is win_nssm showing 'changed' even though the service has already been installed and nothing has been modified?

[ansible-project] Re: win_template Illegal characters in path

2016-02-02 Thread Joe Levis
You were right Jon. I needed to escape the backslashes. This worked: dest="C:\\temp\\test.conf" Thanks! -Joe On Monday, February 1, 2016 at 3:38:05 PM UTC-8, Joe Levis wrote: > > Not sure what I'm doing wrong here. I've tried all different styles of > configuration w

[ansible-project] win_template Illegal characters in path

2016-02-01 Thread Joe Levis
Not sure what I'm doing wrong here. I've tried all different styles of configuration with no success. I'm trying to templatize a config file on a Windows Server 2012 R2, but it's throwing the below error: *"failed": true, "invocation": {"module_args": {"dest": "C:\temp\test.conf", "src":

Re: [ansible-project] How to use a variable within a variable

2016-01-28 Thread Joe Levis
SUCCESS! Wow, that was it. Thanks man. I had tried {{ redis_password.[app_env] }} - so close! And thank you for clarifying the use of jinja. -Joe On Thursday, January 28, 2016 at 11:22:38 AM UTC-8, Josh Smift wrote: > > JL> 3) Now, I need to use the variable passed on command li

[ansible-project] How to use a variable within a variable

2016-01-28 Thread Joe Levis
I have a use case where I need to use a variable within a variable. I'm sure it's doable, but I'm new to Ansible syntax and tried different ways with no success. Here's the scenario: 1) Playbook uses variable {{ redis_password.qa }} defined in /vars/main.yml: --- redis_password: qa:

[ansible-project] Re: win_firewall_rule "The property 'failed' cannot be found on this object. Verify that the property exists."

2016-01-27 Thread Joe Levis
Yep, that works! Thanks Jon. Once again, you've helped me overcome a major hurdle. -Joe On Wednesday, January 27, 2016 at 2:59:47 AM UTC-8, J Hawkesworth wrote: > > This is likely due to the change to enforce strict mode which was > introduced in ansible 2. > > There i

[ansible-project] Re: Ansible Windows Winrm Authentication or permission failure.

2016-01-25 Thread Joe Levis
on postings I found during my Ansible+Windows setup. Let me know what you find from running other modules. -Joe On Saturday, January 23, 2016 at 9:26:03 AM UTC-8, Dan Gibbons wrote: > > Hi Joe, > > Thanks for getting back to me I did both the items when I setup the > control ser

[ansible-project] win_nssm - How to specify Startup directory

2016-01-25 Thread Joe Levis
Bat%2B2.55.01%2BPM.png> Thanks, -Joe -- 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...@googlegroups.com. To post to

[ansible-project] Re: win_nssm - How to specify Startup directory

2016-01-25 Thread Joe Levis
For now, I'm just running a raw nssm command to set the startup directory after win_nssm installs it. However, it would be nice if win_nssm provided the option to do this upon install. On Monday, January 25, 2016 at 2:56:55 PM UTC-8, Joe Levis wrote: > > Does anyone know a way to s

[ansible-project] Re: Remote Windows batch script says completed successful, but did not work

2016-01-22 Thread Joe Levis
Yes! That module works for me! I've approved the Pull Request in GitHub as well. Thanks, -Joe On Friday, January 22, 2016 at 11:12:30 AM UTC-8, Joe Levis wrote: > > Thanks Jon. > > I'll give it a try and post back. > > -Joe > > On Friday, January 22, 2016 at 10:45:33

[ansible-project] Re: Ansible windows kerberos issue

2016-01-22 Thread Joe Levis
Mayur, Make sure your Linux Control Machine is bound to the same domain as your target Windows VM. After much reading and debugging, I realized my Ubuntu server where I was running Ansible was not bound to the Domain. *Another thing...* I had to run the kinit command with the below flags on

[ansible-project] Re: Remote Windows batch script says completed successful, but did not work

2016-01-22 Thread Joe Levis
Thanks Jon. I'll give it a try and post back. -Joe On Friday, January 22, 2016 at 10:45:33 AM UTC-8, J Hawkesworth wrote: > > It's here > > https://github.com/ansible/ansible-modules-extras/pull/1213 > > Would be great if you could test it as it would get it one step

[ansible-project] Remote Windows batch script says completed successful, but did not work

2016-01-22 Thread Joe Levis
I'm running Ansible 2.0.0.2 on a Ubuntu 14.04 Control Machine. I'm using the script module in my Playbook to run a batch file, which executes a PowerShell script to create a Windows share (Windows Server 2012 R2). The Playbook completes successfully: ok=3changed=1unreachable=0

[ansible-project] Re: Ansible Windows Winrm Authentication or permission failure.

2016-01-22 Thread Joe Levis
Hi Dan, I ran into a lot of issues when trying to get Ansible to connect to my remote Windows Server 2012 R2 VM. I finally got it working - maybe my solutions will help you. *A couple questions:* 1. Did you set up your Ansible Control Machine following the official documentation to a

[ansible-project] Re: Remote Windows batch script says completed successful, but did not work

2016-01-22 Thread Joe Levis
Hi Jon, Thanks for the quick reply. I'm authenticating to the Windows server using kerberos and the user is an Administrator on the server. -Joe On Friday, January 22, 2016 at 10:40:26 AM UTC-8, J Hawkesworth wrote: > > My guess would be you need to run as a privilege

[ansible-project] Re: Remote Windows batch script says completed successful, but did not work

2016-01-22 Thread Joe Levis
Nervermind. Figured out how to add custom_modules into roles: http://docs.ansible.com/ansible/playbooks_roles.html Thanks again. -Joe On Friday, January 22, 2016 at 2:44:48 PM UTC-8, Joe Levis wrote: > > It looks like the PR for the win_share module is ready to be merged - do > you

[ansible-project] Re: Remote Windows batch script says completed successful, but did not work

2016-01-22 Thread Joe Levis
library location: $ cat /etc/ansible/ansible.cfg | grep library #library= /usr/share/my_modules/ And /usr/share/my_modules is empty. On Friday, January 22, 2016 at 12:02:41 PM UTC-8, Joe Levis wrote: > > Yes! That module works for me! > > I've approved the Pull Reque

[ansible-project] win_firewall_rule "The property 'failed' cannot be found on this object. Verify that the property exists."

2016-01-22 Thread Joe Levis
*I'm running Ansible 2.0.0.2 on a Ubuntu 14.04 Control Machine, trying to enable an Inbound port on a target Windows Server 2012 R2 using the win_firewall_rule.* *Here's my playbook:* - name: Allow inbound connection to port 12398 action: win_firewall_rule args: name: "Port 12398"

[ansible-project] Re: Installing IIS on Windows Server 2008 R2 Standard SP1 x64

2016-01-21 Thread Joe Levis
I'm having the same problem. TASK [iis : Install IIS] *** /usr/local/lib/python2.7/dist-packages/winrm/transport.py:283: RuntimeError: kerberos.authGSSClientClean is deprecated.

[ansible-project] Re: Installing IIS on Windows Server 2008 R2 Standard SP1 x64

2016-01-21 Thread Joe Levis
? Anyways, give that a try. If it works for you as well, you will need to install each sub feature separately by adding them to the name list (comma-delimited). On Thursday, January 21, 2016 at 2:00:36 PM UTC-8, Joe Levis wrote: > > I'm having the same problem. > > TASK [iis :

[ansible-project] Issue with local_action

2015-12-21 Thread Joe Talerico
Executing a local_action, and i expect it to execute as the user running the playbook, however it attempts to sudo - hosts: all gather_facts: False become: false sudo: false name: Generating bug report tasks: - local_action: template src=templates/bug_report.j2

[ansible-project] ec2 multiple security groups using a variable

2015-06-24 Thread Joe
We've recently had to add multiple security groups to an ec2 instance, but based on the host group, it needs to be a different set of groups. I see that you can do this by using an array list like so: - name: launch local_action: module: ec2 region: us-west-2

[ansible-project] Switching git branches

2015-05-22 Thread Joe Whittles
Hey all – suppose I had the following task in a playbook: - name: Clone aire_core repo git: repo: g...@bitbucket.org:joe/my_repo.git dest: /home/me/my_repo depth: 1 version: {{ git_branch }} key_file: ~/.ssh/id_rsa update: true I set `git_branch` to master, clone and

Re: [ansible-project] Re: Template paths

2015-01-05 Thread Joe Adams
I'm very glad that someone else has run into the same issue. That makes me feel that my use isn't totally off the wall. This file looks to be the one you'll need but it's pretty empty at the moment. I don't think that v2 is mature enough at the moment to accept any changes because most of it

Re: [ansible-project] Template paths

2014-10-29 Thread Joe Adams
directory is the directory of the current play or role. On Mon, Oct 27, 2014 at 6:31 AM, Joe Adams adams...@gmail.com javascript: wrote: Is there somewhere that documents what paths are searched when inside a template or in include calls from within a template? I can't find much

Re: [ansible-project] Template paths

2014-10-29 Thread Joe Adams
the includes from inside the template engine. On Tue, Oct 28, 2014 at 8:09 AM, Joe Adams adams...@gmail.com javascript: wrote: I've tried that but I can't seem to get it to work. Here are the paths I've tried so far: common/templates/iptables.j2 ../common/templates/iptables.j2 ../../common

Re: [ansible-project] Template paths

2014-10-28 Thread Joe Adams
, 2014 4:25:33 PM UTC-4, Brian Coca wrote: It looks for the file in the base directory or in the templates/ subdirectory. The base directory is the directory of the current play or role. On Mon, Oct 27, 2014 at 6:31 AM, Joe Adams adams...@gmail.com javascript: wrote: Is there somewhere

Re: [ansible-project] Template paths

2014-10-28 Thread Joe Adams
message for all of them. On Tuesday, October 28, 2014 10:13:37 AM UTC-4, Brian Coca wrote: assuming all roles are in the same directory, you could do relative paths to other roles' template directory. On Tue, Oct 28, 2014 at 6:34 AM, Joe Adams adams...@gmail.com javascript: wrote: So

Re: [ansible-project] Template paths

2014-10-27 Thread Joe Adams
Is there somewhere that documents what paths are searched when inside a template or in include calls from within a template? I can't find much information about this at all. On Wednesday, October 22, 2014 9:22:05 AM UTC-4, Joe Adams wrote: I originally though it might be permissions

Re: [ansible-project] Template paths

2014-10-22 Thread Joe Adams
, John Favorite john.f...@gmail.com javascript: wrote: permissions issue? On Tue, Oct 21, 2014 at 5:35 PM, Joe Adams adams...@gmail.com javascript: wrote: I tried asking the IRC channel but I didn't get any responses so I figure that the mailing list might be better suited to this question

[ansible-project] Template paths

2014-10-21 Thread Joe Adams
I tried asking the IRC channel but I didn't get any responses so I figure that the mailing list might be better suited to this question. I'm trying to build an extensible iptables template. All of my hosts will need some amount of custom rules to be added so I feel that extending a template

Re: [ansible-project] Reading a JSON file, adding to it and then saving it

2014-10-07 Thread Joe Stewart
I don't believe logstash forwarder supports conf.d type configuration yet - https://github.com/elasticsearch/logstash-forwarder/issues/244 I'm curious how others have assembled a config file when a seerver is a member of multiple groups thanks, Joe -- You received this message because

Re: [ansible-project] Re: [Ansible to Windows] IndexError: tuple index out of range

2014-08-22 Thread Joe G
I found this issue started happening to me after this update of pywinrm: https://github.com/diyan/pywinrm/tree/7ab74a4b8fbeb2af707c5628703c485f8d14238d So, I started using an earlier version: pip install https://github.com/diyan/pywinrm/archive/df049454a9309280866e0156805ccda12d71c93a.zip Joe

[ansible-project] Cron File Management

2014-08-13 Thread Joe Adams
I'm building a cron server that will basically just serve as a central server to run cron jobs from. I'm having trouble planning/implementing the cron functionality in ansible. There will likely be many jobs under many categories, so I would rather not make a play for each job, especially as

[ansible-project] Add egress rules in ec2_group

2014-02-05 Thread Joe Y
I'm not sure why this option didn't exist to begin with but I certainly use it all the time. I have the necessary changes over at https://github.com/codezerk/ansible One thing to note here is that it will remove the default egress rule if not defined in the rules list, similar to the ingress

Re: [ansible-project] command: docker pull sometimes hangs indefinitely

2014-01-13 Thread Joe Kimmel
) thanks! On Saturday, January 11, 2014 12:34:02 PM UTC-6, Joe Kimmel wrote: thanks! - i will try that. however when i run the command manually it doesn't (seem to) need any input. however it does do weird things to my terminal (it kinda overwrites its own previous lines, filling the terminal

[ansible-project] Failed running ec2_vol module

2013-12-26 Thread Joe Y
I'm running the latest development version of ansible. I'm getting an error: TypeError: create_volume() takes at most 4 arguments (6 given) when running the ec2_vol module (see below the full error message) My action is defined as: - local_action: module: ec2_vol instance: {{item.id}}

[ansible-project] create_volume() takes at most 4 arguments (6 given) error while running ec2_vol

2013-12-26 Thread Joe Y
While running the latest development release I'm getting the error: invalid output was: Traceback (most recent call last): File /root/.ansible/tmp/ansible-1387976056.03-218115800862115/ec2_vol, line 1324, in module main() File