VScode instalace na Debianu
This commit is contained in:
7
roles/linux_config_init/tasks/git.yml
Normal file
7
roles/linux_config_init/tasks/git.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: Get git
|
||||
become: true
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- git
|
||||
state: present
|
||||
@@ -1,11 +1,12 @@
|
||||
---
|
||||
# tasks file for linux_config_init
|
||||
- name: System settings in /etc
|
||||
- name: System settings
|
||||
ansible.builtin.include_tasks: "{{ item }}"
|
||||
loop:
|
||||
# - static_dns.yml
|
||||
- sudoer_no_passwd.yml
|
||||
- hostname_set.yml
|
||||
- git.yml
|
||||
- script_import.yml
|
||||
|
||||
- name: Set Pernament IP
|
||||
ansible.builtin.include_tasks: set_perma_ip.yml
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
---
|
||||
- name: Clone a github repository
|
||||
git:
|
||||
repo: ssh://git@gitea.matous.vondrejka.cz:222/Warezjoe/.bin.git
|
||||
dest: ~/
|
||||
clone: yes
|
||||
update: yes
|
||||
repo: https://gitea.matous.vondrejka.cz/Warezjoe/.bin.git
|
||||
dest: ~/.bin/
|
||||
clone: true
|
||||
update: true
|
||||
|
||||
- name: Run Aliaser
|
||||
ansible.builtin.blockinfile:
|
||||
path: ~/.bashrc
|
||||
block: |
|
||||
source ~/.bin/Aliaser
|
||||
|
||||
- name: Add scripts to PATH
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
---
|
||||
- name: Fedora version fetch
|
||||
shell: |
|
||||
nmcli c | grep ethernet | awk -F '\\s\\s' '{print $1}'
|
||||
register: prefedora_ver
|
||||
|
||||
- name: Delete all old ethernet connections for desktop exept below configured
|
||||
community.general.nmcli:
|
||||
conn_name: '*'
|
||||
|
||||
Reference in New Issue
Block a user