playbooks sortiert (#109)
bugfix laptop in user vars laptop von group zu host vars polybar dependencie playbboks verschoben Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#109 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
parent
08ad1e5e53
commit
451bb91a99
37 changed files with 24 additions and 48 deletions
|
@ -91,6 +91,7 @@
|
|||
servers:
|
||||
- production
|
||||
- test
|
||||
- laptop
|
||||
- username: root
|
||||
password: "{{ lookup('keepass', 'root_linux_password_hash_proxmox', 'password') }}"
|
||||
update_password: on_create
|
||||
|
@ -112,6 +113,7 @@
|
|||
servers:
|
||||
- production
|
||||
- test
|
||||
- laptop
|
||||
### mgrote.apt_install_packages
|
||||
programs_common:
|
||||
- locales
|
||||
|
|
16
playbooks/2_all.yml
Normal file
16
playbooks/2_all.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
- import_playbook: base/apt_sources.yml
|
||||
- import_playbook: base/install_packages.yml
|
||||
- import_playbook: base/unattended_upgrades.yml
|
||||
- import_playbook: base/ntp_client.yml
|
||||
- import_playbook: base/restic.yml
|
||||
- import_playbook: base/users.yml
|
||||
- import_playbook: base/tmux.yml
|
||||
- import_playbook: base/motd.yml
|
||||
- import_playbook: base/dotfiles.yml
|
||||
- import_playbook: base/vim.yml
|
||||
- import_playbook: base/postfix.yml
|
||||
- import_playbook: base/ufw.yml
|
||||
- import_playbook: base/ssh_pass_login.yml
|
||||
- import_playbook: base/f2b.yml
|
||||
- import_playbook: base/monitoring.yml
|
5
playbooks/3_service/laptop.yml
Normal file
5
playbooks/3_service/laptop.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- hosts: laptop
|
||||
roles:
|
||||
- { role: mgrote.i3, tags: "i3", become: true }
|
||||
- { role: mgrote.polybar, tags: "polybar", become: true }
|
|
@ -1,18 +0,0 @@
|
|||
---
|
||||
- hosts: all
|
||||
gather_facts: false
|
||||
- import_playbook: 84_apt_sources.yml
|
||||
- import_playbook: 85_install_packages.yml
|
||||
- import_playbook: 86_unattended_upgrades.yml
|
||||
- import_playbook: 87_ntp_client.yml
|
||||
- import_playbook: 88_restic.yml
|
||||
- import_playbook: 89_users.yml
|
||||
- import_playbook: 90_tmux.yml
|
||||
- import_playbook: 91_motd.yml
|
||||
- import_playbook: 92_dotfiles.yml
|
||||
- import_playbook: 83_vim.yml
|
||||
- import_playbook: 93_postfix.yml
|
||||
- import_playbook: 94_ufw.yml
|
||||
- import_playbook: 95_ssh_pass_login.yml
|
||||
- import_playbook: 96_f2b.yml
|
||||
- import_playbook: 97_monitoring.yml
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
- hosts: all
|
||||
gather_facts: false
|
||||
- import_playbook: 1_bootstrap.yml
|
||||
- import_playbook: 0_master.yml
|
||||
- import_playbook: 98_update_packages.yml
|
|
@ -1,16 +0,0 @@
|
|||
---
|
||||
- hosts: laptop
|
||||
gather_facts: false
|
||||
- import_playbook: ../base/85_install_packages.yml
|
||||
- import_playbook: ../base/88_restic.yml
|
||||
- import_playbook: ../base/89_users.yml
|
||||
- import_playbook: ../base/90_tmux.yml
|
||||
- import_playbook: ../base/91_motd.yml
|
||||
- import_playbook: ../base/92_dotfiles.yml
|
||||
- import_playbook: ../base/93_postfix.yml
|
||||
- import_playbook: ../base/94_ufw.yml
|
||||
- import_playbook: ../base/95_ssh_pass_login.yml
|
||||
- import_playbook: ../base/96_f2b.yml
|
||||
- import_playbook: ../base/83_vim.yml
|
||||
- import_playbook: i3.yml
|
||||
- import_playbook: polybar.yml
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
- hosts: laptop
|
||||
roles:
|
||||
- { role: mgrote.i3, tags: "i3", become: true }
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
- hosts: laptop
|
||||
roles:
|
||||
- { role: mgrote.polybar, tags: "polybar", become: true }
|
|
@ -4,6 +4,7 @@
|
|||
ansible.builtin.package:
|
||||
name:
|
||||
- polybar
|
||||
- lm-sensors
|
||||
state: present
|
||||
|
||||
- name: checkout siji font
|
||||
|
|
Loading…
Reference in a new issue