diff --git a/console.yml b/console.yml index d1666aa..a618cac 100644 --- a/console.yml +++ b/console.yml @@ -56,13 +56,11 @@ ansible.builtin.import_tasks: file: tasks/pipr.yml - - name: Put Pocket remove scrtipt - ansible.builtin.template: - src: templates/console/home/hayato/Scripts/remove.sh.j2 - dest: /home/hayato/Scripts/remove.sh - owner: hayato - group: hayato - mode: '0755' + - name: Put Predeploy scripts + ansible.builtin.import_tasks: + file: tasks/console/put_scripts.yml + tags: + - put_script - name: Fix ffmpegthumbnailer bugs ansible.builtin.import_tasks: diff --git a/tasks/console/put_scripts.yml b/tasks/console/put_scripts.yml new file mode 100644 index 0000000..94b88d6 --- /dev/null +++ b/tasks/console/put_scripts.yml @@ -0,0 +1,14 @@ +--- +- name: Mkdir Scripts + ansible.builtin.file: + path: /opt/bin + state: directory + mode: '0755' + +- name: Put Pocket remove scrtipt + ansible.builtin.template: + src: templates/console/home/hayato/Scripts/remove.sh.j2 + dest: /home/hayato/Scripts/remove.sh + owner: hayato + group: hayato + mode: '0755'