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:
parent
8c10bb6035
commit
fe3081b09d
@ -1,2 +1,2 @@
|
||||
[defaults]
|
||||
roles_path = ..
|
||||
roles_path = ../..
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user