Files
ytshih bf6ac11888
All checks were successful
Ansible Playbook lint / ansible-lint (push) Successful in 35s
Initial commit
2024-12-19 10:25:37 +08:00

11 lines
220 B
Bash

#!/usr/bin/env -S bash
cat > contest.yaml <<EOF
name: "con_test"
description: "Contest to test CMS"
users:
EOF
awk '{printf "- username: \"%s\"\n password: \"%s\"\n", $1, $2}' passwd >> contest.yaml
less contest.yaml