Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
deploy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
paradise
deploy
Commits
9c6468fb
There was an error fetching the commit references. Please try again later.
Commit
9c6468fb
authored
4 years ago
by
Vladimír Štill
Browse files
Options
Downloads
Patches
Plain Diff
ansible: Gate updates
parent
1eaca78c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/gate.vstill.cz.yml
+16
-17
16 additions, 17 deletions
ansible/gate.vstill.cz.yml
ansible/roles/raspbian/tasks/main.yml
+26
-0
26 additions, 0 deletions
ansible/roles/raspbian/tasks/main.yml
with
42 additions
and
17 deletions
ansible/gate.vstill.cz.yml
+
16
−
17
View file @
9c6468fb
...
@@ -61,9 +61,13 @@
...
@@ -61,9 +61,13 @@
ipv4
:
192.168.5.35
ipv4
:
192.168.5.35
-
name
:
skund
-
name
:
skund
link
:
FC:AA:14:21:47:BF
link
:
a8:a1:59:54:a9:af
ipv4
:
192.168.5.4
ipv4
:
192.168.5.4
-
name
:
skund-old
link
:
FC:AA:14:21:47:BF
ipv4
:
192.168.5.5
-
name
:
x230
-
name
:
x230
link
:
3C:97:0E:9E:B5:92
link
:
3C:97:0E:9E:B5:92
ipv4
:
192.168.5.35
ipv4
:
192.168.5.35
...
@@ -89,22 +93,8 @@
...
@@ -89,22 +93,8 @@
-
import_role
:
-
import_role
:
name
:
vstill_deb
name
:
vstill_deb
-
name
:
drop the default user
-
import_role
:
user
:
name
:
raspbian
name
:
pi
state
:
absent
-
name
:
enable sshd (it is names just ssh in Raspberry OS)
systemd
:
enabled
:
true
state
:
started
name
:
ssh
-
name
:
reset to use of predictable names for ethernet nics
file
:
path
:
/etc/systemd/network/99-default.link
follow
:
no
state
:
absent
-
name
:
IPv6 setup
-
name
:
IPv6 setup
copy
:
copy
:
...
@@ -286,6 +276,8 @@
...
@@ -286,6 +276,8 @@
apt
:
apt
:
pkg
:
pkg
:
-
easy-rsa
-
easy-rsa
-
gphoto2
-
gphotofs
-
name
:
"
OpenVPN
server
user"
-
name
:
"
OpenVPN
server
user"
user
:
user
:
...
@@ -308,6 +300,13 @@
...
@@ -308,6 +300,13 @@
notify
:
notify
:
-
restart postfix
-
restart postfix
-
name
:
Install NGINX
apt
:
pkg
:
-
nginx
-
python3-certbot-nginx
-
certbot
handlers
:
handlers
:
-
name
:
restart dhcpd
-
name
:
restart dhcpd
service
:
service
:
...
...
This diff is collapsed.
Click to expand it.
ansible/roles/raspbian/tasks/main.yml
0 → 100644
+
26
−
0
View file @
9c6468fb
-
fail
:
msg
:
possibly wrong server?
when
:
ansible_distribution != 'Debian'
-
name
:
drop the default user
user
:
name
:
pi
state
:
absent
-
name
:
enable sshd (it is names just ssh in Raspberry OS)
systemd
:
enabled
:
true
state
:
started
name
:
ssh
-
name
:
reset to use of predictable names for ethernet nics
file
:
path
:
/etc/systemd/network/99-default.link
follow
:
no
state
:
absent
-
name
:
Disable stupid 100 MB file swap
systemd
:
name
:
dphys-swapfile
enabled
:
false
state
:
stopped
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment