--- # The role runs unchanged against a signed local repository of stand-in packages (see # prepare.yml), so the key fetch, the source line, the package install, the unit, the group # membership and the handler are the real tasks. Only the packages are stand-ins: no Docker # Engine is installed, and nothing here shows that dockerd works. - name: Converge the role against the stand-in repository hosts: all vars: docker_gpg_url: file:///srv/docker-stub-repo/docker.asc # The stand-in key is generated per run, so its hash is read here rather than pinned. docker_keyring_checksum: "{{ docker_stub_key.stat.checksum }}" docker_repo_base_url: file:///srv/docker-stub-repo docker_users: [moleculeuser] docker_start_missed: true docker_stop_at_shutdown: true docker_stop_at_shutdown_timeout: 20 docker_live_restore: true docker_log_driver: local docker_log_max_size: 10m docker_log_max_file: "3" docker_daemon_options: max-concurrent-downloads: 3 pre_tasks: - name: Stat the stand-in repository key ansible.builtin.stat: path: /srv/docker-stub-repo/docker.asc checksum_algorithm: sha256 register: docker_stub_key roles: - role: mortis.kamino.docker