diff --git a/README.md b/README.md index c949453..5c5d164 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,12 @@ ansible-galaxy collection install community.general ansible-playbook -K site.yml ``` +Med log til fil: + +```bash +ansible-playbook -K site.yml -v 2>&1 | tee ansible.log +``` + `-K` prompter for sudo-password. Playbooken kører kun på `localhost`. ## Dotfiles