Dateien erstellt
This commit is contained in:
parent
dc4589f8bc
commit
0143e262ec
15 changed files with 166 additions and 0 deletions
0
Ansible/ansible.cfg
Normal file
0
Ansible/ansible.cfg
Normal file
38
Ansible/playbook.yaml
Normal file
38
Ansible/playbook.yaml
Normal file
|
@ -0,0 +1,38 @@
|
|||
---
|
||||
- name: Install Container-runtime Podman - misc
|
||||
remote_user: eichehome
|
||||
|
||||
tasks:
|
||||
- name: Install Podman
|
||||
ansible.builtin.package:
|
||||
name: podman
|
||||
state: present
|
||||
|
||||
- name: Install Git
|
||||
ansible.builtin.package:
|
||||
name: git
|
||||
state: present
|
||||
|
||||
- name: Create Directory
|
||||
ansible.builtin.file:
|
||||
path: '/git/Network-Setup'
|
||||
state: directory
|
||||
|
||||
- name: Checkout Git
|
||||
ansible.builtin.git:
|
||||
repo: 'https://git.sp-codes.de/eichehome/Network-Setup'
|
||||
dest: /git/Network-Setup
|
||||
|
||||
- name: Setup wg0
|
||||
ansible.builtin.file:
|
||||
src: '/git/Network-Setup/Systemd/{{ item.src }}'
|
||||
dest: '/etc/systemd/network/{{ item.dest }}'
|
||||
loop:
|
||||
- { src: wg0.netdev, dest: wg0.netdev }
|
||||
- { src: wg0.network, dest: wg0.network }
|
||||
|
||||
- name: Link resolve.conf
|
||||
ansible.builtin.file:
|
||||
src: '/run/systemd/resolve/stub-resolv.conf'
|
||||
dest: '/etc/resolve.conf'
|
||||
state: link
|
0
Ansible/roles/common/files/main.yaml
Normal file
0
Ansible/roles/common/files/main.yaml
Normal file
0
Ansible/roles/common/tasks/main.yaml
Normal file
0
Ansible/roles/common/tasks/main.yaml
Normal file
0
Ansible/roles/common/template/main.yaml
Normal file
0
Ansible/roles/common/template/main.yaml
Normal file
0
Ansible/roles/common/vars/main.yaml
Normal file
0
Ansible/roles/common/vars/main.yaml
Normal file
Loading…
Add table
Add a link
Reference in a new issue