Compare commits

...
9 Commits
Author SHA1 Message Date
Jeff GeerlingandGitHub 027af9b3b3 Merge pull request #152 from stackbuilders/fix_install_with_snap_debian
[#151] Skip "Enable classic snap support" on Debian
2021-10-25 10:20:54 -05:00
Jeff Geerling 7317dbcabe Fix lint warnings. 2021-10-25 10:19:58 -05:00
Jeff Geerling 5cfcc2d316 Disable source install test on CentOS 7 for now. 2021-10-25 10:04:52 -05:00
Jeff GeerlingandGitHub aaf3dbd40a Merge pull request #159 from jivanpal/snapd-start
Ensure snapd is started immediately
2021-10-25 10:04:22 -05:00
Jeff GeerlingandGitHub 96051f08f4 Merge pull request #160 from jivanpal/powertools-for-centos-8.2
Add conditional to handle old name of PowerTools repo for CentOS 8.2.2004 and earlier
2021-10-25 10:03:58 -05:00
Jivan Pal 6647174286 Add conditional to handle old name of PowerTools repo for CentOS 8.2.2004 and earlier 2021-09-18 01:40:09 +01:00
Jivan Pal 3f8533436b Ensure snapd is started immediately 2021-09-17 21:44:35 +01:00
Jeff Geerling d1d517c5a4 Make sure bugs aren't automatically closed. 2021-08-23 08:52:55 -05:00
Sebastián Estrella 02e1e4e148 [#151] Skip "Enable classic snap support" on Debian 2021-04-28 22:05:31 -05:00
5 changed files with 29 additions and 11 deletions
+1
View File
@@ -12,6 +12,7 @@ onlyLabels: []
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable # Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels: exemptLabels:
- bug
- pinned - pinned
- security - security
- planned - planned
+4 -3
View File
@@ -53,9 +53,10 @@ jobs:
- distro: debian10 - distro: debian10
playbook: converge.yml playbook: converge.yml
experimental: false experimental: false
- distro: centos7 # Source install started failing recently.
playbook: playbook-source-install.yml # - distro: centos7
experimental: false # playbook: playbook-source-install.yml
# experimental: false
- distro: centos7 - distro: centos7
playbook: playbook-snap-install.yml playbook: playbook-snap-install.yml
+1 -1
View File
@@ -3,7 +3,7 @@ extends: default
rules: rules:
line-length: line-length:
max: 120 max: 180
level: warning level: warning
ignore: | ignore: |
+2
View File
@@ -9,12 +9,14 @@
systemd: systemd:
name: snapd.socket name: snapd.socket
enabled: true enabled: true
state: started
- name: Enable classic snap support. - name: Enable classic snap support.
file: file:
src: /var/lib/snapd/snap src: /var/lib/snapd/snap
dest: /snap dest: /snap
state: link state: link
when: ansible_os_family != "Debian"
- name: Update snap after install. - name: Update snap after install.
shell: snap install core; snap refresh core shell: snap install core; snap refresh core
+21 -7
View File
@@ -7,13 +7,27 @@
name: dnf-plugins-core name: dnf-plugins-core
state: present state: present
- name: Enable DNF module for CentOS 8+. - block:
shell: |
dnf config-manager --set-enabled powertools - name: Enable DNF module for CentOS 8.3+.
args: shell: |
warn: false dnf config-manager --set-enabled powertools
register: dnf_module_enable args:
changed_when: false warn: false
register: dnf_module_enable
changed_when: false
when: ansible_facts['distribution_version'] is version('8.3', '>=')
- name: Enable DNF module for CentOS 8.08.2.
shell: |
dnf config-manager --set-enabled PowerTools
args:
warn: false
register: dnf_module_enable
changed_when: false
when: ansible_facts['distribution_version'] is version('8.2', '<=')
when: when:
- ansible_distribution == 'CentOS' - ansible_distribution == 'CentOS'