Use ansible-lint 2.7.0

ansible-lint 2.7.0 was recently released, update the role's test
requirements to use it.

The tox test has been changed to run ansible-lint against this role,
rather than the test playbook which would only apply to this role's
dependencies.

Also update the 'Drop fernet key auto rotate script' task to use mode
"0755", matching the comment above the task and to resolve a violation
of new rule, [ANSIBLE0009] Octal file permissions must contain leading
zero.

Change-Id: I09396f8938cf8f0b5d48bc5b7215ecea2c426e94
This commit is contained in:
Jimmy McCrory 2016-05-18 20:42:33 -07:00
parent 4f9caaa58d
commit 06d7fb54c5
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@
dest: "{{ keystone_fernet_auto_rotation_script }}"
owner: "{{ keystone_system_user_name }}"
group: "{{ keystone_system_group_name }}"
mode: "1755"
mode: "0755"
tags:
- keystone-fernet-auto-rotate

View File

@ -1,4 +1,4 @@
ansible-lint<=2.3.9
ansible-lint>=2.7.0,<3.0.0
ansible>=1.9.1,<2.0.0,!=1.9.6
bashate
flake8

View File

@ -101,7 +101,7 @@ commands =
[testenv:ansible-lint]
commands =
ansible-lint {toxinidir}/tests/test.yml
ansible-lint {toxinidir}
[testenv:functional]