Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
servers-config
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Sistemisti
servers-config
Commits
14fff797
Commit
14fff797
authored
Mar 02, 2018
by
Mattia Rizzolo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
common: sparkle some {{ansible_managed}} in the templates
Signed-off-by:
Mattia Rizzolo
<
mattia@debian.org
>
parent
c2254309
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
0 deletions
+14
-0
roles/common/templates/firewall/firewall.service
roles/common/templates/firewall/firewall.service
+4
-0
roles/common/templates/firewall/firewall.sh
roles/common/templates/firewall/firewall.sh
+3
-0
roles/common/templates/ssh/sshd_config
roles/common/templates/ssh/sshd_config
+4
-0
roles/common/templates/users/sudoers-passwordless-sudo
roles/common/templates/users/sudoers-passwordless-sudo
+3
-0
No files found.
roles/common/templates/firewall/firewall.service
View file @
14fff797
#
# {{ ansible_managed }}
#
[Unit]
Description=Firewall initialization script
After=network.target
...
...
roles/common/templates/firewall/firewall.sh
View file @
14fff797
#!/bin/bash
#
# {{ ansible_managed }}
#
# Check if ip6tables is supported by the machine
if
which ip6tables
>
/dev/null 2>&1
&&
/sbin/ip6tables
-L
>
/dev/null 2>&1
;
then
...
...
roles/common/templates/ssh/sshd_config
View file @
14fff797
#
# {{ ansible_managed }}
#
Port 22
ListenAddress ::
ListenAddress 0.0.0.0
...
...
roles/common/templates/users/sudoers-passwordless-sudo
View file @
14fff797
#
# {{ ansible_managed }}
#
# Allow the passwordless-sudo group to use sudo without password
%passwordless-sudo ALL=(ALL:ALL) NOPASSWD:ALL
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment