You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 10 година
пре 10 година
пре 10 година
1234567891011121314151617
  1. #!/bin/sh
  2. set -e
  3. if ! command -v ansible-playbook >/dev/null
  4. then
  5. echo 'Command not found: ansible-playbook'
  6. echo 'Install ansible first.'
  7. exit 1
  8. fi
  9. if test $# -eq 0
  10. then
  11. echo "usage: $0 <playbook> [...]"
  12. exit 1
  13. fi
  14. ansible-playbook -i local.hosts --ask-sudo-pass "$@"