On Thu, Aug 20, 2015 at 6:16 AM, Toshio Kuratomi <[email protected]> wrote:
>
> On Aug 13, 2015 2:40 PM, "Andy Brittingham" <[email protected]> wrote:
>>
>> I have these versions installed on my servers.
>>
>> tar-1.26-29.el7.x86_64
>> gzip-1.5-7.el7.x86_64
>> bzip2-1.0.6-12.el7.x86_64
>> unzip-6.0-15.el7.x86_64
>>
>> This is a new problem since I upgraded to ansible 1.9.2 on 14.04. I can
>> run the same playbook on ansible on my mac or fedora 21 with no problems.
>
> Sorry, I've been at a conference and a few days of vacation. I'll look into
> this today. What's your source os and destination os?
>
I was unable to reproduce. I've tried the following on an ubuntu14 VM:
sudo apt-get remove ansible
pip install --user ansible
export PATH=$PATH:~/.local/bin/
ansible-playbook -i 'rhel7,' unarchive.yml -K
SUDO password:
PLAY [rhel7] ******************************************************************
GATHERING FACTS ***************************************************************
ok: [rhel7]
TASK: [upload owasp ruleset and unpack] ***************************************
changed: [rhel7]
PLAY RECAP ********************************************************************
rhel7 : ok=2 changed=1 unreachable=0 failed=0
My playbook is modeled after yours:
$ cat unarchive.yml
---
- hosts: rhel7
sudo: yes
tasks:
- name: upload owasp ruleset and unpack
unarchive: src=/home/badger/test.tar.gz dest=/var/tmp/test
copy=yes creates=owasp-modsecurity-crs
owner=root group=root # mode=600
Possibilities:
* I'm just guessing as to your controller and destination machine...
it's possible that I have something wrong there.
* Since you mention upgrading ansible on the ubuntu14.04 box perhaps
the upgrade left some old files around? If you could try in a new
ubuntu14.04 VM or try removing ansible as completely as you can and
then reinstalling that would help?
-Toshio
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CAG9juErPDRMMfVcics9T2Ft9pJ26TvaoR1uyX_E0d4DrRDRoGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.