Quantcast
Channel: ansible Archives - ShellHacks
Viewing all articles
Browse latest Browse all 10

Ansible: Skip Parameter If Variable Not Defined

$
0
0

In Ansible, if you run a task that has some module’s parameter with a variable that is not set you will get “The task includes an option with an undefined variable” error. If for some reason you can’t or don’t want to define this variable, you can make it optional. In this case Ansible will […]

The post Ansible: Skip Parameter If Variable Not Defined appeared first on ShellHacks.


Viewing all articles
Browse latest Browse all 10

Trending Articles