Skip to content

Commit

Permalink
Moved file from install.yaml to gui/main.yaml
Browse files Browse the repository at this point in the history
improved structure of main
excluded installation of packages and palced it in packages.yaml
  • Loading branch information
Daniel Thielking committed Feb 4, 2017
1 parent 23acb72 commit 81a8a07
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 28 deletions.
31 changes: 31 additions & 0 deletions ansible/gui/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
- hosts: all
become: true

vars:
username: thielking

tasks:

- include: packages.yaml

- name: configure keyboard layout
replace:
dest: /etc/default/keyboard
regexp: '^XKBLAYOUT=".*"'
replace: 'XKBLAYOUT="de"'

- name: "configure autologin for {{ username }}"
template:
src: templates/09_autologin.conf.j2
dest: /usr/share/lightdm/lightdm.conf.d/09_autologin.conf
mode: 0644

- name: start lightdm service
service:
enabled: yes
state: restarted
name: lightdm

- include: create_users.yaml
- include: deploy_dots.yaml
28 changes: 0 additions & 28 deletions ansible/install.yaml

This file was deleted.

0 comments on commit 81a8a07

Please sign in to comment.