mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Use FQCNs. (#1180)
This commit is contained in:
@@ -4,12 +4,12 @@
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
- name: Import GPG key
|
||||
rpm_key:
|
||||
ansible.builtin.rpm_key:
|
||||
key: https://download.docker.com/linux/fedora/gpg
|
||||
state: present
|
||||
|
||||
- name: Add repository
|
||||
yum_repository:
|
||||
ansible.builtin.yum_repository:
|
||||
file: docker-ce
|
||||
name: docker-ce-stable
|
||||
description: Docker CE Stable - $basearch
|
||||
@@ -18,10 +18,10 @@
|
||||
gpgcheck: true
|
||||
|
||||
- name: Update cache
|
||||
command: dnf makecache
|
||||
ansible.builtin.command: dnf makecache
|
||||
|
||||
- name: Install docker
|
||||
dnf:
|
||||
ansible.builtin.dnf:
|
||||
name: "{{ docker_packages if needs_docker_daemon else docker_cli_packages }}"
|
||||
state: present
|
||||
enablerepo: docker-ce-test
|
||||
|
||||
Reference in New Issue
Block a user