Add base tag
This commit is contained in:
parent
becf1b569c
commit
f399d9c1ca
|
@ -6,6 +6,9 @@ usage() {
|
|||
printf '%s\n' "Usage:"
|
||||
printf '$ %s\n' "$0 [-h|--help]"
|
||||
printf '$ %s\n' "$0 [--dry] os"
|
||||
printf '$ %s\n' "$0 [--dry] base"
|
||||
printf '$ %s\n' "$0 [--dry] firewall"
|
||||
printf '$ %s\n' "$0 [--dry] ssh"
|
||||
printf '$ %s\n' "$0 [--dry] docker"
|
||||
printf '$ %s\n' "$0 [--dry] docker_config"
|
||||
printf '$ %s\n' "$0 [--dry] users [-i|--init]"
|
||||
|
@ -37,7 +40,7 @@ fi
|
|||
case $TAG in
|
||||
"")
|
||||
install_modules; $BASE_CMD ;;
|
||||
os|docker|docker_config|firewall|ssh)
|
||||
os|base|firewall|ssh|docker|docker_config)
|
||||
install_modules; $BASE_CMD --tags "$TAG" ;;
|
||||
users)
|
||||
install_modules
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
|
||||
- name: Configure system base
|
||||
ansible.builtin.import_tasks: base.yml
|
||||
tags:
|
||||
- base
|
||||
|
||||
- name: Reboot if needed
|
||||
ansible.builtin.import_tasks: reboot.yml
|
||||
|
|
Reference in a new issue