|
|
há 4 anos atrás | |
|---|---|---|
| .. | ||
| group_vars | há 4 anos atrás | |
| roles | há 4 anos atrás | |
| staging | há 4 anos atrás | |
| .gitignore | há 4 anos atrás | |
| README.md | há 4 anos atrás | |
| mint.yml | há 4 anos atrás | |
| ping.yml | há 4 anos atrás | |
# create cluster
mkdir -p clients/CLUSTER/.ssh
cd clients/CLUSTER
# append your cluster hosts
touch hosts
# generate ssh key
ssh-keygen -t ed25519 -f .ssh/id_ed25519
# upload the ssh public key to target host
ssh-copy-id -i .ssh/id_ed25519 USER@HOST
# test ssh connections
peony -i staging ping.yml
# run on all hosts
peony -i staging pi.yml
# run on only group
peony -i staging pi.yml -l GROUP