Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
ansible-scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
ansible-scripts
Commits
68525e6f
Commit
68525e6f
authored
Feb 16, 2024
by
Jonas Leder
Browse files
Options
Downloads
Patches
Plain Diff
set mastodon version through env variable
parent
9551851a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
linux/debian/K8S/fix-dns.yml
+4
-4
4 additions, 4 deletions
linux/debian/K8S/fix-dns.yml
linux/debian/mastodon-update.yml
+2
-8
2 additions, 8 deletions
linux/debian/mastodon-update.yml
with
6 additions
and
12 deletions
linux/debian/K8S/fix-dns.yml
+
4
−
4
View file @
68525e6f
-
name
:
fix K8S DNS
-
name
:
fix K8S DNS
hosts
:
all
hosts
:
all
become
:
true
tasks
:
tasks
:
-
name
:
remove old DNS config
-
name
:
remove old DNS config
ansible.builtin.file
:
ansible.builtin.file
:
...
@@ -16,4 +17,3 @@
...
@@ -16,4 +17,3 @@
dest
:
/var/lib/kubelet/kubeadm-flags.env
dest
:
/var/lib/kubelet/kubeadm-flags.env
content
:
|
content
:
|
KUBELET_KUBEADM_ARGS="--container-runtime-endpoint=unix:///var/run/containerd/containerd.sock --pod-infra-container-image=registry.k8s.io/pause:3.9 --resolv-conf=/etc/resolv.conf"
KUBELET_KUBEADM_ARGS="--container-runtime-endpoint=unix:///var/run/containerd/containerd.sock --pod-infra-container-image=registry.k8s.io/pause:3.9 --resolv-conf=/etc/resolv.conf"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
linux/debian/mastodon-update.yml
+
2
−
8
View file @
68525e6f
-
name
:
update mastodon server
-
name
:
update mastodon server
hosts
:
all
hosts
:
all
vars
:
mastodon_version
:
{{
mastodon_version
}}
tasks
:
tasks
:
-
name
:
'
update
packages'
-
name
:
'
update
packages'
apt
:
apt
:
...
@@ -21,14 +23,6 @@
...
@@ -21,14 +23,6 @@
shell
:
|
shell
:
|
cd /home/mastodon/live
cd /home/mastodon/live
git fetch --tags
git fetch --tags
-
name
:
'
determine
latest
mastodon
version'
become
:
yes
become_user
:
mastodon
become_method
:
su
shell
:
|
cd /home/mastodon/live
git describe --tags $(git rev-list --tags --max-count=1)
register
:
mastodon_version
-
name
:
'
update
mastodon'
-
name
:
'
update
mastodon'
become
:
yes
become
:
yes
become_user
:
mastodon
become_user
:
mastodon
...
...
...
...
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