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
7922767b
Commit
7922767b
authored
Jul 22, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support of ubuntu unstable
parent
c85aeeeb
Pipeline
#4223
failed with stage
in 10 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
tasks/apt.yml
tasks/apt.yml
+5
-5
tasks/docker.yml
tasks/docker.yml
+1
-1
tasks/nvidia.yml
tasks/nvidia.yml
+2
-2
tasks/utility.yml
tasks/utility.yml
+3
-3
No files found.
tasks/apt.yml
View file @
7922767b
...
...
@@ -7,7 +7,7 @@
become
:
true
apt
:
name
:
exuberant-ctags
when
:
ansible_distribution == 'Ubuntu' and ansible_distribution_
release != 'focal'
when
:
ansible_distribution == 'Ubuntu' and ansible_distribution_
major_version|int <
20
-
name
:
remove old ctags
become
:
true
apt
:
...
...
@@ -15,22 +15,22 @@
state
:
absent
purge
:
true
autoremove
:
true
when
:
ansible_distribution == 'Debian' or ansible_distribution_
release == 'focal'
when
:
ansible_distribution == 'Debian' or ansible_distribution_
major_version|int >=
20
-
name
:
ctags in new Ubuntu and Debian
become
:
true
apt
:
name
:
universal-ctags
when
:
ansible_distribution == 'Debian' or ansible_distribution_
release == 'focal'
when
:
ansible_distribution == 'Debian' or ansible_distribution_
major_version|int >=
20
-
name
:
non-focal packages
become
:
true
apt
:
name
:
python-setuptools,python-dev,python-pip
when
:
ansible_distribution_
release != 'focal'
and ansible_distribution_release != 'sid'
when
:
ansible_distribution_
major_version|int < 20
and ansible_distribution_release != 'sid'
-
name
:
focal packages
become
:
true
apt
:
name
:
python-is-python3
when
:
ansible_distribution_
release == 'focal'
when
:
ansible_distribution_
major_version|int >=
20
-
name
:
pve kernel header
become
:
true
apt
:
...
...
tasks/docker.yml
View file @
7922767b
...
...
@@ -44,7 +44,7 @@
become
:
true
apt
:
name
:
python-backports-shutil-get-terminal-size,python-backports.ssl-match-hostname
when
:
ansible_os_family == 'Debian' and ansible_distribution_release != 'sid' and ansible_distribution_
release != 'focal'
when
:
ansible_os_family == 'Debian' and ansible_distribution_release != 'sid' and ansible_distribution_
major_version|int <
20
-
name
:
clean yum Docker
become
:
true
yum
:
...
...
tasks/nvidia.yml
View file @
7922767b
...
...
@@ -5,11 +5,11 @@
-
name
:
set distribution string
set_fact
:
container_runtime_distribution_string
:
'
{{
ansible_distribution
|
lower
}}{{
ansible_distribution_version
}}'
when
:
ansible_distribution_
release != 'focal'
when
:
ansible_distribution_
major_version|int <
20
-
name
:
set distribution string for Ubuntu
20
set_fact
:
container_runtime_distribution_string
:
'
ubuntu18.04'
when
:
ansible_distribution_
release == 'focal'
when
:
ansible_distribution_
major_version|int >=
20
-
name
:
container runtime apt repo
become
:
true
apt_repository
:
...
...
tasks/utility.yml
View file @
7922767b
...
...
@@ -100,7 +100,7 @@
state
:
absent
autoremove
:
yes
purge
:
yes
when
:
ansible_distribution == 'Ubuntu' and upgrade and ansible_distribution_
release != 'focal'
when
:
ansible_distribution == 'Ubuntu' and upgrade and ansible_distribution_
major_version|int <
20
-
name
:
remove not proper installed wireguard
become
:
true
apt
:
...
...
@@ -108,13 +108,13 @@
state
:
absent
autoremove
:
yes
purge
:
yes
when
:
ansible_distribution == 'Ubuntu' and upgrade and ansible_distribution_
release != 'focal'
when
:
ansible_distribution == 'Ubuntu' and upgrade and ansible_distribution_
major_version|int <
20
-
name
:
remove not proper installed wireguard repo
become
:
true
file
:
path
:
'
/etc/apt/sources.list.d/wireguard_ubuntu_wireguard_{{
ansible_distribution_release|lower
}}.list'
state
:
absent
when
:
ansible_distribution == 'Ubuntu' and (upgrade or ansible_distribution_
release == 'focal'
)
when
:
ansible_distribution == 'Ubuntu' and (upgrade or ansible_distribution_
major_version|int >= 20
)
-
name
:
Ubuntu laptop disable lid
become
:
true
blockinfile
:
...
...
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