You've already forked ansible-directadmin
* Bring role up to spec (2.5+) and introduce LetsEncrypt support * Add Debian 9 support and fix script args chdir * Use correct schema for travis and use command instead of script * Make use of requirements.txt for build and fix syntax * Got better at reading the docs now * Minor improvements
31 lines
726 B
YAML
31 lines
726 B
YAML
---
|
|
- name: install dependencies for RHEL, Fedora & CentOS
|
|
yum:
|
|
name: "{{ item }}"
|
|
update_cache: yes
|
|
state: present
|
|
with_items:
|
|
- "{{ directadmin_rhel_generic_packages }}"
|
|
|
|
- name: install everywhere but on CentOS7
|
|
yum:
|
|
name: "{{ item }}"
|
|
update_cache: yes
|
|
state: present
|
|
with_items:
|
|
- "{{ directadmin_rhel_packages }}"
|
|
when:
|
|
- ansible_distribution not 'CentOS'
|
|
- ansible_distribution_version is version(7, 'ne')
|
|
|
|
- name: install CentOS 7 specific requirements
|
|
yum:
|
|
name: "{{ item }}"
|
|
update_cache: yes
|
|
state: present
|
|
with_items:
|
|
- "{{ directadmin_centos7_packages }}"
|
|
when:
|
|
- ansible_distribution is 'CentOS'
|
|
- ansible_distribution_version is version(7, '=')
|