dotfiles bereinigt (#58)

dotfile vars von pve entfernt

remove playbook angepasst

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#58
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
Michael Grote 2021-04-01 21:51:22 +02:00
parent 2ad3342909
commit 296f5bb646
2 changed files with 31 additions and 11 deletions

View file

@ -2,16 +2,6 @@
### mgrote.apt_install_packages ### mgrote.apt_install_packages
programs_extra: programs_extra:
- ifupdown2 - ifupdown2
### geerlingguy.dotfiles
dotfiles_repo: "https://github.com/quotengrote/dotfiles.git"
dotfiles_repo_local_destination: "/home/mg/dotfiles-repo"
dotfiles_home: "/home/mg"
dotfiles_user: "mg"
dotfiles_repo_accept_hostkey: true
dotfiles_files:
- .bash_aliases
- .tmux.conf
- .gitconfig
### mgrote.smart ### mgrote.smart
smart_smartctlmail_cron_minutes: "15" smart_smartctlmail_cron_minutes: "15"
smart_smartctlmail_cron_hours: "6" smart_smartctlmail_cron_hours: "6"
@ -21,7 +11,6 @@
### mgrote.apcupsd ### mgrote.apcupsd
apcupsd_slave_polltime: 10 #in Sekunden apcupsd_slave_polltime: 10 #in Sekunden
### geerlingguy.munin-node ### geerlingguy.munin-node
### geerlingguy.munin-node
munin_node_bind_host: "0.0.0.0" munin_node_bind_host: "0.0.0.0"
munin_node_bind_port: "4949" munin_node_bind_port: "4949"
munin_node_allowed_cidrs: [192.168.2.0/24] munin_node_allowed_cidrs: [192.168.2.0/24]
@ -60,6 +49,7 @@
- name: cronjobs - name: cronjobs
- name: hddtempd # ersetzt durch hddtemp_smartctl - name: hddtempd # ersetzt durch hddtemp_smartctl
- name: ipmi_power # für pve2, leeres diagramm - name: ipmi_power # für pve2, leeres diagramm
# Ansible Variablen # Ansible Variablen
### sudo ### sudo
sudo: false sudo: false

View file

@ -12,6 +12,11 @@
ansible.builtin.file: ansible.builtin.file:
path: /home/mg/.bash_aliases path: /home/mg/.bash_aliases
state: absent state: absent
- name: delete /home/mg/.vimrc
become: yes
ansible.builtin.file:
path: /home/mg/.vimrc
state: absent
- name: delete /home/mg/.tmux.conf - name: delete /home/mg/.tmux.conf
become: yes become: yes
ansible.builtin.file: ansible.builtin.file:
@ -22,3 +27,28 @@
ansible.builtin.file: ansible.builtin.file:
path: /home/mg/.gitconfig path: /home/mg/.gitconfig
state: absent state: absent
- name: delete /root/dotfiles-repo
become: yes
ansible.builtin.file:
path: /root/dotfiles-repo
state: absent
- name: delete /root/.bash_aliases
become: yes
ansible.builtin.file:
path: /root/.bash_aliases
state: absent
- name: delete /root/.tmux.conf
become: yes
ansible.builtin.file:
path: /root/.tmux.conf
state: absent
- name: delete /root/.gitconfig
become: yes
ansible.builtin.file:
path: /root/.gitconfig
state: absent
- name: delete /root/.vimrc
become: yes
ansible.builtin.file:
path: /root/.vimrc
state: absent