Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make direcroty before put scripts for console #358

Merged
merged 1 commit into from
Nov 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions console.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
14 changes: 14 additions & 0 deletions tasks/console/put_scripts.yml
Original file line number Diff line number Diff line change
@@ -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'