adding dnf support to phabricator role

This commit is contained in:
Tim Flink 2015-11-23 19:31:33 +00:00
parent 0342c865a5
commit 012d7cb8c5
3 changed files with 32 additions and 2 deletions

View file

@ -1,5 +1,5 @@
- name: ensure packages required for phabricator are installed (fedora)
action: yum name={{ item }} state=latest
- name: ensure packages required for phabricator are installed (yum)
yum: name={{ item }} state=latest enablerepo={{ extra_enablerepos }}
with_items:
- MySQL-python
- git
@ -20,6 +20,31 @@
- libsemanage-python
- libselinux-python
- policycoreutils-python
when: ansible_distribution_major_version|int < 22
- name: ensure packages required for phabricator are installed (dnf)
dnf: name={{ item }} state=latest enablerepo={{ extra_enablerepos }}
with_items:
- MySQL-python
- git
- httpd
- mod_ssl
- php
- php-cli
- php-mysql
- php-process
- php-devel
- php-gd
- php-mbstring
- php-opcache
- python-pygments
- libphutil
- arcanist
- phabricator
- libsemanage-python
- libselinux-python
- policycoreutils-python
when: ansible_distribution_major_version|int > 21 and ansible_cmdline.ostree is not defined
- name: create mariadb user for phabricator
mysql_user: