mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
Fix problems with Ansible playbook in vagrant
* `| failed` was (deprecated in Ansible 2.5)[https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_2.5.html#jinja-tests-used-as-filters] and removed in 2.9 * The `python` dpkg alternative doesn't seem to be available by default, but we're only interested in python3 anyway.
This commit is contained in:
parent
0f27c9995a
commit
e872a83d6b
@ -60,7 +60,7 @@
|
||||
file: path={{venv_root}}/websockify-ve3 state=directory owner={{user}}
|
||||
|
||||
#get python3 version for checks below
|
||||
- shell: "python --version"
|
||||
- shell: "python3 --version"
|
||||
register: python_installed
|
||||
|
||||
#websockify's dependency numpy's latest version no longer supports 3.5
|
||||
|
@ -73,4 +73,4 @@
|
||||
user: name={{user}} system=yes createhome=no home=/nonexistent
|
||||
shell=/usr/sbin/nologin
|
||||
become: true
|
||||
when: id_user|failed
|
||||
when: id_user is failed
|
||||
|
Loading…
x
Reference in New Issue
Block a user