Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Vanilla install fails #10

Closed
pards opened this issue Jun 8, 2015 · 2 comments
Closed

Vanilla install fails #10

pards opened this issue Jun 8, 2015 · 2 comments

Comments

@pards
Copy link

pards commented Jun 8, 2015

Running from Vagrant with "ubuntu/trusty64", I get the following error.

TASK: [groover.tomcat | Assert platform is supported] ************************* 
<192.168.150.47> ESTABLISH CONNECTION FOR USER: vagrant
ok: [target] => {"msg": "all assertions passed"}

TASK: [groover.tomcat | Load version vars] ************************************ 
<192.168.150.47> ESTABLISH CONNECTION FOR USER: vagrant
ok: [target] => (item=/etc/ansible/roles/groover.tomcat/vars/versions/7.0.57.yml) => {"ansible_facts": {"tomcat_redis_sha256sum": "1ce390049ed23143e3db0c94781c1e88a4d1b39ceb471c0af088a0c326d637cb"}, "item": "/etc/ansible/roles/groover.tomcat/vars/versions/7.0.57.yml"}

TASK: [groover.tomcat | Assert version vars] ********************************** 
<192.168.150.47> ESTABLISH CONNECTION FOR USER: vagrant
ok: [target] => {"msg": "all assertions passed"}

TASK: [groover.tomcat | Install local ansible data path directory (local)] **** 
<127.0.0.1> REMOTE_MODULE file state=directory owner=0 group=0 mode=2777 dest=/usr/local/src/ansible/data
<127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1433794205.76-27770763108460 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1433794205.76-27770763108460 && echo $HOME/.ansible/tmp/ansible-tmp-1433794205.76-27770763108460']
<127.0.0.1> PUT /tmp/tmp9INWKg TO /home/administrator/.ansible/tmp/ansible-tmp-1433794205.76-27770763108460/file
<127.0.0.1> EXEC /bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=dywrfvmvlomvkbqjswhewxzpswpjtaqe] password: " -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-dywrfvmvlomvkbqjswhewxzpswpjtaqe; LANG=C LC_CTYPE=C /usr/bin/python /home/administrator/.ansible/tmp/ansible-tmp-1433794205.76-27770763108460/file; rm -rf /home/administrator/.ansible/tmp/ansible-tmp-1433794205.76-27770763108460/ >/dev/null 2>&1'"'"''
failed: [target -> 127.0.0.1] => {"failed": true, "parsed": false}
[sudo via ansible, key=dywrfvmvlomvkbqjswhewxzpswpjtaqe] password: 


FATAL: all hosts have already failed -- aborting

My playbook

  - { role: groover.tomcat }
@ghost
Copy link

ghost commented Jun 9, 2015

Hi,

this is fixed with upcoming release. I'm currently waiting for approval of a final pull request. If this one has passed, a lot of roles developed at Silpion are getting released which will address all those local download issues reported in a number of roles.

@ghost
Copy link

ghost commented Jun 11, 2015

Fixed with current release when updating tomcat role and include util role. Note downloading assets is now managed in util role and defaults to ~/.ansible/assets without requiring superuser privileges.

@ghost ghost closed this as completed Jun 11, 2015
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant