Remove Share Drives (#28)
* Add another requirement for Debian to download key. * Add setup script instead of using scm.hyperling.com. * Fix setup permissions. * Starting effort to remove share drives from script. Downsizing homelab. * Remove files which are no longer useful without mounts. * Allow initializing on alternate branches. * Fix Lynis and NMap log locations. * Remove deleted files from main. * Fix nmap filename. * Remove _name from report variables.
This commit is contained in:
@ -20,24 +20,6 @@
|
||||
mode: '0755'
|
||||
|
||||
|
||||
- name: General | Scripts | Root | push.sh
|
||||
blockinfile:
|
||||
path: "{{ user_root.home }}/bin/push.sh"
|
||||
block: |
|
||||
# 20210215 - Make life even easier!
|
||||
ssh {{ user }}@leet "cd Code/Ansible/ansible-pull; git push"
|
||||
marker: '{mark}'
|
||||
marker_begin: "#!{{ bash_exec.stdout }}"
|
||||
marker_end: "exit 0"
|
||||
state: present
|
||||
create: yes
|
||||
|
||||
- name: General | Scripts | Root | push.sh Permissions
|
||||
file:
|
||||
path: "{{ user_root.home }}/bin/push.sh"
|
||||
mode: '0755'
|
||||
|
||||
|
||||
- name: General | Scripts | Root | scm-dev.sh
|
||||
blockinfile:
|
||||
path: "{{ user_root.home }}/bin/scm-dev.sh"
|
||||
@ -68,28 +50,3 @@
|
||||
file:
|
||||
path: "{{ user_root.home }}/bin/scm-dev.sh"
|
||||
mode: '0755'
|
||||
|
||||
|
||||
- name: General | Scripts | Root | scm-local.sh
|
||||
blockinfile:
|
||||
path: "{{ user_root.home }}/bin/scm-local.sh"
|
||||
block: |
|
||||
# 20220312 - Make life easier for development! Especially when Github can't be reached.
|
||||
|
||||
## Variables ##
|
||||
|
||||
|
||||
## Main ##
|
||||
|
||||
time ansible-playbook /mnt/leet/Code/Ansible/ansible-pull/local.yml
|
||||
|
||||
marker: '{mark}'
|
||||
marker_begin: "#!{{ bash_exec.stdout }}"
|
||||
marker_end: "exit 0"
|
||||
state: present
|
||||
create: yes
|
||||
|
||||
- name: General | Scripts | Root | scm-local.sh Permissions
|
||||
file:
|
||||
path: "{{ user_root.home }}/bin/scm-local.sh"
|
||||
mode: '0755'
|
||||
|
@ -20,24 +20,6 @@
|
||||
mode: '0755'
|
||||
|
||||
|
||||
- name: General | Scripts | User | push.sh
|
||||
blockinfile:
|
||||
path: "{{ user_user.home }}/bin/push.sh"
|
||||
block: |
|
||||
# 20210215 - Make life even easier!
|
||||
ssh {{ user }}@leet "cd Code/Ansible/ansible-pull; git push"
|
||||
marker: '{mark}'
|
||||
marker_begin: "#!{{ bash_exec.stdout }}"
|
||||
marker_end: "exit 0"
|
||||
state: present
|
||||
create: yes
|
||||
|
||||
- name: General | Scripts | User | push.sh Permissions
|
||||
file:
|
||||
path: "{{ user_user.home }}/bin/push.sh"
|
||||
mode: '0755'
|
||||
|
||||
|
||||
- name: General | Scripts | User | scm-dev.sh
|
||||
blockinfile:
|
||||
path: "{{ user_user.home }}/bin/scm-dev.sh"
|
||||
@ -68,28 +50,3 @@
|
||||
file:
|
||||
path: "{{ user_user.home }}/bin/scm-dev.sh"
|
||||
mode: '0755'
|
||||
|
||||
|
||||
- name: General | Scripts | User | scm-local.sh
|
||||
blockinfile:
|
||||
path: "{{ user_user.home }}/bin/scm-local.sh"
|
||||
block: |
|
||||
# 20220312 - Make life easier for development! Especially when Github can't be reached.
|
||||
|
||||
## Variables ##
|
||||
|
||||
|
||||
## Main ##
|
||||
|
||||
time sudo ansible-playbook /mnt/leet/Code/Ansible/ansible-pull/local.yml
|
||||
|
||||
marker: '{mark}'
|
||||
marker_begin: "#!{{ bash_exec.stdout }}"
|
||||
marker_end: "exit 0"
|
||||
state: present
|
||||
create: yes
|
||||
|
||||
- name: General | Scripts | User | scm-local.sh Permissions
|
||||
file:
|
||||
path: "{{ user_user.home }}/bin/scm-local.sh"
|
||||
mode: '0755'
|
||||
|
Reference in New Issue
Block a user