address a stack of linting warnings/errors and deprecations

This commit is contained in:
Lee Goolsbee
2022-09-07 17:55:29 -05:00
parent 694f1c2874
commit ac3f6f1f93
22 changed files with 42 additions and 46 deletions

View File

@@ -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"

View File

@@ -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