tripleo-upgrade/tasks/common/create_l3_agent_connectivity_check_script.yml
Sorin Sbarnea 8ac74a8177 Migrate linting to pre-commit
Follows the same linting configuration that was implemented first in
tripleo-quickstart-extras which makes used of pre-commit tool for
managing all linters.

This also avoids problems where a new linter release may break our
gates because pre-commit always pins versions.

Removes ansible from requirements.txt as it needs to be listed only
in ansible-requirements.txt

Change-Id: Ia229d3d58763d743bd19ad9099d7907561f3c77f
Depends-On: https://review.openstack.org/#/c/626000/
2018-12-19 19:25:13 +01:00

15 lines
498 B
YAML

---
- block:
- name: create start l3 agent connectivity check scripts
template:
src: "{{ l3_agent_connectivity_check_start_template }}"
dest: "{{ l3_agent_connectivity_check_start_script }}"
mode: 0775
- name: create stop l3 agent connectivity check scripts
template:
src: "{{ l3_agent_connectivity_check_stop_template }}"
dest: "{{ l3_agent_connectivity_check_stop_script }}"
mode: 0775
when: l3_agent_connectivity_check|bool