Skip to content

Commit

Permalink
clean up and remove defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Allaman committed Sep 11, 2021
1 parent fd3f3c6 commit fd4b1af
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 53 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.0.0] - 2021-09-11

### Changed

- remove default packages ➡ must be set in calling playbook
- remove obsolet/empty folders
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,15 @@ Run `molecule test` to test this role in a docker container

## Role Variables

- NA
- `pip_packages`: a list of all pip packages to be installed

## Dependencies

ansible-role-basic
- ansible-role-language

## Example Playbook

```
---
- name: Playbook
hosts: localhost
connection: local
roles:
- ansible-role-pip
```
See [converge.yml](https://github.com/Allaman/ansible-role-pip/blob/main/molecule/default/converge.yml)

## License

Expand Down
30 changes: 0 additions & 30 deletions defaults/main.yml

This file was deleted.

2 changes: 0 additions & 2 deletions handlers/main.yml

This file was deleted.

2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
galaxy_info:
author: Michael Peter
description: Install packages via pip
description: Install packages via pip as user
company:

# If the issue tracker for your role is not on github, uncomment the
Expand Down
29 changes: 29 additions & 0 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,35 @@
---
- name: Converge
hosts: all
vars:
pip_packages:
- "molecule[docker]"
- aws-shell
- awscli
- flake8
- gita
- gitlabber
- grip
- httpie
- ipython
- jedi
- jupyterlab
- khal
- khard
- matplotlib
- molecule
- mycli
- neovim-remote
- pandas
- python-rofi
- selenium
- s4cmd
- speedtest-cli
- pytest-testinfra
- thefuck
- ueberzug
- yamllint
- vdirsyncer
tasks:
- name: "Include ansible-role-pip"
include_role:
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# tasks file for ansible-role-pip
- name: Install pip packages
pip:
name: "{{ packages }}"
name: "{{ pip_packages }}"
extra_args: --user
state: present
executable: pip
2 changes: 0 additions & 2 deletions tests/inventory

This file was deleted.

5 changes: 0 additions & 5 deletions tests/test.yml

This file was deleted.

2 changes: 0 additions & 2 deletions vars/main.yml

This file was deleted.

0 comments on commit fd4b1af

Please sign in to comment.