9 lines
214 B
Bash
Executable File
9 lines
214 B
Bash
Executable File
#!/bin/sh
|
|
|
|
export ANSIBLE_PWD=${HOME}
|
|
export ANSIBLE_HOSTS=${HOME}/hosts
|
|
export ANSIBLE_CONFIG=${HOME}/ansible.cfg
|
|
export ANSIBLE_FILES=${HOME}/files
|
|
|
|
/usr/bin/ansible-playbook -s ${HOME}/playbooks/backup-director
|