1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_linux_desktop_setup.git synced 2024-09-14 19:54:51 +02:00

Split roles to different modells

This commit is contained in:
Lilian Roller 2019-04-24 09:19:13 +02:00
parent c30e7d1df1
commit f53a1476f2
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
10 changed files with 176 additions and 18 deletions

3
.gitmodules vendored
View file

@ -7,9 +7,6 @@
[submodule "roles/dotfiles"]
path = roles/dotfiles
url = https://github.com/DO1JLR/role_dotfiles.git
[submodule "roles/firefox"]
path = roles/firefox
url = https://github.com/maxbachmann-ansible/role-firefox.git
[submodule "roles/pulseaudio"]
path = roles/pulseaudio
url = https://github.com/DO1JLR/role_pulseaudio_archlinux.git

View file

@ -1,5 +1,5 @@
[defaults]
inventory = ./ansible/hosts
inventory = ./ansible/hosts.ini
retry_files_enabled = False
nocows = True
transport = local

View file

@ -1,2 +0,0 @@
[thinkpad]
t460p ansible_host="localhost" ansible_connection=local

4
ansible/hosts.ini Normal file
View file

@ -0,0 +1,4 @@
[thinkpad]
t460p ansible_host='localhost' ansible_connection='local'
idesk_minni ansible_host='localhost' ansible_connection='local'
l460 ansible_host='localhost' ansible_connection='local'

@ -1 +1 @@
Subproject commit 63951429e0b64674f9fba3f4fa2d278b4a1391d5
Subproject commit 0eb12deab6559ff2fe8c026cb3e1874b49dddedc

View file

@ -1,5 +1,5 @@
---
# flobal user config:
# local user config:
user: l3d
users:
l3d:

@ -1 +0,0 @@
Subproject commit f79d18e4790e7d7c3f530aeee992a4730bba4d17

75
setup_desk_minni.yml Normal file
View file

@ -0,0 +1,75 @@
---
- name: Install useful packages
hosts: desk_minni
tags:
- packages
- updates
- setup
roles:
- workstation_packages
- name: enable and secure sshd
hosts: desk_minni
tags:
- secure
- ssh
- setup
roles:
- authorized_keys
- sshd
- name: Install useful dotfiles
hosts: desk_minni
tags:
- setup
roles:
- dotfiles
- name: set akku warning
hosts: desk_minni
tags:
- setup
- akku
roles:
- akku-warning
- name: install modules for sound and bluetooth
hosts: desk_minni
tags:
- setup
- pulseaudio
- networkmanager
roles:
- pulseaudio
- networkmanager
- name: Install useful packages
hosts: desk_minni
tags:
- packages
- i3wm
roles:
- copy_files
- i3wm
- ntp
- name: install nextcloud-client
hosts: desk_minni
tags:
- setup
- nextcloud
roles:
- nextcloud
- name: install some arch fonts
hosts: desk_minni
tags:
- arch
- font
- fonts
- schrift
roles:
- arch-fonts

View file

@ -1,7 +1,7 @@
---
- name: Install useful packages
hosts: thinkpad
hosts: l460
tags:
- packages
- updates
@ -10,7 +10,7 @@
- workstation_packages
- name: enable and secure sshd
hosts: thinkpad
hosts: l460
tags:
- secure
- ssh
@ -20,14 +20,14 @@
- sshd
- name: Install useful dotfiles
hosts: thinkpad
hosts: l460
tags:
- setup
roles:
- dotfiles
- name: set akku warning
hosts: thinkpad
hosts: l460
tags:
- setup
- akku
@ -36,7 +36,7 @@
- name: install modules for sound and bluetooth
hosts: thinkpad
hosts: l460
tags:
- setup
- pulseaudio
@ -46,7 +46,7 @@
- networkmanager
#- name: improve firefox configuration
# hosts: thinkpad
# hosts: l460
# tags:
# - setup
# - firefox
@ -55,7 +55,7 @@
- name: Install useful packages
hosts: thinkpad
hosts: l460
tags:
- packages
- i3wm
@ -65,7 +65,7 @@
- ntp
- name: install nextcloud-client
hosts: thinkpad
hosts: l460
tags:
- setup
- nextcloud
@ -73,7 +73,7 @@
- nextcloud
- name: install some arch fonts
hosts: thinkpad
hosts: l460
tags:
- arch
- font

85
setup_t460p.yml Normal file
View file

@ -0,0 +1,85 @@
---
- name: Install useful packages
hosts: t460p
tags:
- packages
- updates
- setup
roles:
- workstation_packages
- name: enable and secure sshd
hosts: t460p
tags:
- secure
- ssh
- setup
roles:
- authorized_keys
- sshd
- name: Install useful dotfiles
hosts: t460p
tags:
- setup
roles:
- dotfiles
- name: set akku warning
hosts: t460p
tags:
- setup
- akku
roles:
- akku-warning
- name: install modules for sound and bluetooth
hosts: t460p
tags:
- setup
- pulseaudio
- networkmanager
roles:
- pulseaudio
- networkmanager
#- name: improve firefox configuration
# hosts: t460p
# tags:
# - setup
# - firefox
# roles:
# - firefox
- name: Install useful packages
hosts: t460p
tags:
- packages
- i3wm
roles:
- copy_files
- i3wm
- ntp
- name: install nextcloud-client
hosts: t460p
tags:
- setup
- nextcloud
roles:
- nextcloud
- name: install some arch fonts
hosts: t460p
tags:
- arch
- font
- fonts
- schrift
roles:
- arch-fonts