Re: [ansible-project] Need help for install java

2020-07-22 Thread Rajeeb sahoo
Hi I have a licensed version of rpm. I had converted .rpm to .deb through alien I tried with manually but it's not happing. are you telling me that I should install xz-utils? I want a specific version like java 8 .deb package. On Wed, Jul 22, 2020 at 4:39 AM Jean-Yves LENHOF wrote: > Hi, >

Re: [ansible-project] Need help for install java

2020-07-21 Thread Jean-Yves LENHOF
Hi, Where did the package come from ? (sound like alien package of an rpm ?) Some ideas : - If the package came from Oracle, very often, an interaction is needed to accept EULA...  (I had that kind of problem on CentOS a while ago) - Have you tried a manual install ? - Also I saw that |xz-u

Re: [ansible-project] Need help for install java

2020-07-21 Thread Rajeeb sahoo
- name: Install java DEB package hosts: ubuntu_test become: yes tasks: - name: Copy jdk.deb file copy: src: /home/centos/jdk1.8_1.8.0231-1_amd64.deb dest: /tmp - name: Installing jdk.deb package apt: deb: /tmp/jdk1.8_1.8.0231-1_amd64.deb s

Re: [ansible-project] Need help for install java

2020-07-21 Thread Dick Visser
Best to get started first: https://docs.ansible.com/ansible/latest/user_guide/intro_getting_started.html Then try this for your first playbook: https://docs.ansible.com/ansible/latest/modules/apt_module.html On Tue, 21 Jul 2020 at 22:05, rajeeb...@scienaptic.com wrote: > > Hello, > I am new in An

[ansible-project] Need help for install java

2020-07-21 Thread rajeeb...@scienaptic.com
Hello, I am new in Ansible. I need to install ORACLE JAVA 8 and that package is in .deb. (jdk1.8_1.8.0231-1_amd64.deb, jre1.8_1.8.0211-1_amd64.deb) can anyone help me out to write ansible code for install java with the above condition? Thanks Rajeeb -- You received this message because you