mirror of
https://github.com/status-im/infra-role-certbot.git
synced 2025-02-20 14:48:10 +00:00
Attempt to get snap based install working correctly.
This commit is contained in:
parent
56ba6ad847
commit
ea88bfa03c
@ -3,6 +3,7 @@
|
||||
package:
|
||||
name: snapd
|
||||
state: present
|
||||
register: snapd_install
|
||||
|
||||
- name: Ensure snapd is enabled.
|
||||
systemd:
|
||||
@ -15,6 +16,12 @@
|
||||
dest: /snap
|
||||
state: link
|
||||
|
||||
- name: Update snap after install.
|
||||
shell: sudo snap install core; sudo snap refresh core
|
||||
changed_when: true
|
||||
failed_when: false
|
||||
when: snapd_install is changed
|
||||
|
||||
- name: Install certbot via snap.
|
||||
snap:
|
||||
name: certbot
|
||||
|
Loading…
x
Reference in New Issue
Block a user