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
e64048f3
Commit
e64048f3
authored
Mar 02, 2018
by
Mattia Rizzolo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
common: turn files into templates
Signed-off-by:
Mattia Rizzolo
<
mattia@debian.org
>
parent
e61fc6d3
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
4 additions
and
4 deletions
+4
-4
roles/common/tasks/firewall.yml
roles/common/tasks/firewall.yml
+2
-2
roles/common/tasks/ssh.yml
roles/common/tasks/ssh.yml
+1
-1
roles/common/tasks/users.yml
roles/common/tasks/users.yml
+1
-1
roles/common/templates/firewall/firewall.service
roles/common/templates/firewall/firewall.service
+0
-0
roles/common/templates/firewall/firewall.sh
roles/common/templates/firewall/firewall.sh
+0
-0
roles/common/templates/ssh/sshd_config
roles/common/templates/ssh/sshd_config
+0
-0
roles/common/templates/users/sudoers-passwordless-sudo
roles/common/templates/users/sudoers-passwordless-sudo
+0
-0
No files found.
roles/common/tasks/firewall.yml
View file @
e64048f3
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
-
name
:
upload firewall script
-
name
:
upload firewall script
copy
:
template
:
src
:
firewall/firewall.sh
src
:
firewall/firewall.sh
dest
:
/usr/local/sbin/firewall
dest
:
/usr/local/sbin/firewall
mode
:
0700
mode
:
0700
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
-
name
:
upload firewall service
-
name
:
upload firewall service
copy
:
template
:
src
:
firewall/firewall.service
src
:
firewall/firewall.service
dest
:
/etc/systemd/system/firewall.service
dest
:
/etc/systemd/system/firewall.service
...
...
roles/common/tasks/ssh.yml
View file @
e64048f3
---
---
-
name
:
copy ssh configuration
-
name
:
copy ssh configuration
copy
:
template
:
src
:
ssh/sshd_config
src
:
ssh/sshd_config
dest
:
/etc/ssh/sshd_config
dest
:
/etc/ssh/sshd_config
mode
:
0644
mode
:
0644
...
...
roles/common/tasks/users.yml
View file @
e64048f3
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
-
name
:
allow passwordless-sudo to use sudo
-
name
:
allow passwordless-sudo to use sudo
copy
:
template
:
src
:
users/sudoers-passwordless-sudo
src
:
users/sudoers-passwordless-sudo
dest
:
/etc/sudoers.d/passwordless-sudo
dest
:
/etc/sudoers.d/passwordless-sudo
mode
:
0440
mode
:
0440
roles/common/
fil
es/firewall/firewall.service
→
roles/common/
templat
es/firewall/firewall.service
View file @
e64048f3
File moved
roles/common/
fil
es/firewall/firewall.sh
→
roles/common/
templat
es/firewall/firewall.sh
View file @
e64048f3
File moved
roles/common/
fil
es/ssh/sshd_config
→
roles/common/
templat
es/ssh/sshd_config
View file @
e64048f3
File moved
roles/common/
fil
es/users/sudoers-passwordless-sudo
→
roles/common/
templat
es/users/sudoers-passwordless-sudo
View file @
e64048f3
File moved
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