We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am attempting to install java8 on some AWS instances running ubuntu14.04.
Ansible 2.0.1
The install fails when trying to alter the sources.list Other recipes run fine on this host.
My playbook main looks like this:
- hosts: master sudo: yes roles: - ansible-java8-oracle
TASK [ansible-java8-oracle : Add Oracle Java Repository] *********************** fatal: [ip-192-168-16-111.vpc.my.domain]: FAILED! => {"changed": false, "failed": true, "module_stderr": "", "module_stdout": "{\"msg\": \"Could not replace file: /etc/apt/.sources.list-x0ooTA to /etc/apt/sources.list: [Errno 1] Operation not permitted\", \"failed\": true, \"invocation\": {\"module_args\": {\"install_python_apt\": true, \"repo\": \"ppa:webupd8team/java\", \"state\": \"present\", \"update_cache\": true, \"mode\": 420, \"validate_certs\": true}}}\r\nException OSError: (2, 'No such file or directory', '/etc/apt/.ansible_tmp5wIypOsources.list') in <bound method _TemporaryFileWrapper.__del__ of <closed file '<fdopen>', mode 'w+b' at 0x7f963b8e4d20>> ignored\r\n", "msg": "MODULE FAILURE", "parsed": false}
The text was updated successfully, but these errors were encountered:
patch #7 should correct this
Sorry, something went wrong.
No branches or pull requests
I am attempting to install java8 on some AWS instances running ubuntu14.04.
Ansible 2.0.1
The install fails when trying to alter the sources.list
Other recipes run fine on this host.
My playbook main looks like this:
The text was updated successfully, but these errors were encountered: