Commit 417d7c61 authored by Aalaesar's avatar Aalaesar
Browse files

fixed issue #28 with sudo test

added ansible 2.3 int travis tests
parent fe75dae3
......@@ -5,7 +5,8 @@ os: linux
dist: trusty
env:
- ansible_version="2.1.4.0"
- ansible_version="2.2.1.0"
- ansible_version="2.2.2.0"
- ansible_version="2.3.0.0"
sudo: required
......
......@@ -30,7 +30,7 @@
- name: "[ENV] - rolling back to su."
set_fact: ansible_become_method="su"
when: nc_sudo_installed_result is defined and nc_sudo_installed_result.rc != 0
when: (nc_sudo_installed_result.rc is defined) and (nc_sudo_installed_result.rc != 0)
# fix for ubuntu 14.04 with permission issue for unprivileged user :
- name: "[NC] - Adding ACL on trusty."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment