Skip to content

Commit

Permalink
Remove problematic code block.
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-de-bock committed Dec 21, 2023
1 parent 8066dcd commit 48f50f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ In you own GitHub namespace, make the required changes.

I typically do that by cloning the repository (in your namespace) locally:

```
```shell
git clone git@github.com:YOURNAMESPACE/ansible-role-storage.git
```

Expand All @@ -39,19 +39,19 @@ Now you can start to edit on your laptop.

Install [molecule](https://molecule.readthedocs.io/en/stable/) and [Tox](https://tox.readthedocs.io/):

```
```shell
pip install molecule tox ansible-lint docker
```

And run `molecule test`. If you want to test a specific distribution, set `image` and optionally `tag`:

```
```shell
image=centos tag=7 molecule test
```

Once it start to work, you can test multiple version of Ansible:

```
```shell
image=centos tag=7 tox
```

Expand Down
11 changes: 0 additions & 11 deletions tasks/partition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,6 @@
when:
- partition.label is defined

- name: partition | Rescan device
block:
- name: partition | Rescan device
ansible.builtin.lineinfile:
path: "{{ partition.name }}"
line: "1"
rescue:
- name: partition | Inform user
ansible.builtin.debug:
msg: Rescanning causes a freeze, lets continue

- name: partition | Create partitions
community.general.parted:
device: "{{ partition.name }}"
Expand Down

0 comments on commit 48f50f4

Please sign in to comment.