Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
init
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
init
Commits
665c2aab
Commit
665c2aab
authored
May 21, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes
parent
9cdc3e03
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
tasks/upgrade.yml
tasks/upgrade.yml
+5
-0
tasks/utility.yml
tasks/utility.yml
+1
-1
No files found.
tasks/upgrade.yml
View file @
665c2aab
...
@@ -23,6 +23,11 @@
...
@@ -23,6 +23,11 @@
chain
:
FORWARD
chain
:
FORWARD
flush
:
true
flush
:
true
when
:
"
ansible_virtualization_role
==
'host'"
when
:
"
ansible_virtualization_role
==
'host'"
-
name
:
install a python alternate to prevent ansible problems
become
:
true
apt
:
name
:
python-is-python3
when
:
ansible_distribution == 'Ubuntu' and upgrade
-
name
:
系统源 重启
-
name
:
系统源 重启
become
:
true
become
:
true
shell
:
reboot
shell
:
reboot
...
...
tasks/utility.yml
View file @
665c2aab
...
@@ -106,7 +106,7 @@
...
@@ -106,7 +106,7 @@
autoremove
:
yes
autoremove
:
yes
purge
:
yes
purge
:
yes
when
:
ansible_distribution == 'Ubuntu' and upgrade and ansible_distribution_release != 'focal'
when
:
ansible_distribution == 'Ubuntu' and upgrade and ansible_distribution_release != 'focal'
-
name
:
remove not proper installed wireguard repo
-
name
:
remove not proper installed wireguard repo
become
:
true
become
:
true
apt_repository
:
apt_repository
:
repo
:
ppa:wireguard/wireguard
repo
:
ppa:wireguard/wireguard
...
...
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