Fix syntax issues with modules
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
- name: Get path of default firefox profile
|
- name: Get path of default firefox profile
|
||||||
ansible.builtin.find:
|
ansible.builtin.find:
|
||||||
paths: "/home/{{ username }}/.mozilla/firefox"
|
paths: "~/.mozilla/firefox"
|
||||||
file_type: directory
|
file_type: directory
|
||||||
patterns: "*default-release"
|
patterns: "*default-release"
|
||||||
register: profile_dir
|
register: profile_dir
|
||||||
|
@@ -1,13 +1,15 @@
|
|||||||
- name: Clone source code from gitea
|
- name: Clone source code from gitea
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
repo: "https://git.mjwilson.org/mike/{{ role_name }}"
|
repo: "https://git.mjwilson.org/mike/{{ role_name }}"
|
||||||
dest: "{{ src_dir }}/dwm"
|
dest: "{{ src_dir }}/{{ role_name }}"
|
||||||
|
|
||||||
- name: Run build
|
- name: Run build
|
||||||
community.general.make:
|
community.general.make:
|
||||||
chdir: "{{ src_dir }}/{{ role_name }}"
|
chdir: "{{ src_dir }}/{{ role_name }}"
|
||||||
|
target: install
|
||||||
params:
|
params:
|
||||||
clean:
|
clean:
|
||||||
|
become: true
|
||||||
|
|
||||||
- name: Install scripts
|
- name: Install scripts
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
@@ -18,5 +20,5 @@
|
|||||||
- name: Install supplementary files
|
- name: Install supplementary files
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: emoji
|
src: emoji
|
||||||
dest: "~/.local/share/chars/emoji"
|
dest: "~/.local/share/chars/"
|
||||||
mode: 0664
|
mode: 0664
|
||||||
|
@@ -7,9 +7,9 @@
|
|||||||
- name: Install mpv.conf
|
- name: Install mpv.conf
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: mpv.conf
|
src: mpv.conf
|
||||||
dest: "/home/{{ username }}/.config/mpv/mpv.conf"
|
dest: "~/.config/mpv/"
|
||||||
|
|
||||||
- name: Install scripts
|
- name: Install scripts
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: scripts
|
src: scripts
|
||||||
dest: "/home/{{ username }}/.config/mpv/"
|
dest: "~/.config/mpv/"
|
||||||
|
Reference in New Issue
Block a user