22 lines
474 B
Bash
22 lines
474 B
Bash
#!/usr/bin/env bash
|
|
|
|
readonly CONFIG_ROOT="/srv/ansible"
|
|
|
|
function config_help() {
|
|
echo "Printing config help"
|
|
}
|
|
|
|
# Pulls all ansible playbooks from the remote git repo
|
|
function config_pull() {
|
|
echo "Pulling latest changes of repo"
|
|
}
|
|
|
|
# Executes an ansible-playbook on top.ansible.yml
|
|
function config_full() {
|
|
echo "Executing full playbook run"
|
|
}
|
|
|
|
# Execute on a single playbook ansible-playbook
|
|
function config_single() {
|
|
echo "Executing single playbook"
|
|
}
|