fixing up formatting and style
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
ansible.builtin.file:
|
||||
path: "{{ store_path }}"
|
||||
mode: '0755'
|
||||
owner: "{{ ansible_facts['user_id'] }}"
|
||||
group: "{{ ansible_facts['user_gid'] }}"
|
||||
owner: "{{ user_id }}"
|
||||
group: "{{ user_gid }}"
|
||||
state: directory
|
||||
|
||||
- name: Ensure required paths exists
|
||||
@@ -43,19 +43,19 @@
|
||||
|
||||
- name: Add needed packages for Fedora
|
||||
when:
|
||||
- ansible_facts["distribution"] == 'Fedora'
|
||||
- distribution == 'Fedora'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ packages_extra + ['python3-paramiko'] }}"
|
||||
|
||||
- name: Add needed MacOS packages
|
||||
when:
|
||||
- ansible_facts["distribution"] == 'MacOSX'
|
||||
- distribution == 'MacOSX'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ packages_extra + ['gnu-tar', 'virtualenv'] }}"
|
||||
|
||||
- name: Add needed Alpine packages
|
||||
when:
|
||||
- ansible_os_family == 'Alpine'
|
||||
- os_family == 'Alpine'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ packages_extra + ['tar', 'unzip'] }}"
|
||||
|
||||
@@ -162,13 +162,13 @@
|
||||
|
||||
- name: Linux specific tasks
|
||||
when:
|
||||
- ansible_facts["system"] == 'Linux'
|
||||
- system == 'Linux'
|
||||
ansible.builtin.include_tasks:
|
||||
file: linux.yml
|
||||
|
||||
- name: MacOS specific tasks
|
||||
when:
|
||||
- ansible_facts["distribution"] == 'MacOSX'
|
||||
- distribution == 'MacOSX'
|
||||
ansible.builtin.include_tasks:
|
||||
file: macos.yml
|
||||
|
||||
|
||||
Reference in New Issue
Block a user