Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Commit 9899e8c

Browse files
committed
Update nginx role to latest version.
1 parent 10908bb commit 9899e8c

File tree

10 files changed

+81
-19
lines changed

10 files changed

+81
-19
lines changed

provisioning/requirements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ roles:
3939
- name: geerlingguy.mysql
4040
version: 3.1.0
4141
- name: geerlingguy.nginx
42-
version: 2.7.0
42+
version: 2.8.0
4343
- name: geerlingguy.nodejs
4444
version: 5.1.1
4545
- name: geerlingguy.php
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are supported funding model platforms
2+
---
3+
github: geerlingguy
4+
patreon: geerlingguy
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Configuration for probot-stale - https://github.com/probot/stale
2+
3+
# Number of days of inactivity before an Issue or Pull Request becomes stale
4+
daysUntilStale: 90
5+
6+
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
7+
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
8+
daysUntilClose: 30
9+
10+
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
11+
onlyLabels: []
12+
13+
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
14+
exemptLabels:
15+
- pinned
16+
- security
17+
- planned
18+
19+
# Set to true to ignore issues in a project (defaults to false)
20+
exemptProjects: false
21+
22+
# Set to true to ignore issues in a milestone (defaults to false)
23+
exemptMilestones: false
24+
25+
# Set to true to ignore issues with an assignee (defaults to false)
26+
exemptAssignees: false
27+
28+
# Label to use when marking as stale
29+
staleLabel: stale
30+
31+
# Limit the number of actions per hour, from 1-30. Default is 30
32+
limitPerRun: 30
33+
34+
pulls:
35+
markComment: |-
36+
This pull request has been marked 'stale' due to lack of recent activity. If there is no further activity, the PR will be closed in another 30 days. Thank you for your contribution!
37+
38+
Please read [this blog post](https://www.jeffgeerling.com/blog/2020/enabling-stale-issue-bot-on-my-github-repositories) to see the reasons why I mark pull requests as stale.
39+
40+
unmarkComment: >-
41+
This pull request is no longer marked for closure.
42+
43+
closeComment: >-
44+
This pull request has been closed due to inactivity. If you feel this is in error, please reopen the pull request or file a new PR with the relevant details.
45+
46+
issues:
47+
markComment: |-
48+
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
49+
50+
Please read [this blog post](https://www.jeffgeerling.com/blog/2020/enabling-stale-issue-bot-on-my-github-repositories) to see the reasons why I mark issues as stale.
51+
52+
unmarkComment: >-
53+
This issue is no longer marked for closure.
54+
55+
closeComment: >-
56+
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

provisioning/roles/geerlingguy.nginx/.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ env:
66
global:
77
- ROLE_NAME: nginx
88
matrix:
9-
- MOLECULE_DISTRO: centos7
9+
- MOLECULE_DISTRO: centos8
10+
- MOLECULE_DISTRO: ubuntu2004
1011
- MOLECULE_DISTRO: ubuntu1804
11-
- MOLECULE_DISTRO: ubuntu1604
12-
- MOLECULE_DISTRO: debian9
12+
- MOLECULE_DISTRO: debian10
1313

1414
install:
1515
# Install test dependencies.
16-
- pip install molecule docker
16+
- pip install molecule yamllint ansible-lint docker
1717

1818
before_script:
1919
# Use actual Ansible Galaxy role name for the project directory.

provisioning/roles/geerlingguy.nginx/meta/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
dependencies: []
33

44
galaxy_info:
5+
role_name: nginx
56
author: geerlingguy
67
description: Nginx installation for Linux, FreeBSD and OpenBSD.
78
company: "Midwestern Mac, LLC"
@@ -12,13 +13,15 @@ galaxy_info:
1213
versions:
1314
- 6
1415
- 7
16+
- 8
1517
- name: Debian
1618
versions:
1719
- all
1820
- name: Ubuntu
1921
versions:
2022
- trusty
2123
- xenial
24+
- focal
2225
- name: Archlinux
2326
versions:
2427
- all

provisioning/roles/geerlingguy.nginx/molecule/default/molecule.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ dependency:
33
name: galaxy
44
driver:
55
name: docker
6-
lint:
7-
name: yamllint
8-
options:
9-
config-file: molecule/default/yaml-lint.yml
6+
lint: |
7+
set -e
8+
yamllint .
9+
ansible-lint
1010
platforms:
1111
- name: instance
1212
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
@@ -17,13 +17,5 @@ platforms:
1717
pre_build_image: true
1818
provisioner:
1919
name: ansible
20-
lint:
21-
name: ansible-lint
2220
playbooks:
23-
converge: ${MOLECULE_PLAYBOOK:-playbook.yml}
24-
scenario:
25-
name: default
26-
verifier:
27-
name: testinfra
28-
lint:
29-
name: flake8
21+
converge: ${MOLECULE_PLAYBOOK:-converge.yml}

provisioning/roles/geerlingguy.nginx/tasks/setup-FreeBSD.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
- name: Update pkg cache.
33
command: pkg update -f
4+
environment:
5+
ASSUME_ALWAYS_YES: "yes"
46
tags: ['skip_ansible_lint']
57

68
- name: Ensure nginx is installed.

provisioning/roles/geerlingguy.nginx/tasks/setup-Ubuntu.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
---
2+
- name: Ensure dirmngr is installed (gnupg dependency).
3+
apt:
4+
name: dirmngr
5+
state: present
6+
27
- name: Add PPA for Nginx.
38
apt_repository:
49
repo: 'ppa:nginx/{{ nginx_ppa_version }}'
@@ -11,5 +16,5 @@
1116
apt:
1217
name: nginx
1318
state: absent
14-
when: nginx_ppa_added.changed
19+
when: nginx_ppa_added is changed
1520
tags: ['skip_ansible_lint']

0 commit comments

Comments
 (0)