Skip to content

Workaround for error Invalid repository ppa:webupd8team/java  #8

Description

@nodermatt

Note that I had to add the repository differently because "apt_repository: repo='ppa:webupd8team/java' state=present" threw an error saying that it was an invalid repository. I got the id from the webupd8team/java website

- name: Add an apt key by id from a keyserver
  become: yes
  apt_key:
    keyserver: keyserver.ubuntu.com
    id: 7B2C3B0889BF5709A105D03AC2518248EEA14886
    state: present
    
- name: Add Oracle Java Repository
  become: yes
  apt_repository: repo='deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main' state=present

The license acceptance and java installation part was working fine

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions