pull/96/merge
YohanBrun 7 years ago committed by GitHub
commit 1e9d4bf900
  1. 11
      tasks/main.yml

@ -8,6 +8,17 @@
nginx_user: "{{ __nginx_user }}"
when: nginx_user is not defined
- name: Ensure nginx repository is present
apt_key:
url: 'http://nginx.org/keys/nginx_signing.key'
state: 'present'
apt_repository:
repo: 'deb http://nginx.org/packages/debian/ jessie nginx'
state: present
filename: 'nginx'
update_cache: yes
become: yes
# Setup/install tasks.
- include: setup-RedHat.yml
when: ansible_os_family == 'RedHat'