Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint Ansible code #56

Merged
merged 161 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
74f7b7b
Merge tag '2.2' into develop
suhancz Sep 26, 2023
fc0b3a1
Merge branch 'main' into develop
suhancz Oct 1, 2023
50f118b
use offlineimap instead of Dovecot's built-in sync feature
suhancz Oct 1, 2023
1cb66b7
Merge branch 'release/2.3'
suhancz Oct 1, 2023
4c50a96
Merge tag '2.3' into develop
suhancz Oct 1, 2023
fc4d265
fix undeliverable exceptions
suhancz Oct 6, 2023
dd51c8a
Merge remote-tracking branch 'origin/main' into main
suhancz Oct 6, 2023
a19bf8c
Merge branch 'release/2.3.1'
suhancz Oct 6, 2023
7901d98
Merge tag '2.3.1' into develop
suhancz Oct 6, 2023
f8de14c
fix several bugs when installing from scratch
suhancz Oct 14, 2023
ac391fc
restart pdns anyway
suhancz Oct 14, 2023
28e6628
fix sql
suhancz Oct 15, 2023
60d994b
fix DB schema
suhancz Oct 15, 2023
21fd53f
fix sql
suhancz Oct 15, 2023
53c51db
fix typo
suhancz Oct 15, 2023
1ee3042
make sure DynDNS .htaccess is in place
suhancz Oct 15, 2023
c448daf
add missing rescue block
suhancz Oct 15, 2023
22ceb20
fix certificate symlinks
suhancz Oct 15, 2023
1193555
fix certificate symlink
suhancz Oct 15, 2023
759dbc7
shell instead of command
suhancz Oct 15, 2023
d4a3ee3
fix user home reference
suhancz Oct 15, 2023
1e80772
correct fingerprint variable
suhancz Oct 15, 2023
d6a05b0
fix offlineimap package
suhancz Oct 15, 2023
90333e8
fix name translation
suhancz Oct 15, 2023
c655ab3
fix stdout parsing
suhancz Oct 15, 2023
4f2125e
tag specific tasks
suhancz Oct 15, 2023
7df8d91
fix task dependencies
suhancz Oct 15, 2023
64f4d41
fix task dependencies
suhancz Oct 15, 2023
ee72d34
fix task dependencies
suhancz Oct 15, 2023
f50de5e
fix task dependencies
suhancz Oct 15, 2023
1b32807
fix template variable reference
suhancz Oct 15, 2023
b8c8848
clean up debug symbols
suhancz Oct 15, 2023
b2a137c
fix template logic
suhancz Oct 15, 2023
87890bd
imapsync instead of offlineimap
suhancz Oct 15, 2023
75cfa94
cleanup
suhancz Oct 15, 2023
e6d78d7
the loop needs to be inside the called task file for some reason
suhancz Oct 15, 2023
8b6f224
add tag inside the task file, too
suhancz Oct 15, 2023
023bdc3
fix typo
suhancz Oct 15, 2023
b179c14
move passwords to environment variables
suhancz Oct 15, 2023
8cf61c3
move passwords to environment variables
suhancz Oct 15, 2023
f62d0b5
hide passwords
suhancz Oct 15, 2023
db1c12f
hide passwords
suhancz Oct 16, 2023
1cba0d4
fix VPN config permissions
suhancz Oct 16, 2023
3016f39
Merge branch 'hotfix/wireguard_pool_to_hosts'
suhancz Oct 17, 2023
c9b0ca1
Merge tag 'wireguard_pool_to_hosts' into develop
suhancz Oct 17, 2023
2e9c1a0
Merge branch 'release/2.4'
suhancz Oct 17, 2023
872935a
Merge tag '2.4' into develop
suhancz Oct 17, 2023
4550d71
update empty horde schema to 5.2.23-1
suhancz Oct 18, 2023
2813601
add version info
suhancz Oct 18, 2023
fc3428f
don't import if not necessary
suhancz Oct 18, 2023
71b82b9
add version info
suhancz Oct 18, 2023
00ab53d
use fresh database as "schema"
suhancz Oct 18, 2023
92cc589
proper replace
suhancz Oct 18, 2023
793fa75
update schemas
suhancz Oct 18, 2023
40131d5
enable activesync
suhancz Oct 18, 2023
7cc19e7
update schema
suhancz Oct 18, 2023
14c0b45
reset only if requested
suhancz Oct 18, 2023
0b947ae
clean up
suhancz Oct 18, 2023
2856f04
Merge branch 'bugfix/horde-schema' into develop
suhancz Oct 18, 2023
b1b9c4d
Merge branch 'release/2.4.1'
suhancz Oct 18, 2023
6f4b9a4
Merge tag '2.4.1' into develop
suhancz Oct 18, 2023
45215d5
enable ActiveSync outside of schema init
suhancz Oct 19, 2023
636377d
Merge branch 'release/2.4.2'
suhancz Oct 19, 2023
5f8dece
Merge tag '2.4.2' into develop
suhancz Oct 19, 2023
1d39134
install PHP 8.1
suhancz Oct 21, 2023
093b105
sort out dependencies
suhancz Oct 21, 2023
93bb27a
add more tags for easier maintenance
suhancz Oct 21, 2023
c47d151
add perl-CGI for imapsync
suhancz Oct 22, 2023
fe7937c
only install what we explicitly need
suhancz Oct 22, 2023
b65bc1d
enable COPR only if not enabled yet
suhancz Oct 22, 2023
4b185d9
try horde from Cheese repo
suhancz Oct 24, 2023
db35ef2
enable RPM Fusion
suhancz Oct 24, 2023
c4b7649
back to Remi, use an older version of PowerAdmin
suhancz Oct 24, 2023
c0875f6
use releasever, where possible
suhancz Oct 24, 2023
a60454f
fix ElasticSearch version
suhancz Oct 24, 2023
4efe88b
use latest-and-greatest PowerDNS
suhancz Oct 24, 2023
c365335
fully disable php81
suhancz Oct 24, 2023
16ad908
fix PowerDNS repo keys
suhancz Oct 24, 2023
13981d6
use PowerDNS EL repos
suhancz Oct 24, 2023
5742ecc
fix tags to query repolist
suhancz Oct 24, 2023
503c8e7
disable not-in-use PHP versions
suhancz Oct 24, 2023
21d760b
fix user ID
suhancz Oct 25, 2023
aa599af
recursive dedup
suhancz Oct 26, 2023
3fd65db
cron mail notification
suhancz Oct 26, 2023
e76b7ea
move IMAPDedup password to .cron_secrets file
suhancz Oct 26, 2023
81f67f6
fill the perm_templ table
suhancz Oct 26, 2023
aa62e9c
fix lineinfile pattern match
suhancz Oct 26, 2023
3ef72c6
rectify all zones after each DNS record
suhancz Oct 26, 2023
2b8176f
fix tags
suhancz Oct 26, 2023
c7ab236
Merge branch 'release/2.4.3'
suhancz Oct 26, 2023
b1f12b9
Merge tag '2.4.3' into develop
suhancz Oct 26, 2023
73eefc0
Enable Python linting
suhancz Oct 26, 2023
c1df6e9
use offlineimap instead of Dovecot's built-in sync feature
suhancz Oct 1, 2023
b6d2ab2
fix several bugs when installing from scratch
suhancz Oct 14, 2023
78526a5
fix DB schema
suhancz Oct 15, 2023
055875a
fix offlineimap package
suhancz Oct 15, 2023
5d127af
tag specific tasks
suhancz Oct 15, 2023
a70353b
fix template variable reference
suhancz Oct 15, 2023
90c4ddc
imapsync instead of offlineimap
suhancz Oct 15, 2023
8707305
cleanup
suhancz Oct 15, 2023
9d5f97a
don't import if not necessary
suhancz Oct 18, 2023
8527bbc
update schemas
suhancz Oct 18, 2023
46ccc3d
only install what we explicitly need
suhancz Oct 22, 2023
49b3a51
try horde from Cheese repo
suhancz Oct 24, 2023
e756080
enable RPM Fusion
suhancz Oct 24, 2023
5f9d738
back to Remi, use an older version of PowerAdmin
suhancz Oct 24, 2023
932fbc9
use releasever, where possible
suhancz Oct 24, 2023
6e342c9
use offlineimap instead of Dovecot's built-in sync feature
suhancz Oct 1, 2023
a9a6021
fix several bugs when installing from scratch
suhancz Oct 14, 2023
a59c62f
fix DB schema
suhancz Oct 15, 2023
2b0456e
shell instead of command
suhancz Oct 15, 2023
052aa58
fix user home reference
suhancz Oct 15, 2023
ebc93db
correct fingerprint variable
suhancz Oct 15, 2023
a52bd8d
fix offlineimap package
suhancz Oct 15, 2023
abed1eb
fix name translation
suhancz Oct 15, 2023
c6d5e1d
fix stdout parsing
suhancz Oct 15, 2023
48dabd6
tag specific tasks
suhancz Oct 15, 2023
522539b
fix task dependencies
suhancz Oct 15, 2023
23ed6a4
fix task dependencies
suhancz Oct 15, 2023
5db7103
fix template variable reference
suhancz Oct 15, 2023
e8a9966
clean up debug symbols
suhancz Oct 15, 2023
e7761b8
fix template logic
suhancz Oct 15, 2023
b35933f
imapsync instead of offlineimap
suhancz Oct 15, 2023
4369d8d
cleanup
suhancz Oct 15, 2023
def9ff4
don't import if not necessary
suhancz Oct 18, 2023
5d6bc47
update schemas
suhancz Oct 18, 2023
8df8e23
enable activesync
suhancz Oct 18, 2023
f601269
enable ActiveSync outside of schema init
suhancz Oct 19, 2023
d5403f4
only install what we explicitly need
suhancz Oct 22, 2023
1f437bc
try horde from Cheese repo
suhancz Oct 24, 2023
259583c
enable RPM Fusion
suhancz Oct 24, 2023
73986cb
back to Remi, use an older version of PowerAdmin
suhancz Oct 24, 2023
07bf555
use releasever, where possible
suhancz Oct 24, 2023
dafc4a0
fix ElasticSearch version
suhancz Oct 24, 2023
4bd5622
use offlineimap instead of Dovecot's built-in sync feature
suhancz Oct 1, 2023
ef7aa82
fix several bugs when installing from scratch
suhancz Oct 14, 2023
3bea509
fix DB schema
suhancz Oct 15, 2023
5b284ac
fix offlineimap package
suhancz Oct 15, 2023
507dfc3
tag specific tasks
suhancz Oct 15, 2023
551fbe9
fix template variable reference
suhancz Oct 15, 2023
7fdae75
imapsync instead of offlineimap
suhancz Oct 15, 2023
430f2ee
cleanup
suhancz Oct 15, 2023
079f486
don't import if not necessary
suhancz Oct 18, 2023
1ce2580
update schemas
suhancz Oct 18, 2023
8755c63
only install what we explicitly need
suhancz Oct 22, 2023
06ae040
try horde from Cheese repo
suhancz Oct 24, 2023
4af5374
enable RPM Fusion
suhancz Oct 24, 2023
00e3728
back to Remi, use an older version of PowerAdmin
suhancz Oct 24, 2023
0197063
use releasever, where possible
suhancz Oct 24, 2023
c3d69d0
Merge remote-tracking branch 'origin/develop' into develop
suhancz Oct 26, 2023
b2a0a70
Lint Ansible files
suhancz Oct 26, 2023
40de055
fix ElasticSearch version
suhancz Oct 26, 2023
6f1e682
lint Python only if Python files changed
suhancz Oct 26, 2023
28b5db4
fix path match
suhancz Oct 26, 2023
3b23948
add role name
suhancz Oct 26, 2023
566742d
add namespace
suhancz Oct 26, 2023
ddfbc76
Merge remote-tracking branch 'origin/main' into develop
suhancz Oct 26, 2023
c6823ea
add shellcheck
suhancz Oct 26, 2023
88232fa
fix namespace
suhancz Oct 26, 2023
d3030bb
use Super Linter
suhancz Oct 26, 2023
c45f6ac
use underscore
suhancz Oct 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions .github/workflows/devskim.yml

This file was deleted.

65 changes: 65 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
#################################
#################################
## Super Linter GitHub Actions ##
#################################
#################################
name: Lint Code Base

#
# Documentation:
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
#

#############################
# Start the job on all push #
#############################
on:
push:
branches-ignore: [master, main]
# Remove the line above to run when pushing to master
pull_request:
branches: [master, main]

###############
# Set the Job #
###############
jobs:
build:
# Name the Job
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-latest

############################################
# Grant status permission for MULTI_STATUS #
############################################
permissions:
contents: read
packages: read
statuses: write

##################
# Load all steps #
##################
steps:
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper
# list of changed files within `super-linter`
fetch-depth: 0

################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: super-linter/super-linter@v5
env:
VALIDATE_ALL_CODEBASE: false
# Change to 'master' if your main branch differs
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23 changes: 0 additions & 23 deletions .github/workflows/pylint.yml

This file was deleted.

2 changes: 2 additions & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
galaxy_info:
author: Akos Balla
description: Mail server suite on RPM-based distros
role_name: ansible_mailserver
namespace: balla_cloud
company: balla.cloud

# If the issue tracker for your role is not on github, uncomment the
Expand Down