You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that this role fails by complaining that the ansible_distribution is undefined, which obviously makes no sense.
TASK [ansiblebit.launchpad-ppa-webupd8 : if debian, include family specific task file] ***
[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and make sure become_method is 'sudo' (default). This feature will be removed in a future release. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
included: /Users/sorins/bmll/devops/roles.galaxy/ansiblebit.launchpad-ppa-webupd8/tasks/os_distribution/debian.yml for tower
TASK [ansiblebit.launchpad-ppa-webupd8 : debian is supported] ******************
fatal: [tower]: FAILED! => {"failed": true, "msg": "The conditional check '(ansible_distribution | lower == 'debian') or (ansible_distribution | lower == 'ubuntu')' failed. The error was: error while evaluating conditional ((ansible_distribution | lower == 'debian') or (ansible_distribution | lower == 'ubuntu')): 'ansible_distribution' is undefined"}
to retry, use: --limit @cfg-tower.retry
This is not the first time when I encounter this, ansible 2.0.1.0
I am already using similar conditions other places and they work so it must be something else that is messing ansible.
The text was updated successfully, but these errors were encountered:
It seems that this role fails by complaining that the ansible_distribution is undefined, which obviously makes no sense.
This is not the first time when I encounter this,
ansible 2.0.1.0
I am already using similar conditions other places and they work so it must be something else that is messing ansible.
The text was updated successfully, but these errors were encountered: