Compare commits

..

No commits in common. "95759ca3631331842e34db3f2742f843c1e95da6" and "48302bf947760f3eee61ae61490f288fd364665a" have entirely different histories.

4 changed files with 4 additions and 32 deletions

View file

@ -6,7 +6,7 @@ call:
ansible_become_pass: "x2305"
ansible_become: true
giga:
ansible_host: 192.168.10.67
ansible_host: 102.168.10.67
ansible_user: giga
ansible_become_pass: "giga"
ansible_become: true

View file

@ -1,6 +0,0 @@
[Unit]
Description=Take a screenshot
[Service]
Type=oneshot
ExecStart=/usr/bin/scrot %h/screenshots/%Y-%m-%d_%H-%M-%S.jpg

View file

@ -1,10 +0,0 @@
[Unit]
Description=Take a screenshot every minute
[Timer]
OnBootSec=1min
OnUnitActiveSec=1min
Persistent=true
[Install]
WantedBy=timers.target

View file

@ -33,7 +33,7 @@
global: yes
state: present
- name: Update apt cache and install Git, unclutter, scrot
- name: Update apt cache and install Git, unclutter
apt:
name: "{{ item }}"
state: present
@ -41,15 +41,6 @@
loop:
- git
- unclutter
- scrot
- name: Make sure ~/screenshots exists
file:
name: "/home/{{ ansible_user }}/screenshots"
state: directory
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"
mode: "0755"
- name: Clone Git repository
become: yes
@ -74,9 +65,7 @@
loop:
- parsifal.service
- unclutter.service
# - x11vnc.service
- screenshot.service
- screenshot.timer
- x11vnc.service
- name: Reload systemd user service
become: yes
@ -96,5 +85,4 @@
loop:
- parsifal
- unclutter
# - x11vnc
- screenshot.timer
- x11vnc