mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 04:31:13 +01:00
Excluded configuration files from repository
This commit is contained in:
parent
f7ca120f3c
commit
5fe95e71d3
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1 @@
|
||||
site.retry
|
||||
hosts
|
||||
|
12
README.md
12
README.md
@ -2,15 +2,11 @@
|
||||
## Description
|
||||
Ansible script to manage servers.
|
||||
|
||||
## Setup
|
||||
To use this script execute:
|
||||
``bash
|
||||
ansible-galaxy install kewlfft.aur
|
||||
``
|
||||
|
||||
## Update
|
||||
Follow the best [practices for inventories](https://docs.ansible.com/ansible/2.3/playbooks_best_practices.html) and execute ansible via:
|
||||
|
||||
``bash
|
||||
ansible-playbook -i hosts site.yml
|
||||
ansible-playbook -i ~/your-inventories/inventorie/hosts site.yml
|
||||
``
|
||||
|
||||
## Debug
|
||||
@ -19,6 +15,6 @@ ansible-playbook -i hosts site.yml
|
||||
docker stop $(docker ps -aq); docker rm $(docker ps -aq); docker volume rm $(docker volume ls -q);
|
||||
``
|
||||
|
||||
## topdo
|
||||
## todo
|
||||
- implement smtp
|
||||
- implement administrator mail
|
||||
|
1
host_vars/.gitignore
vendored
1
host_vars/.gitignore
vendored
@ -1 +0,0 @@
|
||||
*.yml
|
@ -2,5 +2,9 @@
|
||||
pacman: name=wireguard-tools state=present
|
||||
|
||||
- name: create /etc/wireguard/wg0.conf
|
||||
template: src={{ inventory_hostname }}.wg0.conf dest=/etc/wireguard/wg0.conf
|
||||
copy:
|
||||
src: "{{ inventory_dir }}/files/{{ inventory_hostname }}/etc/wireguard/wg0.conf"
|
||||
dest: /etc/wireguard/wg0.conf
|
||||
owner: root
|
||||
group: root
|
||||
notify: restart wireguard
|
||||
|
Loading…
Reference in New Issue
Block a user