Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
remove update installation as it's bad style
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevel committed Sep 23, 2020
1 parent 5897ec2 commit 3caf6c5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ Don't forget setting SUSE-related variables when deploying SUSE Manager:
scc_mail: [email protected]
```
Ensure having all available system updates installed **before** running the playbook!
## Common issues
Error when running the playbook:
Expand Down
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ galaxy_info:
platforms:
- name: opensuse
versions:
- 15.1
- 15.2
- name: sles
versions:
- 15
Expand Down
9 changes: 9 additions & 0 deletions molecule/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ $ molecule create

**Double-check** the VM settings! Sometimes Molecule doesn't change the CPU count and memory size. The result is a crashing installation.

Also ensure that all available updates have been installed

```shell
$ molecule login --host opensuse-leap15
$ sudo zypper update -y ; exit
$ molecule login --host suma4
$ sudo zypper update -y ; exit
```

Run the Ansible role:

```shell
Expand Down
6 changes: 0 additions & 6 deletions tasks/prepare.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
---
- name: Update system # noqa: 403
zypper:
name: "*"
state: latest
become: true

- name: Install core utilities
zypper:
name: "{{ core_packages }}"
Expand Down

0 comments on commit 3caf6c5

Please sign in to comment.