|
|
|
|
|
|
|
|
{% if grains.os_family == 'Suse' or grains.os == 'SUSE' %} |
|
|
{% if grains.os_family == 'Suse' or grains.os == 'SUSE' %} |
|
|
nginx_zypp_repo: |
|
|
nginx_zypp_repo: |
|
|
pkgrepo: |
|
|
pkgrepo: |
|
|
|
|
|
- name: server_http |
|
|
{%- if from_opensuse_devel %} |
|
|
{%- if from_opensuse_devel %} |
|
|
- managed |
|
|
- managed |
|
|
{%- else %} |
|
|
|
|
|
- absent |
|
|
|
|
|
{%- endif %} |
|
|
|
|
|
- name: server_http |
|
|
|
|
|
- humanname: server_http |
|
|
- humanname: server_http |
|
|
- baseurl: 'http://download.opensuse.org/repositories/server:/http/{{ grains.osrelease }}/' |
|
|
- baseurl: 'http://download.opensuse.org/repositories/server:/http/{{ grains.osrelease }}/' |
|
|
- enabled: True |
|
|
- enabled: True |
|
|
|
|
|
|
|
|
- gpgcheck: {{ nginx.lookup.gpg_check }} |
|
|
- gpgcheck: {{ nginx.lookup.gpg_check }} |
|
|
- gpgkey: {{ nginx.lookup.gpg_key }} |
|
|
- gpgkey: {{ nginx.lookup.gpg_key }} |
|
|
- gpgautoimport: {{ nginx.lookup.gpg_autoimport }} |
|
|
- gpgautoimport: {{ nginx.lookup.gpg_autoimport }} |
|
|
|
|
|
{%- else %} |
|
|
|
|
|
- absent |
|
|
|
|
|
{%- endif %} |
|
|
- require_in: |
|
|
- require_in: |
|
|
- pkg: nginx_install |
|
|
- pkg: nginx_install |
|
|
- watch_in: |
|
|
- watch_in: |