Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
11
Merge Requests
11
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
1897b9e8
Commit
1897b9e8
authored
Mar 10, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debian9-gcc-4.9: tolerate apt errors when packages are present
parent
0c03ac2e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
playbook/roles/standalone-shared/tasks/debian9-gcc-4.9.yml
playbook/roles/standalone-shared/tasks/debian9-gcc-4.9.yml
+3
-3
No files found.
playbook/roles/standalone-shared/tasks/debian9-gcc-4.9.yml
View file @
1897b9e8
---
---
-
name
:
Install Debian Jessie repository for Debian 9 for gcc-4.9
-
name
:
Install Debian Jessie repository for Debian 9 for gcc-4.9
apt_repository
:
repo='deb http://ftp.us.debian.org/debian/ jessie main contrib non-free' state=present
update_cache=no
apt_repository
:
repo='deb http://ftp.us.debian.org/debian/ jessie main contrib non-free' state=present
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "9"
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "9"
-
name
:
Update repos for debian
9
-
name
:
Update repos for debian
9
...
@@ -8,11 +8,11 @@
...
@@ -8,11 +8,11 @@
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "9"
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "9"
-
name
:
Install gcc-4.9 on Debian
9
-
name
:
Install gcc-4.9 on Debian
9
apt
:
name=gcc-4.9 state=present
update_cache=yes cache_valid_time=3600
apt
:
name=gcc-4.9 state=present
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "9"
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "9"
-
name
:
Install g++-4.9 on Debian
9
-
name
:
Install g++-4.9 on Debian
9
apt
:
name=g++-4.9 state=present
update_cache=yes cache_valid_time=3600
apt
:
name=g++-4.9 state=present
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "9"
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "9"
-
name
:
Default to cpp-4.9
-
name
:
Default to cpp-4.9
...
...
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