Skip to content

Commit

Permalink
ci: Molecule Test
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobLichterfeld committed Sep 6, 2023
1 parent e96f554 commit f704f99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 19 deletions.
16 changes: 1 addition & 15 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,7 @@
modification_time: preserve
access_time: preserve

- name: Workaround protocol version mismatch -- is your shell clean? - Backup
ansible.builtin.copy:
remote_src: true
src: ~/.bashrc
dest: ~/.bashrc_old
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"
mode: '0644'

- name: Workaround protocol version mismatch -- is your shell clean?
ansible.builtin.file:
path: ~/.bashrc
state: absent

- name: Workaround protocol version mismatch -- is your shell clean?
- name: Install rsync
ansible.builtin.package:
name:
- rsync
Expand Down
7 changes: 3 additions & 4 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@

- name: Splash Screen - copy to device
ansible.posix.synchronize:
src: "splashscreens_to_copy/suspended.png"
src: "files/splashscreens_to_copy/suspended.png"
dest: "/usr/share/remarkable/suspended.png"

- name: Copy templates and templates.json to device
ansible.posix.synchronize:
src: "templates_to_copy/"
src: "files/templates_to_copy/"
dest: "/usr/share/remarkable/templates/"

- name: Restart xochitl
ansible.builtin.raw: systemctl restart xochitl
changed_when: true # avoid lint error: no-changed-when
ansible.builtin.raw: systemctl restart xochitl # noqa: no-changed-when

0 comments on commit f704f99

Please sign in to comment.