Fixes to pass in the gate

- update role_path
- new ansible_lint skips

Change-Id: I15eef07cce61f78a19797be3db0dd3521c2b503f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-08-30 17:38:19 -04:00
parent 8c10bb6035
commit fe3081b09d
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 6 additions and 1 deletions

View File

@ -1,2 +1,2 @@
[defaults]
roles_path = ..
roles_path = ../..

View File

@ -29,13 +29,16 @@
post_tasks:
- name: Ensure nodepool_user_name is nodepool.
shell: /usr/bin/getent passwd nodepool
tags: skip_ansible_lint
- name: Ensure nodepool_user_group is nodepool.
shell: /usr/bin/getent group nodepool
tags: skip_ansible_lint
- name: Register nodepool_user_home_getent.
shell: '/usr/bin/getent passwd nodepool | cut -d: -f6'
register: nodepool_user_home_getent
tags: skip_ansible_lint
- name: Assert nodepool_user_home is /var/lib/nodepool.
assert:
@ -62,6 +65,7 @@
shell: "ls -1 /etc/nodepool/elements | wc -l"
register: result
failed_when: result.stdout != "0"
tags: skip_ansible_lint
- name: Register nodepool_scripts_dir_dest_stat.
stat:
@ -83,6 +87,7 @@
shell: "ls -1 /etc/nodepool/scripts | wc -l"
register: result
failed_when: result.stdout != "0"
tags: skip_ansible_lint
- name: Register nodepool_user_home_stat.
stat: