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 @@
...
@@ -7,7 +7,7 @@
become
:
true
become
:
true
apt
:
apt
:
name
:
exuberant-ctags
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
-
name
:
remove old ctags
become
:
true
become
:
true
apt
:
apt
:
...
@@ -15,22 +15,22 @@
...
@@ -15,22 +15,22 @@
state
:
absent
state
:
absent
purge
:
true
purge
:
true
autoremove
:
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
-
name
:
ctags in new Ubuntu and Debian
become
:
true
become
:
true
apt
:
apt
:
name
:
universal-ctags
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
-
name
:
non-focal packages
become
:
true
become
:
true
apt
:
apt
:
name
:
python-setuptools,python-dev,python-pip
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
-
name
:
focal packages
become
:
true
become
:
true
apt
:
apt
:
name
:
python-is-python3
name
:
python-is-python3
when
:
ansible_distribution_
release == 'focal'
when
:
ansible_distribution_
major_version|int >=
20
-
name
:
pve kernel header
-
name
:
pve kernel header
become
:
true
become
:
true
apt
:
apt
:
...
...
tasks/docker.yml
View file @
7922767b
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
become
:
true
become
:
true
apt
:
apt
:
name
:
python-backports-shutil-get-terminal-size,python-backports.ssl-match-hostname
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
-
name
:
clean yum Docker
become
:
true
become
:
true
yum
:
yum
:
...
...
tasks/nvidia.yml
View file @
7922767b
...
@@ -5,11 +5,11 @@
...
@@ -5,11 +5,11 @@
-
name
:
set distribution string
-
name
:
set distribution string
set_fact
:
set_fact
:
container_runtime_distribution_string
:
'
{{
ansible_distribution
|
lower
}}{{
ansible_distribution_version
}}'
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
-
name
:
set distribution string for Ubuntu
20
set_fact
:
set_fact
:
container_runtime_distribution_string
:
'
ubuntu18.04'
container_runtime_distribution_string
:
'
ubuntu18.04'
when
:
ansible_distribution_
release == 'focal'
when
:
ansible_distribution_
major_version|int >=
20
-
name
:
container runtime apt repo
-
name
:
container runtime apt repo
become
:
true
become
:
true
apt_repository
:
apt_repository
:
...
...
tasks/utility.yml
View file @
7922767b
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
state
:
absent
state
:
absent
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_
major_version|int <
20
-
name
:
remove not proper installed wireguard
-
name
:
remove not proper installed wireguard
become
:
true
become
:
true
apt
:
apt
:
...
@@ -108,13 +108,13 @@
...
@@ -108,13 +108,13 @@
state
:
absent
state
:
absent
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_
major_version|int <
20
-
name
:
remove not proper installed wireguard repo
-
name
:
remove not proper installed wireguard repo
become
:
true
become
:
true
file
:
file
:
path
:
'
/etc/apt/sources.list.d/wireguard_ubuntu_wireguard_{{
ansible_distribution_release|lower
}}.list'
path
:
'
/etc/apt/sources.list.d/wireguard_ubuntu_wireguard_{{
ansible_distribution_release|lower
}}.list'
state
:
absent
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
-
name
:
Ubuntu laptop disable lid
become
:
true
become
:
true
blockinfile
:
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