Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4ae411584e | ||
|
|
2dccea21ae |
No files matched your search
@@ -8,7 +8,7 @@
|
|||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
- name: General | Scripts | Install | Copy Files
|
- name: General | Scripts | Install | Copy Files
|
||||||
copy:
|
ansible.builtin.copy:
|
||||||
src: 'scripts/'
|
src: 'scripts/'
|
||||||
dest: "{{ global_bin }}/"
|
dest: "{{ global_bin }}/"
|
||||||
owner: root
|
owner: root
|
||||||
@@ -20,6 +20,8 @@
|
|||||||
if [[ -e {{ global_bin }}/{{ item }} ]]; then
|
if [[ -e {{ global_bin }}/{{ item }} ]]; then
|
||||||
rm -v {{ global_bin }}/{{ item }}
|
rm -v {{ global_bin }}/{{ item }}
|
||||||
fi
|
fi
|
||||||
|
register: shell_check
|
||||||
|
changed_when: shell_check.rc == 0
|
||||||
loop:
|
loop:
|
||||||
- compress-video.sh
|
- compress-video.sh
|
||||||
- compress-images.sh
|
- compress-images.sh
|
||||||
|
|||||||
@@ -12,13 +12,8 @@
|
|||||||
marker_end: "exit 0"
|
marker_end: "exit 0"
|
||||||
state: present
|
state: present
|
||||||
create: true
|
create: true
|
||||||
|
|
||||||
- name: General | Scripts | Root | scm.sh Permissions
|
|
||||||
ansible.builtin.file:
|
|
||||||
path: "{{ user_root.home }}/bin/scm.sh"
|
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
|
|
||||||
- name: General | Scripts | Root | scm-dev.sh
|
- name: General | Scripts | Root | scm-dev.sh
|
||||||
ansible.builtin.blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: "{{ user_root.home }}/bin/scm-dev.sh"
|
path: "{{ user_root.home }}/bin/scm-dev.sh"
|
||||||
@@ -42,8 +37,4 @@
|
|||||||
marker_end: "exit 0"
|
marker_end: "exit 0"
|
||||||
state: present
|
state: present
|
||||||
create: true
|
create: true
|
||||||
|
|
||||||
- name: General | Scripts | Root | scm-dev.sh Permissions
|
|
||||||
ansible.builtin.file:
|
|
||||||
path: "{{ user_root.home }}/bin/scm-dev.sh"
|
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
Reference in new issue
Block a user