mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 08:23:06 -06:00
address a stack of linting warnings/errors and deprecations
This commit is contained in:
@@ -24,7 +24,7 @@ atl_stop_exec_path: "{{ atl_product_installation_current }}/{{ atl_stop_script_m
|
||||
atl_systemd_service_dir_map:
|
||||
amazon: "/usr/lib/systemd/system"
|
||||
ubuntu: "/lib/systemd/system"
|
||||
atl_systemd_service_dir: "{{ atl_systemd_service_dir_map[ansible_distribution|lower] }}"
|
||||
atl_systemd_service_dir: "{{ atl_systemd_service_dir_map[ansible_distribution | lower] }}"
|
||||
|
||||
atl_systemd_service_name: "{{ atl_product_edition }}.service"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
name: "{{ atl_systemd_service_name }}"
|
||||
state: restarted
|
||||
when:
|
||||
- atl_startup_restart
|
||||
- atl_startup_restart | bool
|
||||
- molecule_yml is not defined
|
||||
no_log: true
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
name: "{{ atl_systemd_service_name }}"
|
||||
enabled: true
|
||||
when:
|
||||
- atl_startup_enable
|
||||
- atl_startup_enable | bool
|
||||
- molecule_yml is not defined
|
||||
no_log: true
|
||||
|
||||
Reference in New Issue
Block a user