adding dnf support to phabricator role
This commit is contained in:
parent
0342c865a5
commit
012d7cb8c5
3 changed files with 32 additions and 2 deletions
|
@ -19,6 +19,9 @@ virt_install_command: /usr/bin/virt-install -n {{ inventory_hostname }} -r {{ me
|
||||||
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none"
|
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none"
|
||||||
--network=bridge=br0,model=virtio --autostart --noautoconsole
|
--network=bridge=br0,model=virtio --autostart --noautoconsole
|
||||||
|
|
||||||
|
# this enables infrastructure-testing repo
|
||||||
|
extra_enablerepos: 'infrastructure-testing'
|
||||||
|
|
||||||
sshd_config: ssh/sshd_config.qa-stg
|
sshd_config: ssh/sshd_config.qa-stg
|
||||||
sshd_port: 222
|
sshd_port: 222
|
||||||
external_hostname: qadevel-stg.cloud.fedoraproject.org
|
external_hostname: qadevel-stg.cloud.fedoraproject.org
|
||||||
|
|
|
@ -14,6 +14,8 @@ freezes: false
|
||||||
|
|
||||||
tcp_ports: [ 80, 222, 443, "{{ buildslave_port }}", 222]
|
tcp_ports: [ 80, 222, 443, "{{ buildslave_port }}", 222]
|
||||||
|
|
||||||
|
extra_enablerepos: ''
|
||||||
|
|
||||||
sshd_port: 222
|
sshd_port: 222
|
||||||
sshd_config: ssh/sshd_config.qadevel
|
sshd_config: ssh/sshd_config.qadevel
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
- name: ensure packages required for phabricator are installed (fedora)
|
- name: ensure packages required for phabricator are installed (yum)
|
||||||
action: yum name={{ item }} state=latest
|
yum: name={{ item }} state=latest enablerepo={{ extra_enablerepos }}
|
||||||
with_items:
|
with_items:
|
||||||
- MySQL-python
|
- MySQL-python
|
||||||
- git
|
- git
|
||||||
|
@ -20,6 +20,31 @@
|
||||||
- libsemanage-python
|
- libsemanage-python
|
||||||
- libselinux-python
|
- libselinux-python
|
||||||
- policycoreutils-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
|
- name: create mariadb user for phabricator
|
||||||
mysql_user:
|
mysql_user:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue