Commit 79f9dd5b authored by Simon Cornet's avatar Simon Cornet
Browse files

feat: add ubuntu support

parent 81480ca5
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ This role configures [Docker](<https://docker.io/>), for reasons.
| Operating System | Version |
| --- | ----- |
| Debian | 13 |
| Debian | 13 |
| Ubuntu | 24 |

## Tags

+5 −4
Original line number Diff line number Diff line
@@ -54,16 +54,17 @@
    # add docker gpg key
    - name: "docker gpg key"
      ansible.builtin.get_url:
        url: "https://download.docker.com/linux/debian/gpg"
        url: "https://download.docker.com/linux/{{ ansible_distribution | lower }}/gpg"
        dest: "/etc/apt/keyrings/docker.asc"
        mode: "0644"

    # add docker repository
    - name: "docker repository"
      ansible.builtin.apt_repository:
        repo:
          "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] \
           https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable"
        repo: "deb [arch={{ ansible_architecture | replace('x86_64', 'amd64') }}\
          signed-by=/etc/apt/keyrings/docker.asc]\
          https://download.docker.com/linux/{{ ansible_distribution | lower }}\
          {{ ansible_distribution_release }} stable"
        state: "present"
        filename: "docker"