mirror of
https://github.com/ceph/ceph
synced 2025-02-18 08:28:02 +00:00
- exec "all:" means all *roles*, not *hosts* - pexec "all:" means all hosts (yay), and also works in parallel Signed-off-by: Sage Weil <sage@newdream.net>
13 lines
768 B
YAML
13 lines
768 B
YAML
os_type: ubuntu
|
|
os_version: "20.04"
|
|
|
|
# feel free to remove this test, if Kubic project is no longer maintained.
|
|
tasks:
|
|
- pexec:
|
|
all:
|
|
- curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/testing/xUbuntu_20.04/Release.key | sudo apt-key add -
|
|
- echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/testing/xUbuntu_20.04/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:testing.list
|
|
- sudo apt update
|
|
- sudo apt -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install podman
|
|
- echo -e "[[registry]]\nlocation = 'docker.io'\n\n[[registry.mirror]]\nlocation='docker-mirror.front.sepia.ceph.com:5000'\n" | sudo tee /etc/containers/registries.conf
|