Ran ansible-lint
This commit is contained in:
parent
92f761f4bb
commit
43d470edf3
33 changed files with 343 additions and 317 deletions
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
- name: Provision powertop systemd service
|
||||
become: true
|
||||
ansible.builtin.file:
|
||||
|
|
@ -8,21 +9,21 @@
|
|||
block:
|
||||
- name: Create configuration directory
|
||||
ansible.builtin.file:
|
||||
path: '{{ xdg_config_dir }}/pa-dlna'
|
||||
path: "{{ xdg_config_dir }}/pa-dlna"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
mode: "0755"
|
||||
|
||||
- name: Copy configuration file
|
||||
ansible.builtin.template:
|
||||
src: templates/xps/pa-dlna/config.j2
|
||||
dest: '{{ xdg_config_dir }}/pa-dlna/pa-dlna.conf'
|
||||
mode: '0755'
|
||||
dest: "{{ xdg_config_dir }}/pa-dlna/pa-dlna.conf"
|
||||
mode: "0755"
|
||||
|
||||
- name: Copy systemd service
|
||||
ansible.builtin.template:
|
||||
src: templates/xps/pa-dlna/service.j2
|
||||
dest: '{{ xdg_config_dir }}/systemd/user/pa-dlna.service'
|
||||
mode: '0755'
|
||||
dest: "{{ xdg_config_dir }}/systemd/user/pa-dlna.service"
|
||||
mode: "0755"
|
||||
|
||||
- name: Create virtualenv directory
|
||||
become: true
|
||||
|
|
@ -31,16 +32,16 @@
|
|||
state: directory
|
||||
owner: sonny
|
||||
group: sonny
|
||||
mode: '0755'
|
||||
mode: "0755"
|
||||
|
||||
- name: Install pa-dlna
|
||||
ansible.builtin.pip:
|
||||
name: 'pa-dlna=={{ pa_dlna_version }}'
|
||||
name: "pa-dlna=={{ pa_dlna_version }}"
|
||||
virtualenv: /opt/virtualenv/pa-dlna
|
||||
virtualenv_command: python3.13 -m venv
|
||||
|
||||
- name: Install python-systemd
|
||||
ansible.builtin.pip:
|
||||
name: 'python-systemd=={{ pa_dlna_systemd_version }}'
|
||||
name: "python-systemd=={{ pa_dlna_systemd_version }}"
|
||||
virtualenv: /opt/virtualenv/pa-dlna
|
||||
virtualenv_command: python3.13 -m venv
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue