7 lines
212 B
Bash
Executable file
7 lines
212 B
Bash
Executable file
#!/usr/bin/env bash
|
|
if [ $# -gt 0 ]; then
|
|
ansible-playbook site.yml -i srv02.inventory --sudo --ask-sudo-pass --tags $1
|
|
else
|
|
ansible-playbook site.yml -i srv02.inventory --sudo --ask-sudo-pass
|
|
fi
|