Skip to content

Update Ansible and Vagrant for Debian 12#279

Closed
insom wants to merge 3 commits intointernetarchive:masterfrom
insom:update-ansible
Closed

Update Ansible and Vagrant for Debian 12#279
insom wants to merge 3 commits intointernetarchive:masterfrom
insom:update-ansible

Conversation

@insom
Copy link
Copy Markdown

@insom insom commented Jun 17, 2024

Ubuntu no longer packages chromium as a .deb, only as a snap. Debian is keeping the .deb dream alive.

I've made the playbook more resilient to path changes with Python versions by using -mvirtualenv instead of executing the module file and using python3 instead of expecting python on the system path to point to the right place.

This proposed PR would lose the ability to archive Adobe Flash as no equivalent is packaged (or would work with a modern Chromium, I think?)

- vnc4server
- libjpeg-turbo8-dev
- chromium
- tigervnc-standalone-server
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vnc4server has a proprietary license so I switched over to tigervnc which is in the main repositories.


- name: ensure service user {{user}} exists
user: name={{user}} system=yes createhome=no home=/nonexistent
user: name={{user}} system=yes createhome=yes home=/home/{{user}}
Copy link
Copy Markdown
Author

@insom insom Jun 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This user does actually have to exist, as {{user}} is used later in the warcproxy playbook. The only reason this didn't error before is because /home/vagrant is created by default by Vagrant itself. (I wasn't running inside Vagrant though, so I hit this).

shell=/usr/sbin/nologin
become: true
when: id_user|failed
when: id_user.rc != 0
Copy link
Copy Markdown
Author

@insom insom Jun 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the style suggested by the Ansible docs, although #218 suggests is failed which is nicer to read? |failed filter definitely does not work any longer.

@insom insom marked this pull request as draft June 17, 2024 15:38
@insom
Copy link
Copy Markdown
Author

insom commented Jun 17, 2024

(converting to draft because it looks like Xvnc is crash looping in this configuration)

@insom insom closed this Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant