Basic package installation
This commit is contained in:
parent
9050053e48
commit
41a6dddede
5
local.yaml
Normal file
5
local.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
- hosts: localhost
|
||||
gather_facts: yes
|
||||
user: root
|
||||
roles:
|
||||
- odoo
|
||||
41
roles/odoo/tasks/main.yml
Normal file
41
roles/odoo/tasks/main.yml
Normal file
@ -0,0 +1,41 @@
|
||||
---
|
||||
|
||||
- name: Install apt packages
|
||||
apt:
|
||||
name:
|
||||
- build-essential
|
||||
- nginx
|
||||
- python-pip
|
||||
- libpq-dev
|
||||
- libxml2-dev
|
||||
- libxslt1-dev
|
||||
- libsasl2-dev
|
||||
- libldap2-dev
|
||||
- libssl-dev
|
||||
- libjpeg-dev
|
||||
- libfreetype6-dev
|
||||
- zlib1g-dev
|
||||
- zip
|
||||
- unzip
|
||||
- libcups2-dev
|
||||
|
||||
- name: Install python packages
|
||||
pip:
|
||||
name:
|
||||
- pandas
|
||||
- num2words
|
||||
- paramiko
|
||||
- html2text
|
||||
- xlsxwriter
|
||||
- progressbar2
|
||||
- xlrd
|
||||
- GitPython==0.3.2
|
||||
- psycopg2-binary
|
||||
- pycups==1.9.74
|
||||
|
||||
- name: Create odoo user
|
||||
user:
|
||||
name: odoo
|
||||
comment: Odoo 8 user
|
||||
|
||||
|
||||
Reference in New Issue
Block a user