diff --git a/README.md b/README.md index 6750bbe..5bf56bd 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,9 @@ This playbook assumes a standard **Raspberry Pi OS Lite** image has been install To invoke the playbook make sure you have updated the `inv.yml` for your needs, then run as follows: ```bash # Run against all hosts (-kK is to ask for the SSH/SUDO Password) -ansible-playbook -i inv.yml setup-screen.yml -kK +ansible-playbook -i inv.yml screen-setup.yml -kK # Run against limited hosts -ansible-playbook -i inv.yml setup-screen.yml -kK -l *host* +ansible-playbook -i inv.yml screen-setup.yml -kK -l *host* ``` diff --git a/screen-setup.yml b/screen-setup.yml index 8d41bd0..a480b28 100644 --- a/screen-setup.yml +++ b/screen-setup.yml @@ -8,7 +8,7 @@ cache_valid_time: 3600 - name: Install Needed Packages - apt: name={{item}} state=installed + apt: name={{item}} state=latest with_items: - vim - sudo @@ -17,6 +17,7 @@ - openbox - lightdm - unclutter + - ca-certificates - name: lightdm config copy: src=files/lightdm.conf dest=/etc/lightdm/lightdm.conf @@ -30,7 +31,7 @@ file: path=/home/screen-user/.config/openbox state=directory group=screen-user owner=screen-user recurse=yes - name: screen-user openbox config - copy: src=template/openbox-autostart.j2 dest=/home/screen-user/.config/openbox/autostart + template: src=template/openbox-autostart.j2 dest=/home/screen-user/.config/openbox/autostart notify: - restart host