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

update dev

This commit is contained in:
L3D 2023-04-02 22:28:43 +02:00
parent 7fa8ce0d2d
commit 5bdfbe274b
7 changed files with 37 additions and 25 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
ansible/

View file

@ -28,6 +28,15 @@ git submodule update --init --recursive
# make sure you always check out the submodules # make sure you always check out the submodules
git config --global submodule.recurse true git config --global submodule.recurse true
# Install Ansible in venv
python3 -m venv ansible
# Activate Venv
source ansible/bin/activate
# Install Ansible
pip3 install ansible-core
``` ```
Which playbook? Which playbook?

View file

@ -12,7 +12,7 @@ env_dict = {
'work': 'work':
['workstation.local', 'daringdoo.local'], ['workstation.local', 'daringdoo.local'],
'private': 'private':
['derpy.local', 'applejack.local'] ['derpy.local', 'applejack.local', 'rarity.local']
} }
def fqdn(): def fqdn():

@ -1 +1 @@
Subproject commit ef4cf763795d61e883b1867f4a3149568d4acb2d Subproject commit 2bf5d7c4369a8213b42829b14f78920e9906d099

@ -1 +1 @@
Subproject commit 1b4d9721d1b6a0d1b0786fd5f46409df11b34d07 Subproject commit b263e5e140ee3c5e868f9392b2e4a2eaa37eaf79

@ -1 +1 @@
Subproject commit 4bf1dbdffe7b675fad8e32286d892d6c5cfe834f Subproject commit 8d330190c4052981bdb146136dc7f41071a66289

View file

@ -7,26 +7,28 @@
- name: run do1jlr.base setup roles - name: run do1jlr.base setup roles
hosts: localhost hosts: localhost
roles: roles:
- {role: do1jlr.base, tags: [default, packages, base]} #- {role: do1jlr.base, tags: [default, packages, base]}
- {role: workstation_packages, tags: [default, workstation_packages, packages, setup]} #- {role: workstation_packages, tags: [default, workstation_packages, packages, setup]}
- {role: ntp, tags: ntp} - {role: ntp, tags: ntp}
- {role: arch-fonts, tags: [font, fonts, arch-fonts]} - {role: do1jlr.avahi_client, tags: avahi}
- {role: do1jlr.avahi_daemon, tags: avahi}
#- {role: arch-fonts, tags: [font, fonts, arch-fonts]}
- name: user specific setup #- name: user specific setup
hosts: localhost # hosts: localhost
roles: # roles:
- {role: dotfiles, tags: [default, dotfiles, fancy]} #- {role: dotfiles, tags: [default, dotfiles, fancy]}
- {role: manage_users, tags: [ssh, manage, manage_users]} #- {role: manage_users, tags: [ssh, manage, manage_users]}
- {role: authorized_keys, tags: [ssh, auth, authorized_keys]} #- {role: authorized_keys, tags: [ssh, auth, authorized_keys]}
- {role: sshd, tags: [ssh, sshd]} #- {role: sshd, tags: [ssh, sshd]}
- {role: akku-warning, tags: [akku, akku_warning, akku-warning]} #- {role: akku-warning, tags: [akku, akku_warning, akku-warning]}
- {role: pulseaudio, tags: pulseaudio} #- {role: pulseaudio, tags: pulseaudio}
- {role: networkmanager, tags: [nm, networkmanager]} #- {role: networkmanager, tags: [nm, networkmanager]}
- {role: copy_files} #- {role: copy_files}
- {role: do1jlr.i3wm, tags: i3wm} #- {role: do1jlr.i3wm, tags: i3wm}
- {role: xrandr, tags: xrandr} # - {role: xrandr, tags: xrandr}
- {role: install-firefox, tags: firefox} #- {role: install-firefox, tags: firefox}
- {role: nextcloud, tags: nextcloud} #- {role: nextcloud, tags: nextcloud}
- {role: openvpn, tags: openvpn} #- {role: openvpn, tags: openvpn}
- {role: winehq, tags: [wine, winehq]} #- {role: winehq, tags: [wine, winehq]}
- {role: no-sleep, tags: no_sleep} #- {role: no-sleep, tags: no_sleep}