Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
Nounous
Ansible
Commits
6ade2ed7
Verified
Commit
6ade2ed7
authored
5 years ago
by
me5na7qbjqbrp
Browse files
Options
Downloads
Patches
Plain Diff
Add upgrade playbook
parent
a20f645f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
clean_servers.yml
+1
-0
1 addition, 0 deletions
clean_servers.yml
upgrade.yml
+19
-0
19 additions, 0 deletions
upgrade.yml
with
20 additions
and
0 deletions
clean_servers.yml
+
1
−
0
View file @
6ade2ed7
...
...
@@ -30,6 +30,7 @@
-
libmonitoring-plugin-perl
-
snmp
-
nagios-plugins-contrib
-
nagios-nrpe-server
-
python-nagiosplugin
-
python3-nagiosplugin
-
os-prober
# makes grub-install lag
...
...
This diff is collapsed.
Click to expand it.
upgrade.yml
0 → 100644
+
19
−
0
View file @
6ade2ed7
---
# This is a special playbook to upgrade a server, be careful!
-
hosts
:
server,test_vm
tasks
:
-
name
:
Upgrade
apt
:
upgrade
:
dist
update_cache
:
true
register
:
apt_result
retries
:
3
until
:
apt_result is succeeded
-
name
:
Clean unwanted olderstuff
apt
:
autoremove
:
true
purge
:
true
register
:
apt_result
retries
:
3
until
:
apt_result is succeeded
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