We now build Ruby with jemalloc, set RUBY_CONFIGURE_OPTS
Added needed dependencies to common role
This commit is contained in:
parent
7c2251247a
commit
75d0e0fb45
|
@ -57,5 +57,7 @@
|
||||||
- yarn
|
- yarn
|
||||||
- libidn11-dev
|
- libidn11-dev
|
||||||
- libicu-dev
|
- libicu-dev
|
||||||
|
- libjemalloc1
|
||||||
|
- libjemalloc-dev
|
||||||
- name: Add mastodon system user
|
- name: Add mastodon system user
|
||||||
user: name=mastodon state=present
|
user: name=mastodon state=present
|
||||||
|
|
|
@ -34,5 +34,6 @@
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
environment:
|
environment:
|
||||||
PATH: '/home/mastodon/.rbenv/bin:/home/mastodon/.rbenv/shims:/home/mastodon/.rbenv/plugins/ruby-build/bin:{{ ansible_env.PATH }}'
|
PATH: '/home/mastodon/.rbenv/bin:/home/mastodon/.rbenv/shims:/home/mastodon/.rbenv/plugins/ruby-build/bin:{{ ansible_env.PATH }}'
|
||||||
|
RUBY_CONFIGURE_OPTS: '--with-jemalloc'
|
||||||
become: true
|
become: true
|
||||||
become_user: mastodon
|
become_user: mastodon
|
||||||
|
|
Loading…
Reference in New Issue