Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Enable Dryrun #9

Open
rhmk opened this issue Sep 19, 2018 · 0 comments
Open

Enable Dryrun #9

rhmk opened this issue Sep 19, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@rhmk
Copy link
Member

rhmk commented Sep 19, 2018

dryrun is not working, because some shell scripts read variables which are unset.
To workaroung this you can assume values when starting in testmode
Use something like:

  • name: set variable to blabla while in testmode
    set_fact: ...
    when: ansible_check_mode

see https://docs.ansible.com/ansible/2.5/user_guide/playbooks_checkmode.html

@rhmk rhmk added the enhancement New feature or request label Sep 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant