9 lines
160 B
Bash
Executable File
9 lines
160 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if ! command -v ansible &> /dev/null; then
|
|
sudo apt update
|
|
sudo apt install ansible
|
|
fi
|
|
|
|
ansible-playbook -i hosts.ini --ask-become-pass $@
|