- 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>
- scontext=system_u:system_r:logrotate_t:s0
tasks:
-- exec:
+- pexec:
all:
- sudo dnf -y module disable container-tools
- sudo dnf -y install 'dnf-command(copr)'
- scontext=system_u:system_r:logrotate_t:s0
tasks:
-- exec:
+- pexec:
all:
- sudo dnf -y module disable container-tools
- sudo dnf -y install 'dnf-command(copr)'
# feel free to remove this test, if Kubic project is no longer maintained.
tasks:
-- exec:
+- pexec:
all:
- curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04/Release.key | sudo apt-key add -
- echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
# feel free to remove this test, if Kubic project is no longer maintained.
tasks:
-- exec:
+- pexec:
all:
- curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/Release.key | sudo apt-key add -
- echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
# feel free to remove this test, if Kubic project is no longer maintained.
tasks:
-- exec:
+- 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