added additional packages
This commit is contained in:
10
roles/mastodon/tasks/system_setup/base_packages.yml
Normal file
10
roles/mastodon/tasks/system_setup/base_packages.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: mastodon | Install base packages
|
||||||
|
package:
|
||||||
|
name: "{{ item.package }}"
|
||||||
|
update_cache: yes
|
||||||
|
cache_valid_time: 3600
|
||||||
|
state: latest
|
||||||
|
install_recommends: no
|
||||||
|
with_items: "{{ packages1 }}"
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
cache_valid_time: 3600
|
cache_valid_time: 3600
|
||||||
state: latest
|
state: latest
|
||||||
install_recommends: no
|
install_recommends: no
|
||||||
with_items: "{{ packages }}"
|
with_items: "{{ packages2 }}"
|
||||||
|
|
||||||
- name: mastodon | nodejs alternative
|
- name: mastodon | nodejs alternative
|
||||||
alternatives:
|
alternatives:
|
||||||
|
|||||||
@@ -1,6 +1,14 @@
|
|||||||
mastodon_db_login_unix_socket: '/var/run/postgresql'
|
mastodon_db_login_unix_socket: '/var/run/postgresql'
|
||||||
|
|
||||||
packages:
|
packages1:
|
||||||
|
- package: "curl"
|
||||||
|
- package: "wget"
|
||||||
|
- package: "gnupg"
|
||||||
|
- package: "apt-transport-https"
|
||||||
|
- package: "lsb-release"
|
||||||
|
- package: "ca-certificates"
|
||||||
|
|
||||||
|
packages2:
|
||||||
- package: "apt-transport-https"
|
- package: "apt-transport-https"
|
||||||
- package: "autoconf"
|
- package: "autoconf"
|
||||||
- package: "bison"
|
- package: "bison"
|
||||||
@@ -12,17 +20,18 @@ packages:
|
|||||||
- package: "file"
|
- package: "file"
|
||||||
- package: "g++"
|
- package: "g++"
|
||||||
- package: "gcc"
|
- package: "gcc"
|
||||||
- package: "git"
|
- package: "git-core"
|
||||||
- package: "gnupg"
|
- package: "gnupg"
|
||||||
- package: "imagemagick"
|
- package: "imagemagick"
|
||||||
- package: "libffi-dev"
|
- package: "libffi-dev"
|
||||||
- package: "libgdbm-dev"
|
- package: "libgdbm-dev"
|
||||||
- package: "libicu-dev"
|
- package: "libicu-dev"
|
||||||
- package: "libidn11-dev"
|
- package: "libidn11-dev"
|
||||||
|
- package: "libjemalloc-dev"
|
||||||
- package: "libncurses5-dev"
|
- package: "libncurses5-dev"
|
||||||
- package: "libpq-dev"
|
- package: "libpq-dev"
|
||||||
- package: "libprotobuf-dev"
|
- package: "libprotobuf-dev"
|
||||||
- package: "libreadline-dev"
|
- package: "libreadline6-dev"
|
||||||
- package: "libssl-dev"
|
- package: "libssl-dev"
|
||||||
- package: "libxml2-dev"
|
- package: "libxml2-dev"
|
||||||
- package: "libxslt1-dev"
|
- package: "libxslt1-dev"
|
||||||
@@ -31,6 +40,9 @@ packages:
|
|||||||
- package: "nodejs"
|
- package: "nodejs"
|
||||||
- package: "pkg-config"
|
- package: "pkg-config"
|
||||||
- package: "protobuf-compiler"
|
- package: "protobuf-compiler"
|
||||||
|
- package: "redis-server"
|
||||||
|
- package: "redis-tools"
|
||||||
|
- package: "postgresql-contrib"
|
||||||
- package: "sudo"
|
- package: "sudo"
|
||||||
- package: "systemd"
|
- package: "systemd"
|
||||||
- package: "wget"
|
- package: "wget"
|
||||||
|
|||||||
@@ -1,6 +1,14 @@
|
|||||||
mastodon_db_login_unix_socket: '/var/run/postgresql'
|
mastodon_db_login_unix_socket: '/var/run/postgresql'
|
||||||
|
|
||||||
packages:
|
packages1:
|
||||||
|
- package: "curl"
|
||||||
|
- package: "wget"
|
||||||
|
- package: "gnupg"
|
||||||
|
- package: "apt-transport-https"
|
||||||
|
- package: "lsb-release"
|
||||||
|
- package: "ca-certificates"
|
||||||
|
|
||||||
|
packages2:
|
||||||
- package: "apt-transport-https"
|
- package: "apt-transport-https"
|
||||||
- package: "autoconf"
|
- package: "autoconf"
|
||||||
- package: "bison"
|
- package: "bison"
|
||||||
@@ -12,17 +20,18 @@ packages:
|
|||||||
- package: "file"
|
- package: "file"
|
||||||
- package: "g++"
|
- package: "g++"
|
||||||
- package: "gcc"
|
- package: "gcc"
|
||||||
- package: "git"
|
- package: "git-core"
|
||||||
- package: "gnupg"
|
- package: "gnupg"
|
||||||
- package: "imagemagick"
|
- package: "imagemagick"
|
||||||
- package: "libffi-dev"
|
- package: "libffi-dev"
|
||||||
- package: "libgdbm-dev"
|
- package: "libgdbm-dev"
|
||||||
- package: "libicu-dev"
|
- package: "libicu-dev"
|
||||||
- package: "libidn11-dev"
|
- package: "libidn11-dev"
|
||||||
|
- package: "libjemalloc-dev"
|
||||||
- package: "libncurses5-dev"
|
- package: "libncurses5-dev"
|
||||||
- package: "libpq-dev"
|
- package: "libpq-dev"
|
||||||
- package: "libprotobuf-dev"
|
- package: "libprotobuf-dev"
|
||||||
- package: "libreadline-dev"
|
- package: "libreadline6-dev"
|
||||||
- package: "libssl-dev"
|
- package: "libssl-dev"
|
||||||
- package: "libxml2-dev"
|
- package: "libxml2-dev"
|
||||||
- package: "libxslt1-dev"
|
- package: "libxslt1-dev"
|
||||||
@@ -31,6 +40,9 @@ packages:
|
|||||||
- package: "nodejs"
|
- package: "nodejs"
|
||||||
- package: "pkg-config"
|
- package: "pkg-config"
|
||||||
- package: "protobuf-compiler"
|
- package: "protobuf-compiler"
|
||||||
|
- package: "redis-server"
|
||||||
|
- package: "redis-tools"
|
||||||
|
- package: "postgresql-contrib"
|
||||||
- package: "sudo"
|
- package: "sudo"
|
||||||
- package: "systemd"
|
- package: "systemd"
|
||||||
- package: "wget"
|
- package: "wget"
|
||||||
|
|||||||
Reference in New Issue
Block a user