fix OS is undefined error

This commit is contained in:
Demian 2019-02-22 12:00:34 +01:00 committed by GitHub
parent 5cb1fdd339
commit b1187ef983
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,8 @@
- name: Check the system - name: Check the system
raw: uname -a raw: uname -a
register: OS register: OS
tags:
- update-users
- include_tasks: ubuntu.yml - include_tasks: ubuntu.yml
when: '"Ubuntu" in OS.stdout or "Linux" in OS.stdout' when: '"Ubuntu" in OS.stdout or "Linux" in OS.stdout'