Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A problem with Debian #18

Open
campa opened this issue Jan 25, 2016 · 2 comments
Open

A problem with Debian #18

campa opened this issue Jan 25, 2016 · 2 comments

Comments

@campa
Copy link

campa commented Jan 25, 2016

Hi,

Using it with Deabian 8.2 - from minimal distro - I found this issue:

TASK [williamyeh.oracle-java : install JDK via tarball file] *******************
fatal: [debian.ansible]: FAILED! => {"changed": false, "failed": true, "msg": "dest '/usr/java' must be an existing dir"}

I tried the dir before using, but I had the same error

- name: Creates directory /usr/java 
  file: path=/usr/java  state=directory
  when: ansible_os_family == "Debian"

I'm searching to understand howto to solve...

@William-Yeh
Copy link
Owner

Hi,

I've tried on both platforms, and found no problem like yours:

  • Vagrant: debian/jessie64
  • Google Compute Engine: Debian GNU/Linux 8.2 (jessie)

Could you provide more details (e.g., turn on the verbose mode with -vvv)?

@campa
Copy link
Author

campa commented Jan 29, 2016

Hi Wiliam,

I traied with a fresh Debian ( via netinstall) , but the problem persists. I attached the playbook and the stdout with all parts.
The problem is little different, but I my opinion is related. In my first attempt I forced before the creation of the directory...

java.yml.txt
stdout.txt

Bye

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants