-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactors with: - fully qualified module names - properly formed blocks - named blocks - corrected indenttion - moved the when directive to top of blocks - idempotent commands - prefixed task_names var with role name - added some changed when's to silence linter where needed - suse hard coded values moved to var/main.yml Signed-off-by: Ryan Johnson <[email protected]>
- Loading branch information
1 parent
66c1ea9
commit f0ae73c
Showing
31 changed files
with
334 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
kinds: | ||
- playbook | ||
skip_list: | ||
- line-length |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
--- | ||
- name: "{{ task_name }}" | ||
include_tasks: "{{ ansible_os_family | lower }}.yml" | ||
- name: "{{ base_task_name }}" | ||
ansible.builtin.include_tasks: "{{ ansible_os_family | lower }}.yml" | ||
when: ansible_os_family in ['Debian', 'RedHat', 'Suse'] | ||
|
||
- name: "{{ task_name }}" | ||
include_tasks: "{{ ansible_lsb.codename | lower }}.yml" | ||
- name: "{{ base_task_name }}" | ||
ansible.builtin.include_tasks: "{{ ansible_lsb.codename | lower }}.yml" | ||
when: ansible_distribution == 'VMware Photon OS' | ||
|
||
- name: "{{ task_name }}" | ||
include_tasks: windows.yml | ||
- name: "{{ base_task_name }}" | ||
ansible.builtin.include_tasks: windows.yml | ||
when: ansible_os_family == "Windows" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.